diff --git a/java-network-management/README.md b/java-network-management/README.md
index 349ad47e7bf2..27db86066aa9 100644
--- a/java-network-management/README.md
+++ b/java-network-management/README.md
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
+ * A forwarding rule and its corresponding IP address represent the frontend + * configuration of a Google Cloud load balancer. Forwarding rules are also + * used for protocol forwarding, Private Service Connect and other network + * services to provide forwarding information in the control plane. Format: + * projects/{project}/global/forwardingRules/{id} or + * projects/{project}/regions/{region}/forwardingRules/{id} + *+ * + *
string forwarding_rule = 13;
+ *
+ * @return The forwardingRule.
+ */
+ @java.lang.Override
+ public java.lang.String getForwardingRule() {
+ java.lang.Object ref = forwardingRule_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ forwardingRule_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * A forwarding rule and its corresponding IP address represent the frontend + * configuration of a Google Cloud load balancer. Forwarding rules are also + * used for protocol forwarding, Private Service Connect and other network + * services to provide forwarding information in the control plane. Format: + * projects/{project}/global/forwardingRules/{id} or + * projects/{project}/regions/{region}/forwardingRules/{id} + *+ * + *
string forwarding_rule = 13;
+ *
+ * @return The bytes for forwardingRule.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getForwardingRuleBytes() {
+ java.lang.Object ref = forwardingRule_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ forwardingRule_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
public static final int GKE_MASTER_CLUSTER_FIELD_NUMBER = 7;
@SuppressWarnings("serial")
@@ -662,6 +724,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cloudSqlInstance_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, cloudSqlInstance_);
}
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(forwardingRule_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 13, forwardingRule_);
+ }
getUnknownFields().writeTo(output);
}
@@ -697,6 +762,9 @@ public int getSerializedSize() {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cloudSqlInstance_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, cloudSqlInstance_);
}
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(forwardingRule_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, forwardingRule_);
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -716,6 +784,7 @@ public boolean equals(final java.lang.Object obj) {
if (!getIpAddress().equals(other.getIpAddress())) return false;
if (getPort() != other.getPort()) return false;
if (!getInstance().equals(other.getInstance())) return false;
+ if (!getForwardingRule().equals(other.getForwardingRule())) return false;
if (!getGkeMasterCluster().equals(other.getGkeMasterCluster())) return false;
if (!getCloudSqlInstance().equals(other.getCloudSqlInstance())) return false;
if (!getNetwork().equals(other.getNetwork())) return false;
@@ -738,6 +807,8 @@ public int hashCode() {
hash = (53 * hash) + getPort();
hash = (37 * hash) + INSTANCE_FIELD_NUMBER;
hash = (53 * hash) + getInstance().hashCode();
+ hash = (37 * hash) + FORWARDING_RULE_FIELD_NUMBER;
+ hash = (53 * hash) + getForwardingRule().hashCode();
hash = (37 * hash) + GKE_MASTER_CLUSTER_FIELD_NUMBER;
hash = (53 * hash) + getGkeMasterCluster().hashCode();
hash = (37 * hash) + CLOUD_SQL_INSTANCE_FIELD_NUMBER;
@@ -890,6 +961,7 @@ public Builder clear() {
ipAddress_ = "";
port_ = 0;
instance_ = "";
+ forwardingRule_ = "";
gkeMasterCluster_ = "";
cloudSqlInstance_ = "";
network_ = "";
@@ -941,18 +1013,21 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.Endpoint result
result.instance_ = instance_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
- result.gkeMasterCluster_ = gkeMasterCluster_;
+ result.forwardingRule_ = forwardingRule_;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
- result.cloudSqlInstance_ = cloudSqlInstance_;
+ result.gkeMasterCluster_ = gkeMasterCluster_;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
- result.network_ = network_;
+ result.cloudSqlInstance_ = cloudSqlInstance_;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
- result.networkType_ = networkType_;
+ result.network_ = network_;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
+ result.networkType_ = networkType_;
+ }
+ if (((from_bitField0_ & 0x00000100) != 0)) {
result.projectId_ = projectId_;
}
}
@@ -1015,19 +1090,24 @@ public Builder mergeFrom(com.google.cloud.networkmanagement.v1.Endpoint other) {
bitField0_ |= 0x00000004;
onChanged();
}
+ if (!other.getForwardingRule().isEmpty()) {
+ forwardingRule_ = other.forwardingRule_;
+ bitField0_ |= 0x00000008;
+ onChanged();
+ }
if (!other.getGkeMasterCluster().isEmpty()) {
gkeMasterCluster_ = other.gkeMasterCluster_;
- bitField0_ |= 0x00000008;
+ bitField0_ |= 0x00000010;
onChanged();
}
if (!other.getCloudSqlInstance().isEmpty()) {
cloudSqlInstance_ = other.cloudSqlInstance_;
- bitField0_ |= 0x00000010;
+ bitField0_ |= 0x00000020;
onChanged();
}
if (!other.getNetwork().isEmpty()) {
network_ = other.network_;
- bitField0_ |= 0x00000020;
+ bitField0_ |= 0x00000040;
onChanged();
}
if (other.networkType_ != 0) {
@@ -1035,7 +1115,7 @@ public Builder mergeFrom(com.google.cloud.networkmanagement.v1.Endpoint other) {
}
if (!other.getProjectId().isEmpty()) {
projectId_ = other.projectId_;
- bitField0_ |= 0x00000080;
+ bitField0_ |= 0x00000100;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -1085,33 +1165,39 @@ public Builder mergeFrom(
case 34:
{
network_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000020;
+ bitField0_ |= 0x00000040;
break;
} // case 34
case 40:
{
networkType_ = input.readEnum();
- bitField0_ |= 0x00000040;
+ bitField0_ |= 0x00000080;
break;
} // case 40
case 50:
{
projectId_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000080;
+ bitField0_ |= 0x00000100;
break;
} // case 50
case 58:
{
gkeMasterCluster_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000008;
+ bitField0_ |= 0x00000010;
break;
} // case 58
case 66:
{
cloudSqlInstance_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000010;
+ bitField0_ |= 0x00000020;
break;
} // case 66
+ case 106:
+ {
+ forwardingRule_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000008;
+ break;
+ } // case 106
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -1409,6 +1495,137 @@ public Builder setInstanceBytes(com.google.protobuf.ByteString value) {
return this;
}
+ private java.lang.Object forwardingRule_ = "";
+ /**
+ *
+ *
+ * + * A forwarding rule and its corresponding IP address represent the frontend + * configuration of a Google Cloud load balancer. Forwarding rules are also + * used for protocol forwarding, Private Service Connect and other network + * services to provide forwarding information in the control plane. Format: + * projects/{project}/global/forwardingRules/{id} or + * projects/{project}/regions/{region}/forwardingRules/{id} + *+ * + *
string forwarding_rule = 13;
+ *
+ * @return The forwardingRule.
+ */
+ public java.lang.String getForwardingRule() {
+ java.lang.Object ref = forwardingRule_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ forwardingRule_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * A forwarding rule and its corresponding IP address represent the frontend + * configuration of a Google Cloud load balancer. Forwarding rules are also + * used for protocol forwarding, Private Service Connect and other network + * services to provide forwarding information in the control plane. Format: + * projects/{project}/global/forwardingRules/{id} or + * projects/{project}/regions/{region}/forwardingRules/{id} + *+ * + *
string forwarding_rule = 13;
+ *
+ * @return The bytes for forwardingRule.
+ */
+ public com.google.protobuf.ByteString getForwardingRuleBytes() {
+ java.lang.Object ref = forwardingRule_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ forwardingRule_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * A forwarding rule and its corresponding IP address represent the frontend + * configuration of a Google Cloud load balancer. Forwarding rules are also + * used for protocol forwarding, Private Service Connect and other network + * services to provide forwarding information in the control plane. Format: + * projects/{project}/global/forwardingRules/{id} or + * projects/{project}/regions/{region}/forwardingRules/{id} + *+ * + *
string forwarding_rule = 13;
+ *
+ * @param value The forwardingRule to set.
+ * @return This builder for chaining.
+ */
+ public Builder setForwardingRule(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ forwardingRule_ = value;
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * A forwarding rule and its corresponding IP address represent the frontend + * configuration of a Google Cloud load balancer. Forwarding rules are also + * used for protocol forwarding, Private Service Connect and other network + * services to provide forwarding information in the control plane. Format: + * projects/{project}/global/forwardingRules/{id} or + * projects/{project}/regions/{region}/forwardingRules/{id} + *+ * + *
string forwarding_rule = 13;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearForwardingRule() {
+ forwardingRule_ = getDefaultInstance().getForwardingRule();
+ bitField0_ = (bitField0_ & ~0x00000008);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * A forwarding rule and its corresponding IP address represent the frontend + * configuration of a Google Cloud load balancer. Forwarding rules are also + * used for protocol forwarding, Private Service Connect and other network + * services to provide forwarding information in the control plane. Format: + * projects/{project}/global/forwardingRules/{id} or + * projects/{project}/regions/{region}/forwardingRules/{id} + *+ * + *
string forwarding_rule = 13;
+ *
+ * @param value The bytes for forwardingRule to set.
+ * @return This builder for chaining.
+ */
+ public Builder setForwardingRuleBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ forwardingRule_ = value;
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+
private java.lang.Object gkeMasterCluster_ = "";
/**
*
@@ -1474,7 +1691,7 @@ public Builder setGkeMasterCluster(java.lang.String value) {
throw new NullPointerException();
}
gkeMasterCluster_ = value;
- bitField0_ |= 0x00000008;
+ bitField0_ |= 0x00000010;
onChanged();
return this;
}
@@ -1492,7 +1709,7 @@ public Builder setGkeMasterCluster(java.lang.String value) {
*/
public Builder clearGkeMasterCluster() {
gkeMasterCluster_ = getDefaultInstance().getGkeMasterCluster();
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
@@ -1515,7 +1732,7 @@ public Builder setGkeMasterClusterBytes(com.google.protobuf.ByteString value) {
}
checkByteStringIsUtf8(value);
gkeMasterCluster_ = value;
- bitField0_ |= 0x00000008;
+ bitField0_ |= 0x00000010;
onChanged();
return this;
}
@@ -1582,7 +1799,7 @@ public Builder setCloudSqlInstance(java.lang.String value) {
throw new NullPointerException();
}
cloudSqlInstance_ = value;
- bitField0_ |= 0x00000010;
+ bitField0_ |= 0x00000020;
onChanged();
return this;
}
@@ -1599,7 +1816,7 @@ public Builder setCloudSqlInstance(java.lang.String value) {
*/
public Builder clearCloudSqlInstance() {
cloudSqlInstance_ = getDefaultInstance().getCloudSqlInstance();
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
return this;
}
@@ -1621,7 +1838,7 @@ public Builder setCloudSqlInstanceBytes(com.google.protobuf.ByteString value) {
}
checkByteStringIsUtf8(value);
cloudSqlInstance_ = value;
- bitField0_ |= 0x00000010;
+ bitField0_ |= 0x00000020;
onChanged();
return this;
}
@@ -1688,7 +1905,7 @@ public Builder setNetwork(java.lang.String value) {
throw new NullPointerException();
}
network_ = value;
- bitField0_ |= 0x00000020;
+ bitField0_ |= 0x00000040;
onChanged();
return this;
}
@@ -1705,7 +1922,7 @@ public Builder setNetwork(java.lang.String value) {
*/
public Builder clearNetwork() {
network_ = getDefaultInstance().getNetwork();
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
return this;
}
@@ -1727,7 +1944,7 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) {
}
checkByteStringIsUtf8(value);
network_ = value;
- bitField0_ |= 0x00000020;
+ bitField0_ |= 0x00000040;
onChanged();
return this;
}
@@ -1766,7 +1983,7 @@ public int getNetworkTypeValue() {
*/
public Builder setNetworkTypeValue(int value) {
networkType_ = value;
- bitField0_ |= 0x00000040;
+ bitField0_ |= 0x00000080;
onChanged();
return this;
}
@@ -1810,7 +2027,7 @@ public Builder setNetworkType(
if (value == null) {
throw new NullPointerException();
}
- bitField0_ |= 0x00000040;
+ bitField0_ |= 0x00000080;
networkType_ = value.getNumber();
onChanged();
return this;
@@ -1829,7 +2046,7 @@ public Builder setNetworkType(
* @return This builder for chaining.
*/
public Builder clearNetworkType() {
- bitField0_ = (bitField0_ & ~0x00000040);
+ bitField0_ = (bitField0_ & ~0x00000080);
networkType_ = 0;
onChanged();
return this;
@@ -1921,7 +2138,7 @@ public Builder setProjectId(java.lang.String value) {
throw new NullPointerException();
}
projectId_ = value;
- bitField0_ |= 0x00000080;
+ bitField0_ |= 0x00000100;
onChanged();
return this;
}
@@ -1946,7 +2163,7 @@ public Builder setProjectId(java.lang.String value) {
*/
public Builder clearProjectId() {
projectId_ = getDefaultInstance().getProjectId();
- bitField0_ = (bitField0_ & ~0x00000080);
+ bitField0_ = (bitField0_ & ~0x00000100);
onChanged();
return this;
}
@@ -1976,7 +2193,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
}
checkByteStringIsUtf8(value);
projectId_ = value;
- bitField0_ |= 0x00000080;
+ bitField0_ |= 0x00000100;
onChanged();
return this;
}
diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/EndpointOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/EndpointOrBuilder.java
index 920f1b60f465..3a582569b1b9 100644
--- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/EndpointOrBuilder.java
+++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/EndpointOrBuilder.java
@@ -91,6 +91,41 @@ public interface EndpointOrBuilder
*/
com.google.protobuf.ByteString getInstanceBytes();
+ /**
+ *
+ *
+ * + * A forwarding rule and its corresponding IP address represent the frontend + * configuration of a Google Cloud load balancer. Forwarding rules are also + * used for protocol forwarding, Private Service Connect and other network + * services to provide forwarding information in the control plane. Format: + * projects/{project}/global/forwardingRules/{id} or + * projects/{project}/regions/{region}/forwardingRules/{id} + *+ * + *
string forwarding_rule = 13;
+ *
+ * @return The forwardingRule.
+ */
+ java.lang.String getForwardingRule();
+ /**
+ *
+ *
+ * + * A forwarding rule and its corresponding IP address represent the frontend + * configuration of a Google Cloud load balancer. Forwarding rules are also + * used for protocol forwarding, Private Service Connect and other network + * services to provide forwarding information in the control plane. Format: + * projects/{project}/global/forwardingRules/{id} or + * projects/{project}/regions/{region}/forwardingRules/{id} + *+ * + *
string forwarding_rule = 13;
+ *
+ * @return The bytes for forwardingRule.
+ */
+ com.google.protobuf.ByteString getForwardingRuleBytes();
+
/**
*
*
diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/TestOuterClass.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/TestOuterClass.java
index a1fbc4a270db..a12a9b3b610b 100644
--- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/TestOuterClass.java
+++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/TestOuterClass.java
@@ -76,30 +76,31 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:t\352Aq\n1networkmana"
+ "gement.googleapis.com/ConnectivityTest\022<"
+ "projects/{project}/locations/global/conn"
- + "ectivityTests/{test}\"\275\002\n\010Endpoint\022\022\n\nip_"
+ + "ectivityTests/{test}\"\326\002\n\010Endpoint\022\022\n\nip_"
+ "address\030\001 \001(\t\022\014\n\004port\030\002 \001(\005\022\020\n\010instance\030"
- + "\003 \001(\t\022\032\n\022gke_master_cluster\030\007 \001(\t\022\032\n\022clo"
- + "ud_sql_instance\030\010 \001(\t\022\017\n\007network\030\004 \001(\t\022M"
- + "\n\014network_type\030\005 \001(\01627.google.cloud.netw"
- + "orkmanagement.v1.Endpoint.NetworkType\022\022\n"
- + "\nproject_id\030\006 \001(\t\"Q\n\013NetworkType\022\034\n\030NETW"
- + "ORK_TYPE_UNSPECIFIED\020\000\022\017\n\013GCP_NETWORK\020\001\022"
- + "\023\n\017NON_GCP_NETWORK\020\002\"\325\002\n\023ReachabilityDet"
- + "ails\022M\n\006result\030\001 \001(\0162=.google.cloud.netw"
- + "orkmanagement.v1.ReachabilityDetails.Res"
- + "ult\022/\n\013verify_time\030\002 \001(\0132\032.google.protob"
- + "uf.Timestamp\022!\n\005error\030\003 \001(\0132\022.google.rpc"
- + ".Status\0228\n\006traces\030\005 \003(\0132(.google.cloud.n"
- + "etworkmanagement.v1.Trace\"a\n\006Result\022\026\n\022R"
- + "ESULT_UNSPECIFIED\020\000\022\r\n\tREACHABLE\020\001\022\017\n\013UN"
- + "REACHABLE\020\002\022\r\n\tAMBIGUOUS\020\004\022\020\n\014UNDETERMIN"
- + "ED\020\005B\375\001\n%com.google.cloud.networkmanagem"
- + "ent.v1B\016TestOuterClassP\001ZScloud.google.c"
- + "om/go/networkmanagement/apiv1/networkman"
- + "agementpb;networkmanagementpb\252\002!Google.C"
- + "loud.NetworkManagement.V1\312\002!Google\\Cloud"
- + "\\NetworkManagement\\V1\352\002$Google::Cloud::N"
- + "etworkManagement::V1b\006proto3"
+ + "\003 \001(\t\022\027\n\017forwarding_rule\030\r \001(\t\022\032\n\022gke_ma"
+ + "ster_cluster\030\007 \001(\t\022\032\n\022cloud_sql_instance"
+ + "\030\010 \001(\t\022\017\n\007network\030\004 \001(\t\022M\n\014network_type\030"
+ + "\005 \001(\01627.google.cloud.networkmanagement.v"
+ + "1.Endpoint.NetworkType\022\022\n\nproject_id\030\006 \001"
+ + "(\t\"Q\n\013NetworkType\022\034\n\030NETWORK_TYPE_UNSPEC"
+ + "IFIED\020\000\022\017\n\013GCP_NETWORK\020\001\022\023\n\017NON_GCP_NETW"
+ + "ORK\020\002\"\325\002\n\023ReachabilityDetails\022M\n\006result\030"
+ + "\001 \001(\0162=.google.cloud.networkmanagement.v"
+ + "1.ReachabilityDetails.Result\022/\n\013verify_t"
+ + "ime\030\002 \001(\0132\032.google.protobuf.Timestamp\022!\n"
+ + "\005error\030\003 \001(\0132\022.google.rpc.Status\0228\n\006trac"
+ + "es\030\005 \003(\0132(.google.cloud.networkmanagemen"
+ + "t.v1.Trace\"a\n\006Result\022\026\n\022RESULT_UNSPECIFI"
+ + "ED\020\000\022\r\n\tREACHABLE\020\001\022\017\n\013UNREACHABLE\020\002\022\r\n\t"
+ + "AMBIGUOUS\020\004\022\020\n\014UNDETERMINED\020\005B\375\001\n%com.go"
+ + "ogle.cloud.networkmanagement.v1B\016TestOut"
+ + "erClassP\001ZScloud.google.com/go/networkma"
+ + "nagement/apiv1/networkmanagementpb;netwo"
+ + "rkmanagementpb\252\002!Google.Cloud.NetworkMan"
+ + "agement.V1\312\002!Google\\Cloud\\NetworkManagem"
+ + "ent\\V1\352\002$Google::Cloud::NetworkManagemen"
+ + "t::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -148,6 +149,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"IpAddress",
"Port",
"Instance",
+ "ForwardingRule",
"GkeMasterCluster",
"CloudSqlInstance",
"Network",
diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/connectivity_test.proto b/java-network-management/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/connectivity_test.proto
index 30fdfc0b9ef9..fc4a7d32b789 100644
--- a/java-network-management/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/connectivity_test.proto
+++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/connectivity_test.proto
@@ -148,6 +148,14 @@ message Endpoint {
// A Compute Engine instance URI.
string instance = 3;
+ // A forwarding rule and its corresponding IP address represent the frontend
+ // configuration of a Google Cloud load balancer. Forwarding rules are also
+ // used for protocol forwarding, Private Service Connect and other network
+ // services to provide forwarding information in the control plane. Format:
+ // projects/{project}/global/forwardingRules/{id} or
+ // projects/{project}/regions/{region}/forwardingRules/{id}
+ string forwarding_rule = 13;
+
// A cluster URI for [Google Kubernetes Engine
// master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
string gke_master_cluster = 7;
diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/Endpoint.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/Endpoint.java
index 62b60fb5943f..9d54302ba078 100644
--- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/Endpoint.java
+++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/Endpoint.java
@@ -40,6 +40,7 @@ private Endpoint(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
private Endpoint() {
ipAddress_ = "";
instance_ = "";
+ forwardingRule_ = "";
gkeMasterCluster_ = "";
cloudSqlInstance_ = "";
network_ = "";
@@ -1028,6 +1029,67 @@ public com.google.protobuf.ByteString getInstanceBytes() {
}
}
+ public static final int FORWARDING_RULE_FIELD_NUMBER = 13;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object forwardingRule_ = "";
+ /**
+ *
+ *
+ * + * A forwarding rule and its corresponding IP address represent the frontend + * configuration of a Google Cloud load balancer. Forwarding rules are also + * used for protocol forwarding, Private Service Connect and other network + * services to provide forwarding information in the control plane. Format: + * projects/{project}/global/forwardingRules/{id} or + * projects/{project}/regions/{region}/forwardingRules/{id} + *+ * + *
string forwarding_rule = 13;
+ *
+ * @return The forwardingRule.
+ */
+ @java.lang.Override
+ public java.lang.String getForwardingRule() {
+ java.lang.Object ref = forwardingRule_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ forwardingRule_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * A forwarding rule and its corresponding IP address represent the frontend + * configuration of a Google Cloud load balancer. Forwarding rules are also + * used for protocol forwarding, Private Service Connect and other network + * services to provide forwarding information in the control plane. Format: + * projects/{project}/global/forwardingRules/{id} or + * projects/{project}/regions/{region}/forwardingRules/{id} + *+ * + *
string forwarding_rule = 13;
+ *
+ * @return The bytes for forwardingRule.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getForwardingRuleBytes() {
+ java.lang.Object ref = forwardingRule_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ forwardingRule_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
public static final int GKE_MASTER_CLUSTER_FIELD_NUMBER = 7;
@SuppressWarnings("serial")
@@ -1394,6 +1456,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (cloudFunction_ != null) {
output.writeMessage(10, getCloudFunction());
}
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(forwardingRule_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 13, forwardingRule_);
+ }
getUnknownFields().writeTo(output);
}
@@ -1432,6 +1497,9 @@ public int getSerializedSize() {
if (cloudFunction_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getCloudFunction());
}
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(forwardingRule_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, forwardingRule_);
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -1451,6 +1519,7 @@ public boolean equals(final java.lang.Object obj) {
if (!getIpAddress().equals(other.getIpAddress())) return false;
if (getPort() != other.getPort()) return false;
if (!getInstance().equals(other.getInstance())) return false;
+ if (!getForwardingRule().equals(other.getForwardingRule())) return false;
if (!getGkeMasterCluster().equals(other.getGkeMasterCluster())) return false;
if (!getCloudSqlInstance().equals(other.getCloudSqlInstance())) return false;
if (hasCloudFunction() != other.hasCloudFunction()) return false;
@@ -1477,6 +1546,8 @@ public int hashCode() {
hash = (53 * hash) + getPort();
hash = (37 * hash) + INSTANCE_FIELD_NUMBER;
hash = (53 * hash) + getInstance().hashCode();
+ hash = (37 * hash) + FORWARDING_RULE_FIELD_NUMBER;
+ hash = (53 * hash) + getForwardingRule().hashCode();
hash = (37 * hash) + GKE_MASTER_CLUSTER_FIELD_NUMBER;
hash = (53 * hash) + getGkeMasterCluster().hashCode();
hash = (37 * hash) + CLOUD_SQL_INSTANCE_FIELD_NUMBER;
@@ -1633,6 +1704,7 @@ public Builder clear() {
ipAddress_ = "";
port_ = 0;
instance_ = "";
+ forwardingRule_ = "";
gkeMasterCluster_ = "";
cloudSqlInstance_ = "";
cloudFunction_ = null;
@@ -1689,22 +1761,25 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.Endpoint r
result.instance_ = instance_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
- result.gkeMasterCluster_ = gkeMasterCluster_;
+ result.forwardingRule_ = forwardingRule_;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
- result.cloudSqlInstance_ = cloudSqlInstance_;
+ result.gkeMasterCluster_ = gkeMasterCluster_;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
+ result.cloudSqlInstance_ = cloudSqlInstance_;
+ }
+ if (((from_bitField0_ & 0x00000040) != 0)) {
result.cloudFunction_ =
cloudFunctionBuilder_ == null ? cloudFunction_ : cloudFunctionBuilder_.build();
}
- if (((from_bitField0_ & 0x00000040) != 0)) {
+ if (((from_bitField0_ & 0x00000080) != 0)) {
result.network_ = network_;
}
- if (((from_bitField0_ & 0x00000080) != 0)) {
+ if (((from_bitField0_ & 0x00000100) != 0)) {
result.networkType_ = networkType_;
}
- if (((from_bitField0_ & 0x00000100) != 0)) {
+ if (((from_bitField0_ & 0x00000200) != 0)) {
result.projectId_ = projectId_;
}
}
@@ -1768,14 +1843,19 @@ public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.Endpoint oth
bitField0_ |= 0x00000004;
onChanged();
}
+ if (!other.getForwardingRule().isEmpty()) {
+ forwardingRule_ = other.forwardingRule_;
+ bitField0_ |= 0x00000008;
+ onChanged();
+ }
if (!other.getGkeMasterCluster().isEmpty()) {
gkeMasterCluster_ = other.gkeMasterCluster_;
- bitField0_ |= 0x00000008;
+ bitField0_ |= 0x00000010;
onChanged();
}
if (!other.getCloudSqlInstance().isEmpty()) {
cloudSqlInstance_ = other.cloudSqlInstance_;
- bitField0_ |= 0x00000010;
+ bitField0_ |= 0x00000020;
onChanged();
}
if (other.hasCloudFunction()) {
@@ -1783,7 +1863,7 @@ public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.Endpoint oth
}
if (!other.getNetwork().isEmpty()) {
network_ = other.network_;
- bitField0_ |= 0x00000040;
+ bitField0_ |= 0x00000080;
onChanged();
}
if (other.networkType_ != 0) {
@@ -1791,7 +1871,7 @@ public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.Endpoint oth
}
if (!other.getProjectId().isEmpty()) {
projectId_ = other.projectId_;
- bitField0_ |= 0x00000100;
+ bitField0_ |= 0x00000200;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -1841,39 +1921,45 @@ public Builder mergeFrom(
case 34:
{
network_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000040;
+ bitField0_ |= 0x00000080;
break;
} // case 34
case 40:
{
networkType_ = input.readEnum();
- bitField0_ |= 0x00000080;
+ bitField0_ |= 0x00000100;
break;
} // case 40
case 50:
{
projectId_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000100;
+ bitField0_ |= 0x00000200;
break;
} // case 50
case 58:
{
gkeMasterCluster_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000008;
+ bitField0_ |= 0x00000010;
break;
} // case 58
case 66:
{
cloudSqlInstance_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000010;
+ bitField0_ |= 0x00000020;
break;
} // case 66
case 82:
{
input.readMessage(getCloudFunctionFieldBuilder().getBuilder(), extensionRegistry);
- bitField0_ |= 0x00000020;
+ bitField0_ |= 0x00000040;
break;
} // case 82
+ case 106:
+ {
+ forwardingRule_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000008;
+ break;
+ } // case 106
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -2176,6 +2262,137 @@ public Builder setInstanceBytes(com.google.protobuf.ByteString value) {
return this;
}
+ private java.lang.Object forwardingRule_ = "";
+ /**
+ *
+ *
+ * + * A forwarding rule and its corresponding IP address represent the frontend + * configuration of a Google Cloud load balancer. Forwarding rules are also + * used for protocol forwarding, Private Service Connect and other network + * services to provide forwarding information in the control plane. Format: + * projects/{project}/global/forwardingRules/{id} or + * projects/{project}/regions/{region}/forwardingRules/{id} + *+ * + *
string forwarding_rule = 13;
+ *
+ * @return The forwardingRule.
+ */
+ public java.lang.String getForwardingRule() {
+ java.lang.Object ref = forwardingRule_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ forwardingRule_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * A forwarding rule and its corresponding IP address represent the frontend + * configuration of a Google Cloud load balancer. Forwarding rules are also + * used for protocol forwarding, Private Service Connect and other network + * services to provide forwarding information in the control plane. Format: + * projects/{project}/global/forwardingRules/{id} or + * projects/{project}/regions/{region}/forwardingRules/{id} + *+ * + *
string forwarding_rule = 13;
+ *
+ * @return The bytes for forwardingRule.
+ */
+ public com.google.protobuf.ByteString getForwardingRuleBytes() {
+ java.lang.Object ref = forwardingRule_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ forwardingRule_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * A forwarding rule and its corresponding IP address represent the frontend + * configuration of a Google Cloud load balancer. Forwarding rules are also + * used for protocol forwarding, Private Service Connect and other network + * services to provide forwarding information in the control plane. Format: + * projects/{project}/global/forwardingRules/{id} or + * projects/{project}/regions/{region}/forwardingRules/{id} + *+ * + *
string forwarding_rule = 13;
+ *
+ * @param value The forwardingRule to set.
+ * @return This builder for chaining.
+ */
+ public Builder setForwardingRule(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ forwardingRule_ = value;
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * A forwarding rule and its corresponding IP address represent the frontend + * configuration of a Google Cloud load balancer. Forwarding rules are also + * used for protocol forwarding, Private Service Connect and other network + * services to provide forwarding information in the control plane. Format: + * projects/{project}/global/forwardingRules/{id} or + * projects/{project}/regions/{region}/forwardingRules/{id} + *+ * + *
string forwarding_rule = 13;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearForwardingRule() {
+ forwardingRule_ = getDefaultInstance().getForwardingRule();
+ bitField0_ = (bitField0_ & ~0x00000008);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * A forwarding rule and its corresponding IP address represent the frontend + * configuration of a Google Cloud load balancer. Forwarding rules are also + * used for protocol forwarding, Private Service Connect and other network + * services to provide forwarding information in the control plane. Format: + * projects/{project}/global/forwardingRules/{id} or + * projects/{project}/regions/{region}/forwardingRules/{id} + *+ * + *
string forwarding_rule = 13;
+ *
+ * @param value The bytes for forwardingRule to set.
+ * @return This builder for chaining.
+ */
+ public Builder setForwardingRuleBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ forwardingRule_ = value;
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+
private java.lang.Object gkeMasterCluster_ = "";
/**
*
@@ -2241,7 +2458,7 @@ public Builder setGkeMasterCluster(java.lang.String value) {
throw new NullPointerException();
}
gkeMasterCluster_ = value;
- bitField0_ |= 0x00000008;
+ bitField0_ |= 0x00000010;
onChanged();
return this;
}
@@ -2259,7 +2476,7 @@ public Builder setGkeMasterCluster(java.lang.String value) {
*/
public Builder clearGkeMasterCluster() {
gkeMasterCluster_ = getDefaultInstance().getGkeMasterCluster();
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
@@ -2282,7 +2499,7 @@ public Builder setGkeMasterClusterBytes(com.google.protobuf.ByteString value) {
}
checkByteStringIsUtf8(value);
gkeMasterCluster_ = value;
- bitField0_ |= 0x00000008;
+ bitField0_ |= 0x00000010;
onChanged();
return this;
}
@@ -2349,7 +2566,7 @@ public Builder setCloudSqlInstance(java.lang.String value) {
throw new NullPointerException();
}
cloudSqlInstance_ = value;
- bitField0_ |= 0x00000010;
+ bitField0_ |= 0x00000020;
onChanged();
return this;
}
@@ -2366,7 +2583,7 @@ public Builder setCloudSqlInstance(java.lang.String value) {
*/
public Builder clearCloudSqlInstance() {
cloudSqlInstance_ = getDefaultInstance().getCloudSqlInstance();
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
return this;
}
@@ -2388,7 +2605,7 @@ public Builder setCloudSqlInstanceBytes(com.google.protobuf.ByteString value) {
}
checkByteStringIsUtf8(value);
cloudSqlInstance_ = value;
- bitField0_ |= 0x00000010;
+ bitField0_ |= 0x00000020;
onChanged();
return this;
}
@@ -2414,7 +2631,7 @@ public Builder setCloudSqlInstanceBytes(com.google.protobuf.ByteString value) {
* @return Whether the cloudFunction field is set.
*/
public boolean hasCloudFunction() {
- return ((bitField0_ & 0x00000020) != 0);
+ return ((bitField0_ & 0x00000040) != 0);
}
/**
*
@@ -2461,7 +2678,7 @@ public Builder setCloudFunction(
} else {
cloudFunctionBuilder_.setMessage(value);
}
- bitField0_ |= 0x00000020;
+ bitField0_ |= 0x00000040;
onChanged();
return this;
}
@@ -2484,7 +2701,7 @@ public Builder setCloudFunction(
} else {
cloudFunctionBuilder_.setMessage(builderForValue.build());
}
- bitField0_ |= 0x00000020;
+ bitField0_ |= 0x00000040;
onChanged();
return this;
}
@@ -2502,7 +2719,7 @@ public Builder setCloudFunction(
public Builder mergeCloudFunction(
com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint value) {
if (cloudFunctionBuilder_ == null) {
- if (((bitField0_ & 0x00000020) != 0)
+ if (((bitField0_ & 0x00000040) != 0)
&& cloudFunction_ != null
&& cloudFunction_
!= com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint
@@ -2514,7 +2731,7 @@ public Builder mergeCloudFunction(
} else {
cloudFunctionBuilder_.mergeFrom(value);
}
- bitField0_ |= 0x00000020;
+ bitField0_ |= 0x00000040;
onChanged();
return this;
}
@@ -2530,7 +2747,7 @@ public Builder mergeCloudFunction(
*
*/
public Builder clearCloudFunction() {
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000040);
cloudFunction_ = null;
if (cloudFunctionBuilder_ != null) {
cloudFunctionBuilder_.dispose();
@@ -2552,7 +2769,7 @@ public Builder clearCloudFunction() {
*/
public com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.Builder
getCloudFunctionBuilder() {
- bitField0_ |= 0x00000020;
+ bitField0_ |= 0x00000040;
onChanged();
return getCloudFunctionFieldBuilder().getBuilder();
}
@@ -2668,7 +2885,7 @@ public Builder setNetwork(java.lang.String value) {
throw new NullPointerException();
}
network_ = value;
- bitField0_ |= 0x00000040;
+ bitField0_ |= 0x00000080;
onChanged();
return this;
}
@@ -2685,7 +2902,7 @@ public Builder setNetwork(java.lang.String value) {
*/
public Builder clearNetwork() {
network_ = getDefaultInstance().getNetwork();
- bitField0_ = (bitField0_ & ~0x00000040);
+ bitField0_ = (bitField0_ & ~0x00000080);
onChanged();
return this;
}
@@ -2707,7 +2924,7 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) {
}
checkByteStringIsUtf8(value);
network_ = value;
- bitField0_ |= 0x00000040;
+ bitField0_ |= 0x00000080;
onChanged();
return this;
}
@@ -2746,7 +2963,7 @@ public int getNetworkTypeValue() {
*/
public Builder setNetworkTypeValue(int value) {
networkType_ = value;
- bitField0_ |= 0x00000080;
+ bitField0_ |= 0x00000100;
onChanged();
return this;
}
@@ -2790,7 +3007,7 @@ public Builder setNetworkType(
if (value == null) {
throw new NullPointerException();
}
- bitField0_ |= 0x00000080;
+ bitField0_ |= 0x00000100;
networkType_ = value.getNumber();
onChanged();
return this;
@@ -2809,7 +3026,7 @@ public Builder setNetworkType(
* @return This builder for chaining.
*/
public Builder clearNetworkType() {
- bitField0_ = (bitField0_ & ~0x00000080);
+ bitField0_ = (bitField0_ & ~0x00000100);
networkType_ = 0;
onChanged();
return this;
@@ -2901,7 +3118,7 @@ public Builder setProjectId(java.lang.String value) {
throw new NullPointerException();
}
projectId_ = value;
- bitField0_ |= 0x00000100;
+ bitField0_ |= 0x00000200;
onChanged();
return this;
}
@@ -2926,7 +3143,7 @@ public Builder setProjectId(java.lang.String value) {
*/
public Builder clearProjectId() {
projectId_ = getDefaultInstance().getProjectId();
- bitField0_ = (bitField0_ & ~0x00000100);
+ bitField0_ = (bitField0_ & ~0x00000200);
onChanged();
return this;
}
@@ -2956,7 +3173,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
}
checkByteStringIsUtf8(value);
projectId_ = value;
- bitField0_ |= 0x00000100;
+ bitField0_ |= 0x00000200;
onChanged();
return this;
}
diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointOrBuilder.java
index 4c10ca2a9acc..ad4a1e8f59dd 100644
--- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointOrBuilder.java
+++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointOrBuilder.java
@@ -93,6 +93,41 @@ public interface EndpointOrBuilder
*/
com.google.protobuf.ByteString getInstanceBytes();
+ /**
+ *
+ *
+ * + * A forwarding rule and its corresponding IP address represent the frontend + * configuration of a Google Cloud load balancer. Forwarding rules are also + * used for protocol forwarding, Private Service Connect and other network + * services to provide forwarding information in the control plane. Format: + * projects/{project}/global/forwardingRules/{id} or + * projects/{project}/regions/{region}/forwardingRules/{id} + *+ * + *
string forwarding_rule = 13;
+ *
+ * @return The forwardingRule.
+ */
+ java.lang.String getForwardingRule();
+ /**
+ *
+ *
+ * + * A forwarding rule and its corresponding IP address represent the frontend + * configuration of a Google Cloud load balancer. Forwarding rules are also + * used for protocol forwarding, Private Service Connect and other network + * services to provide forwarding information in the control plane. Format: + * projects/{project}/global/forwardingRules/{id} or + * projects/{project}/regions/{region}/forwardingRules/{id} + *+ * + *
string forwarding_rule = 13;
+ *
+ * @return The bytes for forwardingRule.
+ */
+ com.google.protobuf.ByteString getForwardingRuleBytes();
+
/**
*
*
diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/TestOuterClass.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/TestOuterClass.java
index 0211755ca205..981d4d5930fe 100644
--- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/TestOuterClass.java
+++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/TestOuterClass.java
@@ -99,61 +99,62 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:t\352Aq\n1networkma"
+ "nagement.googleapis.com/ConnectivityTest"
+ "\022