diff --git a/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/AbortInfo.java b/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/AbortInfo.java
index eb95b6d9..a1f01392 100644
--- a/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/AbortInfo.java
+++ b/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/AbortInfo.java
@@ -311,6 +311,16 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
* MISMATCHED_DESTINATION_NETWORK = 14;
*/
MISMATCHED_DESTINATION_NETWORK(14),
+ /**
+ *
+ *
+ *
+ * Aborted because the test scenario is not supported. + *+ * + *
UNSUPPORTED = 15;
+ */
+ UNSUPPORTED(15),
UNRECOGNIZED(-1),
;
@@ -479,6 +489,16 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
* MISMATCHED_DESTINATION_NETWORK = 14;
*/
public static final int MISMATCHED_DESTINATION_NETWORK_VALUE = 14;
+ /**
+ *
+ *
+ * + * Aborted because the test scenario is not supported. + *+ * + *
UNSUPPORTED = 15;
+ */
+ public static final int UNSUPPORTED_VALUE = 15;
public final int getNumber() {
if (this == UNRECOGNIZED) {
@@ -534,6 +554,8 @@ public static Cause forNumber(int value) {
return DESTINATION_ENDPOINT_NOT_FOUND;
case 14:
return MISMATCHED_DESTINATION_NETWORK;
+ case 15:
+ return UNSUPPORTED;
default:
return null;
}
diff --git a/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DropInfo.java b/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DropInfo.java
index 98e6ece2..4d2cb245 100644
--- a/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DropInfo.java
+++ b/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DropInfo.java
@@ -234,9 +234,7 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
* * Instance with only an internal IP address tries to access external hosts, * but Cloud NAT is not enabled in the subnet, unless special configurations - * on a VM allow this connection. For more details, see [Special - * configurations for VM - * instances](https://cloud.google.com/vpc/docs/special-configurations). + * on a VM allow this connection. ** *
NO_EXTERNAL_ADDRESS = 9;
@@ -486,9 +484,7 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
* * Instance with only an internal IP address tries to access external hosts, * but Cloud NAT is not enabled in the subnet, unless special configurations - * on a VM allow this connection. For more details, see [Special - * configurations for VM - * instances](https://cloud.google.com/vpc/docs/special-configurations). + * on a VM allow this connection. ** *
NO_EXTERNAL_ADDRESS = 9;
diff --git a/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceProto.java b/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceProto.java
index 0d17cdfb..beb3a7fa 100644
--- a/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceProto.java
+++ b/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceProto.java
@@ -72,84 +72,85 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "hability.proto\022!google.cloud.networkmana"
+ "gement.v1\032\034google/api/annotations.proto\032"
+ "\027google/api/client.proto\032\037google/api/fie"
- + "ld_behavior.proto\0329google/cloud/networkm"
- + "anagement/v1/connectivity_test.proto\032#go"
- + "ogle/longrunning/operations.proto\032 googl"
- + "e/protobuf/field_mask.proto\032\037google/prot"
- + "obuf/timestamp.proto\"|\n\034ListConnectivity"
- + "TestsRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\021\n\tpag"
- + "e_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filt"
- + "er\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\"\225\001\n\035ListConne"
- + "ctivityTestsResponse\022F\n\tresources\030\001 \003(\0132"
- + "3.google.cloud.networkmanagement.v1.Conn"
- + "ectivityTest\022\027\n\017next_page_token\030\002 \001(\t\022\023\n"
- + "\013unreachable\030\003 \003(\t\"/\n\032GetConnectivityTes"
- + "tRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\"\226\001\n\035CreateCo"
- + "nnectivityTestRequest\022\023\n\006parent\030\001 \001(\tB\003\340"
- + "A\002\022\024\n\007test_id\030\002 \001(\tB\003\340A\002\022J\n\010resource\030\003 \001"
- + "(\01323.google.cloud.networkmanagement.v1.C"
- + "onnectivityTestB\003\340A\002\"\241\001\n\035UpdateConnectiv"
- + "ityTestRequest\0224\n\013update_mask\030\001 \001(\0132\032.go"
- + "ogle.protobuf.FieldMaskB\003\340A\002\022J\n\010resource"
- + "\030\002 \001(\01323.google.cloud.networkmanagement."
- + "v1.ConnectivityTestB\003\340A\002\"2\n\035DeleteConnec"
- + "tivityTestRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\"1\n\034"
- + "RerunConnectivityTestRequest\022\021\n\004name\030\001 \001"
- + "(\tB\003\340A\002\"\326\001\n\021OperationMetadata\022/\n\013create_"
- + "time\030\001 \001(\0132\032.google.protobuf.Timestamp\022,"
- + "\n\010end_time\030\002 \001(\0132\032.google.protobuf.Times"
- + "tamp\022\016\n\006target\030\003 \001(\t\022\014\n\004verb\030\004 \001(\t\022\025\n\rst"
- + "atus_detail\030\005 \001(\t\022\030\n\020cancel_requested\030\006 "
- + "\001(\010\022\023\n\013api_version\030\007 \001(\t2\226\r\n\023Reachabilit"
- + "yService\022\347\001\n\025ListConnectivityTests\022?.goo"
- + "gle.cloud.networkmanagement.v1.ListConne"
- + "ctivityTestsRequest\032@.google.cloud.netwo"
- + "rkmanagement.v1.ListConnectivityTestsRes"
- + "ponse\"K\202\323\344\223\002<\022:/v1/{parent=projects/*/lo"
- + "cations/global}/connectivityTests\332A\006pare"
- + "nt\022\324\001\n\023GetConnectivityTest\022=.google.clou"
- + "d.networkmanagement.v1.GetConnectivityTe"
- + "stRequest\0323.google.cloud.networkmanageme"
- + "nt.v1.ConnectivityTest\"I\202\323\344\223\002<\022:/v1/{nam"
- + "e=projects/*/locations/global/connectivi"
- + "tyTests/*}\332A\004name\022\254\002\n\026CreateConnectivity"
- + "Test\022@.google.cloud.networkmanagement.v1"
- + ".CreateConnectivityTestRequest\032\035.google."
- + "longrunning.Operation\"\260\001\202\323\344\223\002F\":/v1/{par"
- + "ent=projects/*/locations/global}/connect"
- + "ivityTests:\010resource\332A\027parent,test_id,re"
- + "source\312AG\n2google.cloud.networkmanagemen"
- + "t.v1.ConnectivityTest\022\021OperationMetadata"
- + "\022\262\002\n\026UpdateConnectivityTest\022@.google.clo"
- + "ud.networkmanagement.v1.UpdateConnectivi"
- + "tyTestRequest\032\035.google.longrunning.Opera"
- + "tion\"\266\001\202\323\344\223\002O2C/v1/{resource.name=projec"
+ + "ld_behavior.proto\032\031google/api/resource.p"
+ + "roto\0329google/cloud/networkmanagement/v1/"
+ + "connectivity_test.proto\032#google/longrunn"
+ + "ing/operations.proto\032 google/protobuf/fi"
+ + "eld_mask.proto\032\037google/protobuf/timestam"
+ + "p.proto\"|\n\034ListConnectivityTestsRequest\022"
+ + "\023\n\006parent\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size\030\002 \001(\005\022"
+ + "\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022\020\n\010o"
+ + "rder_by\030\005 \001(\t\"\225\001\n\035ListConnectivityTestsR"
+ + "esponse\022F\n\tresources\030\001 \003(\01323.google.clou"
+ + "d.networkmanagement.v1.ConnectivityTest\022"
+ + "\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unreachable\030"
+ + "\003 \003(\t\"/\n\032GetConnectivityTestRequest\022\021\n\004n"
+ + "ame\030\001 \001(\tB\003\340A\002\"\226\001\n\035CreateConnectivityTes"
+ + "tRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\024\n\007test_id"
+ + "\030\002 \001(\tB\003\340A\002\022J\n\010resource\030\003 \001(\01323.google.c"
+ + "loud.networkmanagement.v1.ConnectivityTe"
+ + "stB\003\340A\002\"\241\001\n\035UpdateConnectivityTestReques"
+ + "t\0224\n\013update_mask\030\001 \001(\0132\032.google.protobuf"
+ + ".FieldMaskB\003\340A\002\022J\n\010resource\030\002 \001(\01323.goog"
+ + "le.cloud.networkmanagement.v1.Connectivi"
+ + "tyTestB\003\340A\002\"2\n\035DeleteConnectivityTestReq"
+ + "uest\022\021\n\004name\030\001 \001(\tB\003\340A\002\"1\n\034RerunConnecti"
+ + "vityTestRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\"\326\001\n\021O"
+ + "perationMetadata\022/\n\013create_time\030\001 \001(\0132\032."
+ + "google.protobuf.Timestamp\022,\n\010end_time\030\002 "
+ + "\001(\0132\032.google.protobuf.Timestamp\022\016\n\006targe"
+ + "t\030\003 \001(\t\022\014\n\004verb\030\004 \001(\t\022\025\n\rstatus_detail\030\005"
+ + " \001(\t\022\030\n\020cancel_requested\030\006 \001(\010\022\023\n\013api_ve"
+ + "rsion\030\007 \001(\t2\226\r\n\023ReachabilityService\022\347\001\n\025"
+ + "ListConnectivityTests\022?.google.cloud.net"
+ + "workmanagement.v1.ListConnectivityTestsR"
+ + "equest\032@.google.cloud.networkmanagement."
+ + "v1.ListConnectivityTestsResponse\"K\202\323\344\223\002<"
+ + "\022:/v1/{parent=projects/*/locations/globa"
+ + "l}/connectivityTests\332A\006parent\022\324\001\n\023GetCon"
+ + "nectivityTest\022=.google.cloud.networkmana"
+ + "gement.v1.GetConnectivityTestRequest\0323.g"
+ + "oogle.cloud.networkmanagement.v1.Connect"
+ + "ivityTest\"I\202\323\344\223\002<\022:/v1/{name=projects/*/"
+ + "locations/global/connectivityTests/*}\332A\004"
+ + "name\022\254\002\n\026CreateConnectivityTest\022@.google"
+ + ".cloud.networkmanagement.v1.CreateConnec"
+ + "tivityTestRequest\032\035.google.longrunning.O"
+ + "peration\"\260\001\202\323\344\223\002F\":/v1/{parent=projects/"
+ + "*/locations/global}/connectivityTests:\010r"
+ + "esource\332A\027parent,test_id,resource\312AG\n2go"
+ + "ogle.cloud.networkmanagement.v1.Connecti"
+ + "vityTest\022\021OperationMetadata\022\262\002\n\026UpdateCo"
+ + "nnectivityTest\022@.google.cloud.networkman"
+ + "agement.v1.UpdateConnectivityTestRequest"
+ + "\032\035.google.longrunning.Operation\"\266\001\202\323\344\223\002O"
+ + "2C/v1/{resource.name=projects/*/location"
+ + "s/global/connectivityTests/*}:\010resource\332"
+ + "A\024update_mask,resource\312AG\n2google.cloud."
+ + "networkmanagement.v1.ConnectivityTest\022\021O"
+ + "perationMetadata\022\217\002\n\025RerunConnectivityTe"
+ + "st\022?.google.cloud.networkmanagement.v1.R"
+ + "erunConnectivityTestRequest\032\035.google.lon"
+ + "grunning.Operation\"\225\001\202\323\344\223\002E\"@/v1/{name=p"
+ + "rojects/*/locations/global/connectivityT"
+ + "ests/*}:rerun:\001*\312AG\n2google.cloud.networ"
+ + "kmanagement.v1.ConnectivityTest\022\021Operati"
+ + "onMetadata\022\361\001\n\026DeleteConnectivityTest\022@."
+ + "google.cloud.networkmanagement.v1.Delete"
+ + "ConnectivityTestRequest\032\035.google.longrun"
+ + "ning.Operation\"v\202\323\344\223\002<*:/v1/{name=projec"
+ "ts/*/locations/global/connectivityTests/"
- + "*}:\010resource\332A\024update_mask,resource\312AG\n2"
- + "google.cloud.networkmanagement.v1.Connec"
- + "tivityTest\022\021OperationMetadata\022\217\002\n\025RerunC"
- + "onnectivityTest\022?.google.cloud.networkma"
- + "nagement.v1.RerunConnectivityTestRequest"
- + "\032\035.google.longrunning.Operation\"\225\001\202\323\344\223\002E"
- + "\"@/v1/{name=projects/*/locations/global/"
- + "connectivityTests/*}:rerun:\001*\312AG\n2google"
- + ".cloud.networkmanagement.v1.Connectivity"
- + "Test\022\021OperationMetadata\022\361\001\n\026DeleteConnec"
- + "tivityTest\022@.google.cloud.networkmanagem"
- + "ent.v1.DeleteConnectivityTestRequest\032\035.g"
- + "oogle.longrunning.Operation\"v\202\323\344\223\002<*:/v1"
- + "/{name=projects/*/locations/global/conne"
- + "ctivityTests/*}\332A\004name\312A*\n\025google.protob"
- + "uf.Empty\022\021OperationMetadata\032T\312A networkm"
- + "anagement.googleapis.com\322A.https://www.g"
- + "oogleapis.com/auth/cloud-platformB\206\002\n%co"
- + "m.google.cloud.networkmanagement.v1B\030Rea"
- + "chabilityServiceProtoP\001ZRgoogle.golang.o"
- + "rg/genproto/googleapis/cloud/networkmana"
- + "gement/v1;networkmanagement\252\002!Google.Clo"
- + "ud.NetworkManagement.V1\312\002!Google\\Cloud\\N"
- + "etworkManagement\\V1\352\002$Google::Cloud::Net"
- + "workManagement::V1b\006proto3"
+ + "*}\332A\004name\312A*\n\025google.protobuf.Empty\022\021Ope"
+ + "rationMetadata\032T\312A networkmanagement.goo"
+ + "gleapis.com\322A.https://www.googleapis.com"
+ + "/auth/cloud-platformB\206\002\n%com.google.clou"
+ + "d.networkmanagement.v1B\030ReachabilityServ"
+ + "iceProtoP\001ZRgoogle.golang.org/genproto/g"
+ + "oogleapis/cloud/networkmanagement/v1;net"
+ + "workmanagement\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(
@@ -158,6 +159,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.api.AnnotationsProto.getDescriptor(),
com.google.api.ClientProto.getDescriptor(),
com.google.api.FieldBehaviorProto.getDescriptor(),
+ com.google.api.ResourceProto.getDescriptor(),
com.google.cloud.networkmanagement.v1.TestOuterClass.getDescriptor(),
com.google.longrunning.OperationsProto.getDescriptor(),
com.google.protobuf.FieldMaskProto.getDescriptor(),
@@ -246,6 +248,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.api.AnnotationsProto.getDescriptor();
com.google.api.ClientProto.getDescriptor();
com.google.api.FieldBehaviorProto.getDescriptor();
+ com.google.api.ResourceProto.getDescriptor();
com.google.cloud.networkmanagement.v1.TestOuterClass.getDescriptor();
com.google.longrunning.OperationsProto.getDescriptor();
com.google.protobuf.FieldMaskProto.getDescriptor();
diff --git a/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RouteInfo.java b/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RouteInfo.java
index 3575612e..4014551f 100644
--- a/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RouteInfo.java
+++ b/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RouteInfo.java
@@ -552,6 +552,18 @@ public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum {
* NEXT_HOP_ILB = 10;
*/
NEXT_HOP_ILB(10),
+ /**
+ *
+ *
+ * + * Next hop is a + * [router appliance + * instance](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/ra-overview). + *+ * + *
NEXT_HOP_ROUTER_APPLIANCE = 11;
+ */
+ NEXT_HOP_ROUTER_APPLIANCE(11),
UNRECOGNIZED(-1),
;
@@ -669,6 +681,18 @@ public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum {
* NEXT_HOP_ILB = 10;
*/
public static final int NEXT_HOP_ILB_VALUE = 10;
+ /**
+ *
+ *
+ * + * Next hop is a + * [router appliance + * instance](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/ra-overview). + *+ * + *
NEXT_HOP_ROUTER_APPLIANCE = 11;
+ */
+ public static final int NEXT_HOP_ROUTER_APPLIANCE_VALUE = 11;
public final int getNumber() {
if (this == UNRECOGNIZED) {
@@ -716,6 +740,8 @@ public static NextHopType forNumber(int value) {
return NEXT_HOP_BLACKHOLE;
case 10:
return NEXT_HOP_ILB;
+ case 11:
+ return NEXT_HOP_ROUTER_APPLIANCE;
default:
return null;
}
diff --git a/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/TraceProto.java b/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/TraceProto.java
index 42c4067d..02fea37e 100644
--- a/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/TraceProto.java
+++ b/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/TraceProto.java
@@ -175,7 +175,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "lRuleType\022\"\n\036FIREWALL_RULE_TYPE_UNSPECIF"
+ "IED\020\000\022%\n!HIERARCHICAL_FIREWALL_POLICY_RU"
+ "LE\020\001\022\025\n\021VPC_FIREWALL_RULE\020\002\022\035\n\031IMPLIED_V"
- + "PC_FIREWALL_RULE\020\003\"\330\005\n\tRouteInfo\022J\n\nrout"
+ + "PC_FIREWALL_RULE\020\003\"\367\005\n\tRouteInfo\022J\n\nrout"
+ "e_type\030\010 \001(\01626.google.cloud.networkmanag"
+ "ement.v1.RouteInfo.RouteType\022O\n\rnext_hop"
+ "_type\030\t \001(\01628.google.cloud.networkmanage"
@@ -186,117 +186,118 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "s\030\007 \003(\t\"\211\001\n\tRouteType\022\032\n\026ROUTE_TYPE_UNSP"
+ "ECIFIED\020\000\022\n\n\006SUBNET\020\001\022\n\n\006STATIC\020\002\022\013\n\007DYN"
+ "AMIC\020\003\022\022\n\016PEERING_SUBNET\020\004\022\022\n\016PEERING_ST"
- + "ATIC\020\005\022\023\n\017PEERING_DYNAMIC\020\006\"\227\002\n\013NextHopT"
+ + "ATIC\020\005\022\023\n\017PEERING_DYNAMIC\020\006\"\266\002\n\013NextHopT"
+ "ype\022\035\n\031NEXT_HOP_TYPE_UNSPECIFIED\020\000\022\017\n\013NE"
+ "XT_HOP_IP\020\001\022\025\n\021NEXT_HOP_INSTANCE\020\002\022\024\n\020NE"
+ "XT_HOP_NETWORK\020\003\022\024\n\020NEXT_HOP_PEERING\020\004\022\031"
+ "\n\025NEXT_HOP_INTERCONNECT\020\005\022\027\n\023NEXT_HOP_VP"
+ "N_TUNNEL\020\006\022\030\n\024NEXT_HOP_VPN_GATEWAY\020\007\022\035\n\031"
+ "NEXT_HOP_INTERNET_GATEWAY\020\010\022\026\n\022NEXT_HOP_"
- + "BLACKHOLE\020\t\022\020\n\014NEXT_HOP_ILB\020\n\"\237\001\n\022Forwar"
- + "dingRuleInfo\022\024\n\014display_name\030\001 \001(\t\022\013\n\003ur"
- + "i\030\002 \001(\t\022\030\n\020matched_protocol\030\003 \001(\t\022\032\n\022mat"
- + "ched_port_range\030\006 \001(\t\022\013\n\003vip\030\004 \001(\t\022\016\n\006ta"
- + "rget\030\005 \001(\t\022\023\n\013network_uri\030\007 \001(\t\"\251\004\n\020Load"
- + "BalancerInfo\022`\n\022load_balancer_type\030\001 \001(\016"
- + "2D.google.cloud.networkmanagement.v1.Loa"
- + "dBalancerInfo.LoadBalancerType\022\030\n\020health"
- + "_check_uri\030\002 \001(\t\022H\n\010backends\030\003 \003(\01326.goo"
+ + "BLACKHOLE\020\t\022\020\n\014NEXT_HOP_ILB\020\n\022\035\n\031NEXT_HO"
+ + "P_ROUTER_APPLIANCE\020\013\"\237\001\n\022ForwardingRuleI"
+ + "nfo\022\024\n\014display_name\030\001 \001(\t\022\013\n\003uri\030\002 \001(\t\022\030"
+ + "\n\020matched_protocol\030\003 \001(\t\022\032\n\022matched_port"
+ + "_range\030\006 \001(\t\022\013\n\003vip\030\004 \001(\t\022\016\n\006target\030\005 \001("
+ + "\t\022\023\n\013network_uri\030\007 \001(\t\"\251\004\n\020LoadBalancerI"
+ + "nfo\022`\n\022load_balancer_type\030\001 \001(\0162D.google"
+ + ".cloud.networkmanagement.v1.LoadBalancer"
+ + "Info.LoadBalancerType\022\030\n\020health_check_ur"
+ + "i\030\002 \001(\t\022H\n\010backends\030\003 \003(\01326.google.cloud"
+ + ".networkmanagement.v1.LoadBalancerBacken"
+ + "d\022U\n\014backend_type\030\004 \001(\0162?.google.cloud.n"
+ + "etworkmanagement.v1.LoadBalancerInfo.Bac"
+ + "kendType\022\023\n\013backend_uri\030\005 \001(\t\"\217\001\n\020LoadBa"
+ + "lancerType\022\"\n\036LOAD_BALANCER_TYPE_UNSPECI"
+ + "FIED\020\000\022\024\n\020INTERNAL_TCP_UDP\020\001\022\023\n\017NETWORK_"
+ + "TCP_UDP\020\002\022\016\n\nHTTP_PROXY\020\003\022\r\n\tTCP_PROXY\020\004"
+ + "\022\r\n\tSSL_PROXY\020\005\"Q\n\013BackendType\022\034\n\030BACKEN"
+ + "D_TYPE_UNSPECIFIED\020\000\022\023\n\017BACKEND_SERVICE\020"
+ + "\001\022\017\n\013TARGET_POOL\020\002\"\366\002\n\023LoadBalancerBacke"
+ + "nd\022\024\n\014display_name\030\001 \001(\t\022\013\n\003uri\030\002 \001(\t\022t\n"
+ + "\033health_check_firewall_state\030\003 \001(\0162O.goo"
+ "gle.cloud.networkmanagement.v1.LoadBalan"
- + "cerBackend\022U\n\014backend_type\030\004 \001(\0162?.googl"
- + "e.cloud.networkmanagement.v1.LoadBalance"
- + "rInfo.BackendType\022\023\n\013backend_uri\030\005 \001(\t\"\217"
- + "\001\n\020LoadBalancerType\022\"\n\036LOAD_BALANCER_TYP"
- + "E_UNSPECIFIED\020\000\022\024\n\020INTERNAL_TCP_UDP\020\001\022\023\n"
- + "\017NETWORK_TCP_UDP\020\002\022\016\n\nHTTP_PROXY\020\003\022\r\n\tTC"
- + "P_PROXY\020\004\022\r\n\tSSL_PROXY\020\005\"Q\n\013BackendType\022"
- + "\034\n\030BACKEND_TYPE_UNSPECIFIED\020\000\022\023\n\017BACKEND"
- + "_SERVICE\020\001\022\017\n\013TARGET_POOL\020\002\"\366\002\n\023LoadBala"
- + "ncerBackend\022\024\n\014display_name\030\001 \001(\t\022\013\n\003uri"
- + "\030\002 \001(\t\022t\n\033health_check_firewall_state\030\003 "
- + "\001(\0162O.google.cloud.networkmanagement.v1."
- + "LoadBalancerBackend.HealthCheckFirewallS"
- + "tate\022,\n$health_check_allowing_firewall_r"
- + "ules\030\004 \003(\t\022,\n$health_check_blocking_fire"
- + "wall_rules\030\005 \003(\t\"j\n\030HealthCheckFirewallS"
- + "tate\022+\n\'HEALTH_CHECK_FIREWALL_STATE_UNSP"
- + "ECIFIED\020\000\022\016\n\nCONFIGURED\020\001\022\021\n\rMISCONFIGUR"
- + "ED\020\002\"\204\001\n\016VpnGatewayInfo\022\024\n\014display_name\030"
- + "\001 \001(\t\022\013\n\003uri\030\002 \001(\t\022\023\n\013network_uri\030\003 \001(\t\022"
- + "\022\n\nip_address\030\004 \001(\t\022\026\n\016vpn_tunnel_uri\030\005 "
- + "\001(\t\022\016\n\006region\030\006 \001(\t\"\356\002\n\rVpnTunnelInfo\022\024\n"
- + "\014display_name\030\001 \001(\t\022\013\n\003uri\030\002 \001(\t\022\026\n\016sour"
- + "ce_gateway\030\003 \001(\t\022\026\n\016remote_gateway\030\004 \001(\t"
- + "\022\031\n\021remote_gateway_ip\030\005 \001(\t\022\031\n\021source_ga"
- + "teway_ip\030\006 \001(\t\022\023\n\013network_uri\030\007 \001(\t\022\016\n\006r"
- + "egion\030\010 \001(\t\022R\n\014routing_type\030\t \001(\0162<.goog"
- + "le.cloud.networkmanagement.v1.VpnTunnelI"
- + "nfo.RoutingType\"[\n\013RoutingType\022\034\n\030ROUTIN"
- + "G_TYPE_UNSPECIFIED\020\000\022\017\n\013ROUTE_BASED\020\001\022\020\n"
- + "\014POLICY_BASED\020\002\022\013\n\007DYNAMIC\020\003\"\267\001\n\014Endpoin"
- + "tInfo\022\021\n\tsource_ip\030\001 \001(\t\022\026\n\016destination_"
- + "ip\030\002 \001(\t\022\020\n\010protocol\030\003 \001(\t\022\023\n\013source_por"
- + "t\030\004 \001(\005\022\030\n\020destination_port\030\005 \001(\005\022\032\n\022sou"
- + "rce_network_uri\030\006 \001(\t\022\037\n\027destination_net"
- + "work_uri\030\007 \001(\t\"\340\001\n\013DeliverInfo\022E\n\006target"
- + "\030\001 \001(\01625.google.cloud.networkmanagement."
- + "v1.DeliverInfo.Target\022\024\n\014resource_uri\030\002 "
- + "\001(\t\"t\n\006Target\022\026\n\022TARGET_UNSPECIFIED\020\000\022\014\n"
- + "\010INSTANCE\020\001\022\014\n\010INTERNET\020\002\022\016\n\nGOOGLE_API\020"
- + "\003\022\016\n\nGKE_MASTER\020\004\022\026\n\022CLOUD_SQL_INSTANCE\020"
- + "\005\"\215\002\n\013ForwardInfo\022E\n\006target\030\001 \001(\01625.goog"
- + "le.cloud.networkmanagement.v1.ForwardInf"
- + "o.Target\022\024\n\014resource_uri\030\002 \001(\t\"\240\001\n\006Targe"
- + "t\022\026\n\022TARGET_UNSPECIFIED\020\000\022\017\n\013PEERING_VPC"
- + "\020\001\022\017\n\013VPN_GATEWAY\020\002\022\020\n\014INTERCONNECT\020\003\022\016\n"
- + "\nGKE_MASTER\020\004\022\"\n\036IMPORTED_CUSTOM_ROUTE_N"
- + "EXT_HOP\020\005\022\026\n\022CLOUD_SQL_INSTANCE\020\006\"\207\004\n\tAb"
- + "ortInfo\022A\n\005cause\030\001 \001(\01622.google.cloud.ne"
- + "tworkmanagement.v1.AbortInfo.Cause\022\024\n\014re"
- + "source_uri\030\002 \001(\t\022#\n\033projects_missing_per"
- + "mission\030\003 \003(\t\"\373\002\n\005Cause\022\025\n\021CAUSE_UNSPECI"
- + "FIED\020\000\022\023\n\017UNKNOWN_NETWORK\020\001\022\016\n\nUNKNOWN_I"
- + "P\020\002\022\023\n\017UNKNOWN_PROJECT\020\003\022\025\n\021PERMISSION_D"
- + "ENIED\020\004\022\026\n\022NO_SOURCE_LOCATION\020\005\022\024\n\020INVAL"
- + "ID_ARGUMENT\020\006\022\022\n\016NO_EXTERNAL_IP\020\007\022\032\n\026UNI"
- + "NTENDED_DESTINATION\020\010\022\022\n\016TRACE_TOO_LONG\020"
- + "\t\022\022\n\016INTERNAL_ERROR\020\n\022\035\n\031SOURCE_ENDPOINT"
- + "_NOT_FOUND\020\013\022\035\n\031MISMATCHED_SOURCE_NETWOR"
- + "K\020\014\022\"\n\036DESTINATION_ENDPOINT_NOT_FOUND\020\r\022"
- + "\"\n\036MISMATCHED_DESTINATION_NETWORK\020\016\"\232\006\n\010"
- + "DropInfo\022@\n\005cause\030\001 \001(\01621.google.cloud.n"
- + "etworkmanagement.v1.DropInfo.Cause\022\024\n\014re"
- + "source_uri\030\002 \001(\t\"\265\005\n\005Cause\022\025\n\021CAUSE_UNSP"
- + "ECIFIED\020\000\022\034\n\030UNKNOWN_EXTERNAL_ADDRESS\020\001\022"
- + "\031\n\025FOREIGN_IP_DISALLOWED\020\002\022\021\n\rFIREWALL_R"
- + "ULE\020\003\022\014\n\010NO_ROUTE\020\004\022\023\n\017ROUTE_BLACKHOLE\020\005"
- + "\022\027\n\023ROUTE_WRONG_NETWORK\020\006\022\037\n\033PRIVATE_TRA"
- + "FFIC_TO_INTERNET\020\007\022$\n PRIVATE_GOOGLE_ACC"
- + "ESS_DISALLOWED\020\010\022\027\n\023NO_EXTERNAL_ADDRESS\020"
- + "\t\022\034\n\030UNKNOWN_INTERNAL_ADDRESS\020\n\022\034\n\030FORWA"
- + "RDING_RULE_MISMATCH\020\013\022 \n\034FORWARDING_RULE"
- + "_NO_INSTANCES\020\014\0228\n4FIREWALL_BLOCKING_LOA"
- + "D_BALANCER_BACKEND_HEALTH_CHECK\020\r\022\030\n\024INS"
- + "TANCE_NOT_RUNNING\020\016\022\030\n\024TRAFFIC_TYPE_BLOC"
- + "KED\020\017\022\"\n\036GKE_MASTER_UNAUTHORIZED_ACCESS\020"
- + "\020\022*\n&CLOUD_SQL_INSTANCE_UNAUTHORIZED_ACC"
- + "ESS\020\021\022\036\n\032DROPPED_INSIDE_GKE_SERVICE\020\022\022$\n"
- + " DROPPED_INSIDE_CLOUD_SQL_SERVICE\020\023\022%\n!G"
- + "OOGLE_MANAGED_SERVICE_NO_PEERING\020\024\022$\n CL"
- + "OUD_SQL_INSTANCE_NO_IP_ADDRESS\020\025\"k\n\rGKEM"
- + "asterInfo\022\023\n\013cluster_uri\030\002 \001(\t\022\033\n\023cluste"
- + "r_network_uri\030\004 \001(\t\022\023\n\013internal_ip\030\005 \001(\t"
- + "\022\023\n\013external_ip\030\006 \001(\t\"\210\001\n\024CloudSQLInstan"
- + "ceInfo\022\024\n\014display_name\030\001 \001(\t\022\013\n\003uri\030\002 \001("
- + "\t\022\023\n\013network_uri\030\004 \001(\t\022\023\n\013internal_ip\030\005 "
- + "\001(\t\022\023\n\013external_ip\030\006 \001(\t\022\016\n\006region\030\007 \001(\t"
- + "B\370\001\n%com.google.cloud.networkmanagement."
- + "v1B\nTraceProtoP\001ZRgoogle.golang.org/genp"
- + "roto/googleapis/cloud/networkmanagement/"
- + "v1;networkmanagement\252\002!Google.Cloud.Netw"
- + "orkManagement.V1\312\002!Google\\Cloud\\NetworkM"
- + "anagement\\V1\352\002$Google::Cloud::NetworkMan"
- + "agement::V1b\006proto3"
+ + "cerBackend.HealthCheckFirewallState\022,\n$h"
+ + "ealth_check_allowing_firewall_rules\030\004 \003("
+ + "\t\022,\n$health_check_blocking_firewall_rule"
+ + "s\030\005 \003(\t\"j\n\030HealthCheckFirewallState\022+\n\'H"
+ + "EALTH_CHECK_FIREWALL_STATE_UNSPECIFIED\020\000"
+ + "\022\016\n\nCONFIGURED\020\001\022\021\n\rMISCONFIGURED\020\002\"\204\001\n\016"
+ + "VpnGatewayInfo\022\024\n\014display_name\030\001 \001(\t\022\013\n\003"
+ + "uri\030\002 \001(\t\022\023\n\013network_uri\030\003 \001(\t\022\022\n\nip_add"
+ + "ress\030\004 \001(\t\022\026\n\016vpn_tunnel_uri\030\005 \001(\t\022\016\n\006re"
+ + "gion\030\006 \001(\t\"\356\002\n\rVpnTunnelInfo\022\024\n\014display_"
+ + "name\030\001 \001(\t\022\013\n\003uri\030\002 \001(\t\022\026\n\016source_gatewa"
+ + "y\030\003 \001(\t\022\026\n\016remote_gateway\030\004 \001(\t\022\031\n\021remot"
+ + "e_gateway_ip\030\005 \001(\t\022\031\n\021source_gateway_ip\030"
+ + "\006 \001(\t\022\023\n\013network_uri\030\007 \001(\t\022\016\n\006region\030\010 \001"
+ + "(\t\022R\n\014routing_type\030\t \001(\0162<.google.cloud."
+ + "networkmanagement.v1.VpnTunnelInfo.Routi"
+ + "ngType\"[\n\013RoutingType\022\034\n\030ROUTING_TYPE_UN"
+ + "SPECIFIED\020\000\022\017\n\013ROUTE_BASED\020\001\022\020\n\014POLICY_B"
+ + "ASED\020\002\022\013\n\007DYNAMIC\020\003\"\267\001\n\014EndpointInfo\022\021\n\t"
+ + "source_ip\030\001 \001(\t\022\026\n\016destination_ip\030\002 \001(\t\022"
+ + "\020\n\010protocol\030\003 \001(\t\022\023\n\013source_port\030\004 \001(\005\022\030"
+ + "\n\020destination_port\030\005 \001(\005\022\032\n\022source_netwo"
+ + "rk_uri\030\006 \001(\t\022\037\n\027destination_network_uri\030"
+ + "\007 \001(\t\"\340\001\n\013DeliverInfo\022E\n\006target\030\001 \001(\01625."
+ + "google.cloud.networkmanagement.v1.Delive"
+ + "rInfo.Target\022\024\n\014resource_uri\030\002 \001(\t\"t\n\006Ta"
+ + "rget\022\026\n\022TARGET_UNSPECIFIED\020\000\022\014\n\010INSTANCE"
+ + "\020\001\022\014\n\010INTERNET\020\002\022\016\n\nGOOGLE_API\020\003\022\016\n\nGKE_"
+ + "MASTER\020\004\022\026\n\022CLOUD_SQL_INSTANCE\020\005\"\215\002\n\013For"
+ + "wardInfo\022E\n\006target\030\001 \001(\01625.google.cloud."
+ + "networkmanagement.v1.ForwardInfo.Target\022"
+ + "\024\n\014resource_uri\030\002 \001(\t\"\240\001\n\006Target\022\026\n\022TARG"
+ + "ET_UNSPECIFIED\020\000\022\017\n\013PEERING_VPC\020\001\022\017\n\013VPN"
+ + "_GATEWAY\020\002\022\020\n\014INTERCONNECT\020\003\022\016\n\nGKE_MAST"
+ + "ER\020\004\022\"\n\036IMPORTED_CUSTOM_ROUTE_NEXT_HOP\020\005"
+ + "\022\026\n\022CLOUD_SQL_INSTANCE\020\006\"\230\004\n\tAbortInfo\022A"
+ + "\n\005cause\030\001 \001(\01622.google.cloud.networkmana"
+ + "gement.v1.AbortInfo.Cause\022\024\n\014resource_ur"
+ + "i\030\002 \001(\t\022#\n\033projects_missing_permission\030\003"
+ + " \003(\t\"\214\003\n\005Cause\022\025\n\021CAUSE_UNSPECIFIED\020\000\022\023\n"
+ + "\017UNKNOWN_NETWORK\020\001\022\016\n\nUNKNOWN_IP\020\002\022\023\n\017UN"
+ + "KNOWN_PROJECT\020\003\022\025\n\021PERMISSION_DENIED\020\004\022\026"
+ + "\n\022NO_SOURCE_LOCATION\020\005\022\024\n\020INVALID_ARGUME"
+ + "NT\020\006\022\022\n\016NO_EXTERNAL_IP\020\007\022\032\n\026UNINTENDED_D"
+ + "ESTINATION\020\010\022\022\n\016TRACE_TOO_LONG\020\t\022\022\n\016INTE"
+ + "RNAL_ERROR\020\n\022\035\n\031SOURCE_ENDPOINT_NOT_FOUN"
+ + "D\020\013\022\035\n\031MISMATCHED_SOURCE_NETWORK\020\014\022\"\n\036DE"
+ + "STINATION_ENDPOINT_NOT_FOUND\020\r\022\"\n\036MISMAT"
+ + "CHED_DESTINATION_NETWORK\020\016\022\017\n\013UNSUPPORTE"
+ + "D\020\017\"\232\006\n\010DropInfo\022@\n\005cause\030\001 \001(\01621.google"
+ + ".cloud.networkmanagement.v1.DropInfo.Cau"
+ + "se\022\024\n\014resource_uri\030\002 \001(\t\"\265\005\n\005Cause\022\025\n\021CA"
+ + "USE_UNSPECIFIED\020\000\022\034\n\030UNKNOWN_EXTERNAL_AD"
+ + "DRESS\020\001\022\031\n\025FOREIGN_IP_DISALLOWED\020\002\022\021\n\rFI"
+ + "REWALL_RULE\020\003\022\014\n\010NO_ROUTE\020\004\022\023\n\017ROUTE_BLA"
+ + "CKHOLE\020\005\022\027\n\023ROUTE_WRONG_NETWORK\020\006\022\037\n\033PRI"
+ + "VATE_TRAFFIC_TO_INTERNET\020\007\022$\n PRIVATE_GO"
+ + "OGLE_ACCESS_DISALLOWED\020\010\022\027\n\023NO_EXTERNAL_"
+ + "ADDRESS\020\t\022\034\n\030UNKNOWN_INTERNAL_ADDRESS\020\n\022"
+ + "\034\n\030FORWARDING_RULE_MISMATCH\020\013\022 \n\034FORWARD"
+ + "ING_RULE_NO_INSTANCES\020\014\0228\n4FIREWALL_BLOC"
+ + "KING_LOAD_BALANCER_BACKEND_HEALTH_CHECK\020"
+ + "\r\022\030\n\024INSTANCE_NOT_RUNNING\020\016\022\030\n\024TRAFFIC_T"
+ + "YPE_BLOCKED\020\017\022\"\n\036GKE_MASTER_UNAUTHORIZED"
+ + "_ACCESS\020\020\022*\n&CLOUD_SQL_INSTANCE_UNAUTHOR"
+ + "IZED_ACCESS\020\021\022\036\n\032DROPPED_INSIDE_GKE_SERV"
+ + "ICE\020\022\022$\n DROPPED_INSIDE_CLOUD_SQL_SERVIC"
+ + "E\020\023\022%\n!GOOGLE_MANAGED_SERVICE_NO_PEERING"
+ + "\020\024\022$\n CLOUD_SQL_INSTANCE_NO_IP_ADDRESS\020\025"
+ + "\"k\n\rGKEMasterInfo\022\023\n\013cluster_uri\030\002 \001(\t\022\033"
+ + "\n\023cluster_network_uri\030\004 \001(\t\022\023\n\013internal_"
+ + "ip\030\005 \001(\t\022\023\n\013external_ip\030\006 \001(\t\"\210\001\n\024CloudS"
+ + "QLInstanceInfo\022\024\n\014display_name\030\001 \001(\t\022\013\n\003"
+ + "uri\030\002 \001(\t\022\023\n\013network_uri\030\004 \001(\t\022\023\n\013intern"
+ + "al_ip\030\005 \001(\t\022\023\n\013external_ip\030\006 \001(\t\022\016\n\006regi"
+ + "on\030\007 \001(\tB\370\001\n%com.google.cloud.networkman"
+ + "agement.v1B\nTraceProtoP\001ZRgoogle.golang."
+ + "org/genproto/googleapis/cloud/networkman"
+ + "agement/v1;networkmanagement\252\002!Google.Cl"
+ + "oud.NetworkManagement.V1\312\002!Google\\Cloud\\"
+ + "NetworkManagement\\V1\352\002$Google::Cloud::Ne"
+ + "tworkManagement::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/connectivity_test.proto b/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/connectivity_test.proto
index 01f1cdd5..36d88b30 100644
--- a/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/connectivity_test.proto
+++ b/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/connectivity_test.proto
@@ -1,4 +1,4 @@
-// Copyright 2021 Google LLC
+// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/reachability.proto b/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/reachability.proto
index 7403314e..522b3c16 100644
--- a/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/reachability.proto
+++ b/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/reachability.proto
@@ -1,4 +1,4 @@
-// Copyright 2021 Google LLC
+// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -19,6 +19,7 @@ package google.cloud.networkmanagement.v1;
import "google/api/annotations.proto";
import "google/api/client.proto";
import "google/api/field_behavior.proto";
+import "google/api/resource.proto";
import "google/cloud/networkmanagement/v1/connectivity_test.proto";
import "google/longrunning/operations.proto";
import "google/protobuf/field_mask.proto";
diff --git a/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/trace.proto b/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/trace.proto
index c34a328d..63ec014e 100644
--- a/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/trace.proto
+++ b/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/trace.proto
@@ -1,4 +1,4 @@
-// Copyright 2021 Google LLC
+// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -370,6 +370,11 @@ message RouteInfo {
// Next hop is the forwarding rule of an Internal Load Balancer.
NEXT_HOP_ILB = 10;
+
+ // Next hop is a
+ // [router appliance
+ // instance](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/ra-overview).
+ NEXT_HOP_ROUTER_APPLIANCE = 11;
}
// Type of route.
@@ -734,6 +739,9 @@ message AbortInfo {
// Aborted because the destination network does not match the destination
// endpoint.
MISMATCHED_DESTINATION_NETWORK = 14;
+
+ // Aborted because the test scenario is not supported.
+ UNSUPPORTED = 15;
}
// Causes that the analysis is aborted.
@@ -788,9 +796,7 @@ message DropInfo {
// Instance with only an internal IP address tries to access external hosts,
// but Cloud NAT is not enabled in the subnet, unless special configurations
- // on a VM allow this connection. For more details, see [Special
- // configurations for VM
- // instances](https://cloud.google.com/vpc/docs/special-configurations).
+ // on a VM allow this connection.
NO_EXTERNAL_ADDRESS = 9;
// Destination internal address cannot be resolved to a known target. If
diff --git a/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/AbortInfo.java b/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/AbortInfo.java
index b48f7d4c..86794b85 100644
--- a/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/AbortInfo.java
+++ b/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/AbortInfo.java
@@ -311,6 +311,16 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
* MISMATCHED_DESTINATION_NETWORK = 14;
*/
MISMATCHED_DESTINATION_NETWORK(14),
+ /**
+ *
+ *
+ * + * Aborted because the test scenario is not supported. + *+ * + *
UNSUPPORTED = 15;
+ */
+ UNSUPPORTED(15),
UNRECOGNIZED(-1),
;
@@ -479,6 +489,16 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
* MISMATCHED_DESTINATION_NETWORK = 14;
*/
public static final int MISMATCHED_DESTINATION_NETWORK_VALUE = 14;
+ /**
+ *
+ *
+ * + * Aborted because the test scenario is not supported. + *+ * + *
UNSUPPORTED = 15;
+ */
+ public static final int UNSUPPORTED_VALUE = 15;
public final int getNumber() {
if (this == UNRECOGNIZED) {
@@ -534,6 +554,8 @@ public static Cause forNumber(int value) {
return DESTINATION_ENDPOINT_NOT_FOUND;
case 14:
return MISMATCHED_DESTINATION_NETWORK;
+ case 15:
+ return UNSUPPORTED;
default:
return null;
}
diff --git a/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudFunctionInfo.java b/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudFunctionInfo.java
new file mode 100644
index 00000000..827b8f37
--- /dev/null
+++ b/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudFunctionInfo.java
@@ -0,0 +1,1090 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/networkmanagement/v1beta1/trace.proto
+
+package com.google.cloud.networkmanagement.v1beta1;
+
+/**
+ *
+ *
+ * + * For display only. Metadata associated with a Cloud function. + *+ * + * Protobuf type {@code google.cloud.networkmanagement.v1beta1.CloudFunctionInfo} + */ +public final class CloudFunctionInfo extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.CloudFunctionInfo) + CloudFunctionInfoOrBuilder { + private static final long serialVersionUID = 0L; + // Use CloudFunctionInfo.newBuilder() to construct. + private CloudFunctionInfo(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private CloudFunctionInfo() { + displayName_ = ""; + uri_ = ""; + location_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CloudFunctionInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private CloudFunctionInfo( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + displayName_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + uri_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + + location_ = s; + break; + } + case 32: + { + versionId_ = input.readInt64(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_CloudFunctionInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_CloudFunctionInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.class, + com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.Builder.class); + } + + public static final int DISPLAY_NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object displayName_; + /** + * + * + *
+ * Name of a Cloud function. + *+ * + *
string display_name = 1;
+ *
+ * @return The displayName.
+ */
+ @java.lang.Override
+ public java.lang.String getDisplayName() {
+ java.lang.Object ref = displayName_;
+ 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();
+ displayName_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * Name of a Cloud function. + *+ * + *
string display_name = 1;
+ *
+ * @return The bytes for displayName.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getDisplayNameBytes() {
+ java.lang.Object ref = displayName_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ displayName_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int URI_FIELD_NUMBER = 2;
+ private volatile java.lang.Object uri_;
+ /**
+ *
+ *
+ * + * URI of a Cloud function. + *+ * + *
string uri = 2;
+ *
+ * @return The uri.
+ */
+ @java.lang.Override
+ public java.lang.String getUri() {
+ java.lang.Object ref = uri_;
+ 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();
+ uri_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * URI of a Cloud function. + *+ * + *
string uri = 2;
+ *
+ * @return The bytes for uri.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getUriBytes() {
+ java.lang.Object ref = uri_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ uri_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int LOCATION_FIELD_NUMBER = 3;
+ private volatile java.lang.Object location_;
+ /**
+ *
+ *
+ * + * Location in which the Cloud function is deployed. + *+ * + *
string location = 3;
+ *
+ * @return The location.
+ */
+ @java.lang.Override
+ public java.lang.String getLocation() {
+ java.lang.Object ref = location_;
+ 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();
+ location_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * Location in which the Cloud function is deployed. + *+ * + *
string location = 3;
+ *
+ * @return The bytes for location.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getLocationBytes() {
+ java.lang.Object ref = location_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ location_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int VERSION_ID_FIELD_NUMBER = 4;
+ private long versionId_;
+ /**
+ *
+ *
+ * + * Latest successfully deployed version id of the Cloud function. + *+ * + *
int64 version_id = 4;
+ *
+ * @return The versionId.
+ */
+ @java.lang.Override
+ public long getVersionId() {
+ return versionId_;
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, uri_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, location_);
+ }
+ if (versionId_ != 0L) {
+ output.writeInt64(4, versionId_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, displayName_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uri_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, location_);
+ }
+ if (versionId_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, versionId_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo other =
+ (com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo) obj;
+
+ if (!getDisplayName().equals(other.getDisplayName())) return false;
+ if (!getUri().equals(other.getUri())) return false;
+ if (!getLocation().equals(other.getLocation())) return false;
+ if (getVersionId() != other.getVersionId()) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER;
+ hash = (53 * hash) + getDisplayName().hashCode();
+ hash = (37 * hash) + URI_FIELD_NUMBER;
+ hash = (53 * hash) + getUri().hashCode();
+ hash = (37 * hash) + LOCATION_FIELD_NUMBER;
+ hash = (53 * hash) + getLocation().hashCode();
+ hash = (37 * hash) + VERSION_ID_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getVersionId());
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(
+ com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ * + * For display only. Metadata associated with a Cloud function. + *+ * + * Protobuf type {@code google.cloud.networkmanagement.v1beta1.CloudFunctionInfo} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Name of a Cloud function. + *+ * + *
string display_name = 1;
+ *
+ * @return The displayName.
+ */
+ public java.lang.String getDisplayName() {
+ java.lang.Object ref = displayName_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ displayName_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Name of a Cloud function. + *+ * + *
string display_name = 1;
+ *
+ * @return The bytes for displayName.
+ */
+ public com.google.protobuf.ByteString getDisplayNameBytes() {
+ java.lang.Object ref = displayName_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ displayName_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Name of a Cloud function. + *+ * + *
string display_name = 1;
+ *
+ * @param value The displayName to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDisplayName(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ displayName_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Name of a Cloud function. + *+ * + *
string display_name = 1;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearDisplayName() {
+
+ displayName_ = getDefaultInstance().getDisplayName();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Name of a Cloud function. + *+ * + *
string display_name = 1;
+ *
+ * @param value The bytes for displayName to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ displayName_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object uri_ = "";
+ /**
+ *
+ *
+ * + * URI of a Cloud function. + *+ * + *
string uri = 2;
+ *
+ * @return The uri.
+ */
+ public java.lang.String getUri() {
+ java.lang.Object ref = uri_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ uri_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * URI of a Cloud function. + *+ * + *
string uri = 2;
+ *
+ * @return The bytes for uri.
+ */
+ public com.google.protobuf.ByteString getUriBytes() {
+ java.lang.Object ref = uri_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ uri_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * URI of a Cloud function. + *+ * + *
string uri = 2;
+ *
+ * @param value The uri to set.
+ * @return This builder for chaining.
+ */
+ public Builder setUri(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ uri_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * URI of a Cloud function. + *+ * + *
string uri = 2;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearUri() {
+
+ uri_ = getDefaultInstance().getUri();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * URI of a Cloud function. + *+ * + *
string uri = 2;
+ *
+ * @param value The bytes for uri to set.
+ * @return This builder for chaining.
+ */
+ public Builder setUriBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ uri_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object location_ = "";
+ /**
+ *
+ *
+ * + * Location in which the Cloud function is deployed. + *+ * + *
string location = 3;
+ *
+ * @return The location.
+ */
+ public java.lang.String getLocation() {
+ java.lang.Object ref = location_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ location_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Location in which the Cloud function is deployed. + *+ * + *
string location = 3;
+ *
+ * @return The bytes for location.
+ */
+ public com.google.protobuf.ByteString getLocationBytes() {
+ java.lang.Object ref = location_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ location_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Location in which the Cloud function is deployed. + *+ * + *
string location = 3;
+ *
+ * @param value The location to set.
+ * @return This builder for chaining.
+ */
+ public Builder setLocation(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ location_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Location in which the Cloud function is deployed. + *+ * + *
string location = 3;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearLocation() {
+
+ location_ = getDefaultInstance().getLocation();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Location in which the Cloud function is deployed. + *+ * + *
string location = 3;
+ *
+ * @param value The bytes for location to set.
+ * @return This builder for chaining.
+ */
+ public Builder setLocationBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ location_ = value;
+ onChanged();
+ return this;
+ }
+
+ private long versionId_;
+ /**
+ *
+ *
+ * + * Latest successfully deployed version id of the Cloud function. + *+ * + *
int64 version_id = 4;
+ *
+ * @return The versionId.
+ */
+ @java.lang.Override
+ public long getVersionId() {
+ return versionId_;
+ }
+ /**
+ *
+ *
+ * + * Latest successfully deployed version id of the Cloud function. + *+ * + *
int64 version_id = 4;
+ *
+ * @param value The versionId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setVersionId(long value) {
+
+ versionId_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Latest successfully deployed version id of the Cloud function. + *+ * + *
int64 version_id = 4;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearVersionId() {
+
+ versionId_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.CloudFunctionInfo)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.CloudFunctionInfo)
+ private static final com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo();
+ }
+
+ public static com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * Name of a Cloud function. + *+ * + *
string display_name = 1;
+ *
+ * @return The displayName.
+ */
+ java.lang.String getDisplayName();
+ /**
+ *
+ *
+ * + * Name of a Cloud function. + *+ * + *
string display_name = 1;
+ *
+ * @return The bytes for displayName.
+ */
+ com.google.protobuf.ByteString getDisplayNameBytes();
+
+ /**
+ *
+ *
+ * + * URI of a Cloud function. + *+ * + *
string uri = 2;
+ *
+ * @return The uri.
+ */
+ java.lang.String getUri();
+ /**
+ *
+ *
+ * + * URI of a Cloud function. + *+ * + *
string uri = 2;
+ *
+ * @return The bytes for uri.
+ */
+ com.google.protobuf.ByteString getUriBytes();
+
+ /**
+ *
+ *
+ * + * Location in which the Cloud function is deployed. + *+ * + *
string location = 3;
+ *
+ * @return The location.
+ */
+ java.lang.String getLocation();
+ /**
+ *
+ *
+ * + * Location in which the Cloud function is deployed. + *+ * + *
string location = 3;
+ *
+ * @return The bytes for location.
+ */
+ com.google.protobuf.ByteString getLocationBytes();
+
+ /**
+ *
+ *
+ * + * Latest successfully deployed version id of the Cloud function. + *+ * + *
int64 version_id = 4;
+ *
+ * @return The versionId.
+ */
+ long getVersionId();
+}
diff --git a/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ConnectivityTest.java b/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ConnectivityTest.java
index 93475d2e..b38089f1 100644
--- a/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ConnectivityTest.java
+++ b/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ConnectivityTest.java
@@ -998,10 +998,10 @@ public com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails getReachab
*
*
* - * Output only. The probing details of this test from the latest run, present for - * applicable tests only. The details are updated when creating a new test, - * updating an existing test, or triggering a one-time rerun of an existing - * test. + * Output only. The probing details of this test from the latest run, present + * for applicable tests only. The details are updated when creating a new + * test, updating an existing test, or triggering a one-time rerun of an + * existing test. ** *
@@ -1018,10 +1018,10 @@ public boolean hasProbingDetails() {
*
*
*
- * Output only. The probing details of this test from the latest run, present for
- * applicable tests only. The details are updated when creating a new test,
- * updating an existing test, or triggering a one-time rerun of an existing
- * test.
+ * Output only. The probing details of this test from the latest run, present
+ * for applicable tests only. The details are updated when creating a new
+ * test, updating an existing test, or triggering a one-time rerun of an
+ * existing test.
*
*
*
@@ -1040,10 +1040,10 @@ public com.google.cloud.networkmanagement.v1beta1.ProbingDetails getProbingDetai
*
*
*
- * Output only. The probing details of this test from the latest run, present for
- * applicable tests only. The details are updated when creating a new test,
- * updating an existing test, or triggering a one-time rerun of an existing
- * test.
+ * Output only. The probing details of this test from the latest run, present
+ * for applicable tests only. The details are updated when creating a new
+ * test, updating an existing test, or triggering a one-time rerun of an
+ * existing test.
*
*
*
@@ -3746,10 +3746,10 @@ public Builder clearReachabilityDetails() {
*
*
*
- * Output only. The probing details of this test from the latest run, present for
- * applicable tests only. The details are updated when creating a new test,
- * updating an existing test, or triggering a one-time rerun of an existing
- * test.
+ * Output only. The probing details of this test from the latest run, present
+ * for applicable tests only. The details are updated when creating a new
+ * test, updating an existing test, or triggering a one-time rerun of an
+ * existing test.
*
*
*
@@ -3765,10 +3765,10 @@ public boolean hasProbingDetails() {
*
*
*
- * Output only. The probing details of this test from the latest run, present for
- * applicable tests only. The details are updated when creating a new test,
- * updating an existing test, or triggering a one-time rerun of an existing
- * test.
+ * Output only. The probing details of this test from the latest run, present
+ * for applicable tests only. The details are updated when creating a new
+ * test, updating an existing test, or triggering a one-time rerun of an
+ * existing test.
*
*
*
@@ -3790,10 +3790,10 @@ public com.google.cloud.networkmanagement.v1beta1.ProbingDetails getProbingDetai
*
*
*
- * Output only. The probing details of this test from the latest run, present for
- * applicable tests only. The details are updated when creating a new test,
- * updating an existing test, or triggering a one-time rerun of an existing
- * test.
+ * Output only. The probing details of this test from the latest run, present
+ * for applicable tests only. The details are updated when creating a new
+ * test, updating an existing test, or triggering a one-time rerun of an
+ * existing test.
*
*
*
@@ -3818,10 +3818,10 @@ public Builder setProbingDetails(
*
*
*
- * Output only. The probing details of this test from the latest run, present for
- * applicable tests only. The details are updated when creating a new test,
- * updating an existing test, or triggering a one-time rerun of an existing
- * test.
+ * Output only. The probing details of this test from the latest run, present
+ * for applicable tests only. The details are updated when creating a new
+ * test, updating an existing test, or triggering a one-time rerun of an
+ * existing test.
*
*
*
@@ -3843,10 +3843,10 @@ public Builder setProbingDetails(
*
*
*
- * Output only. The probing details of this test from the latest run, present for
- * applicable tests only. The details are updated when creating a new test,
- * updating an existing test, or triggering a one-time rerun of an existing
- * test.
+ * Output only. The probing details of this test from the latest run, present
+ * for applicable tests only. The details are updated when creating a new
+ * test, updating an existing test, or triggering a one-time rerun of an
+ * existing test.
*
*
*
@@ -3875,10 +3875,10 @@ public Builder mergeProbingDetails(
*
*
*
- * Output only. The probing details of this test from the latest run, present for
- * applicable tests only. The details are updated when creating a new test,
- * updating an existing test, or triggering a one-time rerun of an existing
- * test.
+ * Output only. The probing details of this test from the latest run, present
+ * for applicable tests only. The details are updated when creating a new
+ * test, updating an existing test, or triggering a one-time rerun of an
+ * existing test.
*
*
*
@@ -3900,10 +3900,10 @@ public Builder clearProbingDetails() {
*
*
*
- * Output only. The probing details of this test from the latest run, present for
- * applicable tests only. The details are updated when creating a new test,
- * updating an existing test, or triggering a one-time rerun of an existing
- * test.
+ * Output only. The probing details of this test from the latest run, present
+ * for applicable tests only. The details are updated when creating a new
+ * test, updating an existing test, or triggering a one-time rerun of an
+ * existing test.
*
*
*
@@ -3920,10 +3920,10 @@ public Builder clearProbingDetails() {
*
*
*
- * Output only. The probing details of this test from the latest run, present for
- * applicable tests only. The details are updated when creating a new test,
- * updating an existing test, or triggering a one-time rerun of an existing
- * test.
+ * Output only. The probing details of this test from the latest run, present
+ * for applicable tests only. The details are updated when creating a new
+ * test, updating an existing test, or triggering a one-time rerun of an
+ * existing test.
*
*
*
@@ -3944,10 +3944,10 @@ public Builder clearProbingDetails() {
*
*
*
- * Output only. The probing details of this test from the latest run, present for
- * applicable tests only. The details are updated when creating a new test,
- * updating an existing test, or triggering a one-time rerun of an existing
- * test.
+ * Output only. The probing details of this test from the latest run, present
+ * for applicable tests only. The details are updated when creating a new
+ * test, updating an existing test, or triggering a one-time rerun of an
+ * existing test.
*
*
*
diff --git a/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ConnectivityTestOrBuilder.java b/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ConnectivityTestOrBuilder.java
index f8cf1e80..9fe3e8e1 100644
--- a/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ConnectivityTestOrBuilder.java
+++ b/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ConnectivityTestOrBuilder.java
@@ -538,10 +538,10 @@ java.lang.String getLabelsOrDefault(
*
*
*
- * Output only. The probing details of this test from the latest run, present for
- * applicable tests only. The details are updated when creating a new test,
- * updating an existing test, or triggering a one-time rerun of an existing
- * test.
+ * Output only. The probing details of this test from the latest run, present
+ * for applicable tests only. The details are updated when creating a new
+ * test, updating an existing test, or triggering a one-time rerun of an
+ * existing test.
*
*
*
@@ -555,10 +555,10 @@ java.lang.String getLabelsOrDefault(
*
*
*
- * Output only. The probing details of this test from the latest run, present for
- * applicable tests only. The details are updated when creating a new test,
- * updating an existing test, or triggering a one-time rerun of an existing
- * test.
+ * Output only. The probing details of this test from the latest run, present
+ * for applicable tests only. The details are updated when creating a new
+ * test, updating an existing test, or triggering a one-time rerun of an
+ * existing test.
*
*
*
@@ -572,10 +572,10 @@ java.lang.String getLabelsOrDefault(
*
*
*
- * Output only. The probing details of this test from the latest run, present for
- * applicable tests only. The details are updated when creating a new test,
- * updating an existing test, or triggering a one-time rerun of an existing
- * test.
+ * Output only. The probing details of this test from the latest run, present
+ * for applicable tests only. The details are updated when creating a new
+ * test, updating an existing test, or triggering a one-time rerun of an
+ * existing test.
*
*
*
diff --git a/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeliverInfo.java b/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeliverInfo.java
index 6bd0824e..7c04df12 100644
--- a/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeliverInfo.java
+++ b/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeliverInfo.java
@@ -191,6 +191,39 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum {
* CLOUD_SQL_INSTANCE = 5;
*/
CLOUD_SQL_INSTANCE(5),
+ /**
+ *
+ *
+ *
+ * Target is a published service using [Private Service
+ * Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-services).
+ *
+ *
+ * PSC_PUBLISHED_SERVICE = 6;
+ */
+ PSC_PUBLISHED_SERVICE(6),
+ /**
+ *
+ *
+ *
+ * Target is all Google APIs using [Private Service
+ * Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-apis).
+ *
+ *
+ * PSC_GOOGLE_API = 7;
+ */
+ PSC_GOOGLE_API(7),
+ /**
+ *
+ *
+ *
+ * Target is VPC-SC using [Private Service
+ * Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-apis).
+ *
+ *
+ * PSC_VPC_SC = 8;
+ */
+ PSC_VPC_SC(8),
UNRECOGNIZED(-1),
;
@@ -254,6 +287,39 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum {
* CLOUD_SQL_INSTANCE = 5;
*/
public static final int CLOUD_SQL_INSTANCE_VALUE = 5;
+ /**
+ *
+ *
+ *
+ * Target is a published service using [Private Service
+ * Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-services).
+ *
+ *
+ * PSC_PUBLISHED_SERVICE = 6;
+ */
+ public static final int PSC_PUBLISHED_SERVICE_VALUE = 6;
+ /**
+ *
+ *
+ *
+ * Target is all Google APIs using [Private Service
+ * Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-apis).
+ *
+ *
+ * PSC_GOOGLE_API = 7;
+ */
+ public static final int PSC_GOOGLE_API_VALUE = 7;
+ /**
+ *
+ *
+ *
+ * Target is VPC-SC using [Private Service
+ * Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-apis).
+ *
+ *
+ * PSC_VPC_SC = 8;
+ */
+ public static final int PSC_VPC_SC_VALUE = 8;
public final int getNumber() {
if (this == UNRECOGNIZED) {
@@ -291,6 +357,12 @@ public static Target forNumber(int value) {
return GKE_MASTER;
case 5:
return CLOUD_SQL_INSTANCE;
+ case 6:
+ return PSC_PUBLISHED_SERVICE;
+ case 7:
+ return PSC_GOOGLE_API;
+ case 8:
+ return PSC_VPC_SC;
default:
return null;
}
diff --git a/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DropInfo.java b/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DropInfo.java
index 3db8c647..6e437edf 100644
--- a/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DropInfo.java
+++ b/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DropInfo.java
@@ -157,7 +157,7 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
*
*
*
- * a Compute Engine instance can only send or receive a packet with a
+ * A Compute Engine instance can only send or receive a packet with a
* foreign IP address if ip_forward is enabled.
*
*
@@ -234,9 +234,7 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
*
* Instance with only an internal IP address tries to access external hosts,
* but Cloud NAT is not enabled in the subnet, unless special configurations
- * on a VM allow this connection. For more details, see [Special
- * configurations for VM
- * instances](https://cloud.google.com/vpc/docs/special-configurations).
+ * on a VM allow this connection.
*
*
* NO_EXTERNAL_ADDRESS = 9;
@@ -380,6 +378,59 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
* CLOUD_SQL_INSTANCE_NO_IP_ADDRESS = 21;
*/
CLOUD_SQL_INSTANCE_NO_IP_ADDRESS(21),
+ /**
+ *
+ *
+ *
+ * Packet could be dropped because the Cloud function is not in an active
+ * status.
+ *
+ *
+ * CLOUD_FUNCTION_NOT_ACTIVE = 22;
+ */
+ CLOUD_FUNCTION_NOT_ACTIVE(22),
+ /**
+ *
+ *
+ *
+ * Packet could be dropped because no VPC connector is set.
+ *
+ *
+ * VPC_CONNECTOR_NOT_SET = 23;
+ */
+ VPC_CONNECTOR_NOT_SET(23),
+ /**
+ *
+ *
+ *
+ * Packet could be dropped because the VPC connector is not in a running
+ * state.
+ *
+ *
+ * VPC_CONNECTOR_NOT_RUNNING = 24;
+ */
+ VPC_CONNECTOR_NOT_RUNNING(24),
+ /**
+ *
+ *
+ *
+ * Packet could be dropped because it was sent from a different region
+ * to a regional forwarding without global access.
+ *
+ *
+ * FORWARDING_RULE_REGION_MISMATCH = 25;
+ */
+ FORWARDING_RULE_REGION_MISMATCH(25),
+ /**
+ *
+ *
+ *
+ * Privte Service Connect (PSC) connection is not in accepted state.
+ *
+ *
+ * PSC_CONNECTION_NOT_ACCEPTED = 26;
+ */
+ PSC_CONNECTION_NOT_ACCEPTED(26),
UNRECOGNIZED(-1),
;
@@ -409,7 +460,7 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
*
*
*
- * a Compute Engine instance can only send or receive a packet with a
+ * A Compute Engine instance can only send or receive a packet with a
* foreign IP address if ip_forward is enabled.
*
*
@@ -486,9 +537,7 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
*
* Instance with only an internal IP address tries to access external hosts,
* but Cloud NAT is not enabled in the subnet, unless special configurations
- * on a VM allow this connection. For more details, see [Special
- * configurations for VM
- * instances](https://cloud.google.com/vpc/docs/special-configurations).
+ * on a VM allow this connection.
*
*
* NO_EXTERNAL_ADDRESS = 9;
@@ -632,6 +681,59 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
* CLOUD_SQL_INSTANCE_NO_IP_ADDRESS = 21;
*/
public static final int CLOUD_SQL_INSTANCE_NO_IP_ADDRESS_VALUE = 21;
+ /**
+ *
+ *
+ *
+ * Packet could be dropped because the Cloud function is not in an active
+ * status.
+ *
+ *
+ * CLOUD_FUNCTION_NOT_ACTIVE = 22;
+ */
+ public static final int CLOUD_FUNCTION_NOT_ACTIVE_VALUE = 22;
+ /**
+ *
+ *
+ *
+ * Packet could be dropped because no VPC connector is set.
+ *
+ *
+ * VPC_CONNECTOR_NOT_SET = 23;
+ */
+ public static final int VPC_CONNECTOR_NOT_SET_VALUE = 23;
+ /**
+ *
+ *
+ *
+ * Packet could be dropped because the VPC connector is not in a running
+ * state.
+ *
+ *
+ * VPC_CONNECTOR_NOT_RUNNING = 24;
+ */
+ public static final int VPC_CONNECTOR_NOT_RUNNING_VALUE = 24;
+ /**
+ *
+ *
+ *
+ * Packet could be dropped because it was sent from a different region
+ * to a regional forwarding without global access.
+ *
+ *
+ * FORWARDING_RULE_REGION_MISMATCH = 25;
+ */
+ public static final int FORWARDING_RULE_REGION_MISMATCH_VALUE = 25;
+ /**
+ *
+ *
+ *
+ * Privte Service Connect (PSC) connection is not in accepted state.
+ *
+ *
+ * PSC_CONNECTION_NOT_ACCEPTED = 26;
+ */
+ public static final int PSC_CONNECTION_NOT_ACCEPTED_VALUE = 26;
public final int getNumber() {
if (this == UNRECOGNIZED) {
@@ -701,6 +803,16 @@ public static Cause forNumber(int value) {
return GOOGLE_MANAGED_SERVICE_NO_PEERING;
case 21:
return CLOUD_SQL_INSTANCE_NO_IP_ADDRESS;
+ case 22:
+ return CLOUD_FUNCTION_NOT_ACTIVE;
+ case 23:
+ return VPC_CONNECTOR_NOT_SET;
+ case 24:
+ return VPC_CONNECTOR_NOT_RUNNING;
+ case 25:
+ return FORWARDING_RULE_REGION_MISMATCH;
+ case 26:
+ return PSC_CONNECTION_NOT_ACCEPTED;
default:
return null;
}
diff --git a/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/Endpoint.java b/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/Endpoint.java
index 7b2b6fea..82d2c16f 100644
--- a/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/Endpoint.java
+++ b/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/Endpoint.java
@@ -128,6 +128,25 @@ private Endpoint(
java.lang.String s = input.readStringRequireUtf8();
cloudSqlInstance_ = s;
+ break;
+ }
+ case 82:
+ {
+ com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.Builder
+ subBuilder = null;
+ if (cloudFunction_ != null) {
+ subBuilder = cloudFunction_.toBuilder();
+ }
+ cloudFunction_ =
+ input.readMessage(
+ com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint
+ .parser(),
+ extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(cloudFunction_);
+ cloudFunction_ = subBuilder.buildPartial();
+ }
+
break;
}
default:
@@ -334,6 +353,685 @@ private NetworkType(int value) {
// @@protoc_insertion_point(enum_scope:google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType)
}
+ public interface CloudFunctionEndpointOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * A [Cloud function](https://cloud.google.com/functions) name.
+ *
+ *
+ * string uri = 1;
+ *
+ * @return The uri.
+ */
+ java.lang.String getUri();
+ /**
+ *
+ *
+ *
+ * A [Cloud function](https://cloud.google.com/functions) name.
+ *
+ *
+ * string uri = 1;
+ *
+ * @return The bytes for uri.
+ */
+ com.google.protobuf.ByteString getUriBytes();
+ }
+ /**
+ *
+ *
+ *
+ * Wrapper for cloud function attributes.
+ *
+ *
+ * Protobuf type {@code google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint}
+ */
+ public static final class CloudFunctionEndpoint extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint)
+ CloudFunctionEndpointOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use CloudFunctionEndpoint.newBuilder() to construct.
+ private CloudFunctionEndpoint(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private CloudFunctionEndpoint() {
+ uri_ = "";
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CloudFunctionEndpoint();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
+ }
+
+ private CloudFunctionEndpoint(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10:
+ {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ uri_ = s;
+ break;
+ }
+ default:
+ {
+ if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+ } finally {
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.networkmanagement.v1beta1.TestOuterClass
+ .internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_CloudFunctionEndpoint_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.networkmanagement.v1beta1.TestOuterClass
+ .internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_CloudFunctionEndpoint_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.class,
+ com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.Builder
+ .class);
+ }
+
+ public static final int URI_FIELD_NUMBER = 1;
+ private volatile java.lang.Object uri_;
+ /**
+ *
+ *
+ *
+ * A [Cloud function](https://cloud.google.com/functions) name.
+ *
+ *
+ * string uri = 1;
+ *
+ * @return The uri.
+ */
+ @java.lang.Override
+ public java.lang.String getUri() {
+ java.lang.Object ref = uri_;
+ 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();
+ uri_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * A [Cloud function](https://cloud.google.com/functions) name.
+ *
+ *
+ * string uri = 1;
+ *
+ * @return The bytes for uri.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getUriBytes() {
+ java.lang.Object ref = uri_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ uri_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uri_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, uri_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj
+ instanceof com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint other =
+ (com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint) obj;
+
+ if (!getUri().equals(other.getUri())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + URI_FIELD_NUMBER;
+ hash = (53 * hash) + getUri().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint
+ parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint
+ parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint
+ parseFrom(com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint
+ parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint
+ parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint
+ parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint
+ parseFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint
+ parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint
+ parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint
+ parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint
+ parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint
+ parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(
+ com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ *
+ * Wrapper for cloud function attributes.
+ *
+ *
+ * Protobuf type {@code google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint}
+ */
+ public static final class Builder
+ extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint)
+ com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpointOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.networkmanagement.v1beta1.TestOuterClass
+ .internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_CloudFunctionEndpoint_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.networkmanagement.v1beta1.TestOuterClass
+ .internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_CloudFunctionEndpoint_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.class,
+ com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.Builder
+ .class);
+ }
+
+ // Construct using
+ // com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ uri_ = "";
+
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.cloud.networkmanagement.v1beta1.TestOuterClass
+ .internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_CloudFunctionEndpoint_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint
+ getDefaultInstanceForType() {
+ return com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint
+ .getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint build() {
+ com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint result =
+ buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint
+ buildPartial() {
+ com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint result =
+ new com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint(this);
+ result.uri_ = uri_;
+ onBuilt();
+ return result;
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return super.clone();
+ }
+
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.setField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
+ }
+
+ @java.lang.Override
+ public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
+ }
+
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ int index,
+ java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
+ }
+
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.addRepeatedField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other
+ instanceof com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint) {
+ return mergeFrom(
+ (com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(
+ com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint other) {
+ if (other
+ == com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint
+ .getDefaultInstance()) return this;
+ if (!other.getUri().isEmpty()) {
+ uri_ = other.uri_;
+ onChanged();
+ }
+ this.mergeUnknownFields(other.unknownFields);
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint parsedMessage =
+ null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage =
+ (com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint)
+ e.getUnfinishedMessage();
+ throw e.unwrapIOException();
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+
+ private java.lang.Object uri_ = "";
+ /**
+ *
+ *
+ *
+ * A [Cloud function](https://cloud.google.com/functions) name.
+ *
+ *
+ * string uri = 1;
+ *
+ * @return The uri.
+ */
+ public java.lang.String getUri() {
+ java.lang.Object ref = uri_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ uri_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * A [Cloud function](https://cloud.google.com/functions) name.
+ *
+ *
+ * string uri = 1;
+ *
+ * @return The bytes for uri.
+ */
+ public com.google.protobuf.ByteString getUriBytes() {
+ java.lang.Object ref = uri_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ uri_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * A [Cloud function](https://cloud.google.com/functions) name.
+ *
+ *
+ * string uri = 1;
+ *
+ * @param value The uri to set.
+ * @return This builder for chaining.
+ */
+ public Builder setUri(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ uri_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * A [Cloud function](https://cloud.google.com/functions) name.
+ *
+ *
+ * string uri = 1;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearUri() {
+
+ uri_ = getDefaultInstance().getUri();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * A [Cloud function](https://cloud.google.com/functions) name.
+ *
+ *
+ * string uri = 1;
+ *
+ * @param value The bytes for uri to set.
+ * @return This builder for chaining.
+ */
+ public Builder setUriBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ uri_ = value;
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint)
+ private static final com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE =
+ new com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint();
+ }
+
+ public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public CloudFunctionEndpoint parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new CloudFunctionEndpoint(input, extensionRegistry);
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint
+ getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+ }
+
public static final int IP_ADDRESS_FIELD_NUMBER = 1;
private volatile java.lang.Object ipAddress_;
/**
@@ -557,6 +1255,63 @@ public com.google.protobuf.ByteString getCloudSqlInstanceBytes() {
}
}
+ public static final int CLOUD_FUNCTION_FIELD_NUMBER = 10;
+ private com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloudFunction_;
+ /**
+ *
+ *
+ *
+ * A [Cloud function](https://cloud.google.com/functions).
+ *
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10;
+ *
+ *
+ * @return Whether the cloudFunction field is set.
+ */
+ @java.lang.Override
+ public boolean hasCloudFunction() {
+ return cloudFunction_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * A [Cloud function](https://cloud.google.com/functions).
+ *
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10;
+ *
+ *
+ * @return The cloudFunction.
+ */
+ @java.lang.Override
+ public com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint
+ getCloudFunction() {
+ return cloudFunction_ == null
+ ? com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint
+ .getDefaultInstance()
+ : cloudFunction_;
+ }
+ /**
+ *
+ *
+ *
+ * A [Cloud function](https://cloud.google.com/functions).
+ *
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpointOrBuilder
+ getCloudFunctionOrBuilder() {
+ return getCloudFunction();
+ }
+
public static final int NETWORK_FIELD_NUMBER = 4;
private volatile java.lang.Object network_;
/**
@@ -753,6 +1508,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 (cloudFunction_ != null) {
+ output.writeMessage(10, getCloudFunction());
+ }
unknownFields.writeTo(output);
}
@@ -788,6 +1546,9 @@ public int getSerializedSize() {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cloudSqlInstance_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, cloudSqlInstance_);
}
+ if (cloudFunction_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getCloudFunction());
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -809,6 +1570,10 @@ public boolean equals(final java.lang.Object obj) {
if (!getInstance().equals(other.getInstance())) return false;
if (!getGkeMasterCluster().equals(other.getGkeMasterCluster())) return false;
if (!getCloudSqlInstance().equals(other.getCloudSqlInstance())) return false;
+ if (hasCloudFunction() != other.hasCloudFunction()) return false;
+ if (hasCloudFunction()) {
+ if (!getCloudFunction().equals(other.getCloudFunction())) return false;
+ }
if (!getNetwork().equals(other.getNetwork())) return false;
if (networkType_ != other.networkType_) return false;
if (!getProjectId().equals(other.getProjectId())) return false;
@@ -833,6 +1598,10 @@ public int hashCode() {
hash = (53 * hash) + getGkeMasterCluster().hashCode();
hash = (37 * hash) + CLOUD_SQL_INSTANCE_FIELD_NUMBER;
hash = (53 * hash) + getCloudSqlInstance().hashCode();
+ if (hasCloudFunction()) {
+ hash = (37 * hash) + CLOUD_FUNCTION_FIELD_NUMBER;
+ hash = (53 * hash) + getCloudFunction().hashCode();
+ }
hash = (37 * hash) + NETWORK_FIELD_NUMBER;
hash = (53 * hash) + getNetwork().hashCode();
hash = (37 * hash) + NETWORK_TYPE_FIELD_NUMBER;
@@ -994,6 +1763,12 @@ public Builder clear() {
cloudSqlInstance_ = "";
+ if (cloudFunctionBuilder_ == null) {
+ cloudFunction_ = null;
+ } else {
+ cloudFunction_ = null;
+ cloudFunctionBuilder_ = null;
+ }
network_ = "";
networkType_ = 0;
@@ -1032,6 +1807,11 @@ public com.google.cloud.networkmanagement.v1beta1.Endpoint buildPartial() {
result.instance_ = instance_;
result.gkeMasterCluster_ = gkeMasterCluster_;
result.cloudSqlInstance_ = cloudSqlInstance_;
+ if (cloudFunctionBuilder_ == null) {
+ result.cloudFunction_ = cloudFunction_;
+ } else {
+ result.cloudFunction_ = cloudFunctionBuilder_.build();
+ }
result.network_ = network_;
result.networkType_ = networkType_;
result.projectId_ = projectId_;
@@ -1104,6 +1884,9 @@ public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.Endpoint oth
cloudSqlInstance_ = other.cloudSqlInstance_;
onChanged();
}
+ if (other.hasCloudFunction()) {
+ mergeCloudFunction(other.getCloudFunction());
+ }
if (!other.getNetwork().isEmpty()) {
network_ = other.network_;
onChanged();
@@ -1644,6 +2427,220 @@ public Builder setCloudSqlInstanceBytes(com.google.protobuf.ByteString value) {
return this;
}
+ private com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint
+ cloudFunction_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint,
+ com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.Builder,
+ com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpointOrBuilder>
+ cloudFunctionBuilder_;
+ /**
+ *
+ *
+ *
+ * A [Cloud function](https://cloud.google.com/functions).
+ *
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10;
+ *
+ *
+ * @return Whether the cloudFunction field is set.
+ */
+ public boolean hasCloudFunction() {
+ return cloudFunctionBuilder_ != null || cloudFunction_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * A [Cloud function](https://cloud.google.com/functions).
+ *
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10;
+ *
+ *
+ * @return The cloudFunction.
+ */
+ public com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint
+ getCloudFunction() {
+ if (cloudFunctionBuilder_ == null) {
+ return cloudFunction_ == null
+ ? com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint
+ .getDefaultInstance()
+ : cloudFunction_;
+ } else {
+ return cloudFunctionBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * A [Cloud function](https://cloud.google.com/functions).
+ *
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10;
+ *
+ */
+ public Builder setCloudFunction(
+ com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint value) {
+ if (cloudFunctionBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ cloudFunction_ = value;
+ onChanged();
+ } else {
+ cloudFunctionBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * A [Cloud function](https://cloud.google.com/functions).
+ *
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10;
+ *
+ */
+ public Builder setCloudFunction(
+ com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.Builder
+ builderForValue) {
+ if (cloudFunctionBuilder_ == null) {
+ cloudFunction_ = builderForValue.build();
+ onChanged();
+ } else {
+ cloudFunctionBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * A [Cloud function](https://cloud.google.com/functions).
+ *
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10;
+ *
+ */
+ public Builder mergeCloudFunction(
+ com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint value) {
+ if (cloudFunctionBuilder_ == null) {
+ if (cloudFunction_ != null) {
+ cloudFunction_ =
+ com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.newBuilder(
+ cloudFunction_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ cloudFunction_ = value;
+ }
+ onChanged();
+ } else {
+ cloudFunctionBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * A [Cloud function](https://cloud.google.com/functions).
+ *
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10;
+ *
+ */
+ public Builder clearCloudFunction() {
+ if (cloudFunctionBuilder_ == null) {
+ cloudFunction_ = null;
+ onChanged();
+ } else {
+ cloudFunction_ = null;
+ cloudFunctionBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * A [Cloud function](https://cloud.google.com/functions).
+ *
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10;
+ *
+ */
+ public com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.Builder
+ getCloudFunctionBuilder() {
+
+ onChanged();
+ return getCloudFunctionFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * A [Cloud function](https://cloud.google.com/functions).
+ *
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10;
+ *
+ */
+ public com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpointOrBuilder
+ getCloudFunctionOrBuilder() {
+ if (cloudFunctionBuilder_ != null) {
+ return cloudFunctionBuilder_.getMessageOrBuilder();
+ } else {
+ return cloudFunction_ == null
+ ? com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint
+ .getDefaultInstance()
+ : cloudFunction_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * A [Cloud function](https://cloud.google.com/functions).
+ *
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10;
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint,
+ com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.Builder,
+ com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpointOrBuilder>
+ getCloudFunctionFieldBuilder() {
+ if (cloudFunctionBuilder_ == null) {
+ cloudFunctionBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint,
+ com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.Builder,
+ com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpointOrBuilder>(
+ getCloudFunction(), getParentForChildren(), isClean());
+ cloudFunction_ = null;
+ }
+ return cloudFunctionBuilder_;
+ }
+
private java.lang.Object network_ = "";
/**
*
diff --git a/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointInfo.java b/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointInfo.java
index 833591ba..b885b3ef 100644
--- a/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointInfo.java
+++ b/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointInfo.java
@@ -45,6 +45,7 @@ private EndpointInfo() {
protocol_ = "";
sourceNetworkUri_ = "";
destinationNetworkUri_ = "";
+ sourceAgentUri_ = "";
}
@java.lang.Override
@@ -121,6 +122,13 @@ private EndpointInfo(
destinationNetworkUri_ = s;
break;
}
+ case 66:
+ {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ sourceAgentUri_ = s;
+ break;
+ }
default:
{
if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
@@ -438,6 +446,55 @@ public com.google.protobuf.ByteString getDestinationNetworkUriBytes() {
}
}
+ public static final int SOURCE_AGENT_URI_FIELD_NUMBER = 8;
+ private volatile java.lang.Object sourceAgentUri_;
+ /**
+ *
+ *
+ *
+ * URI of the source telemetry agent this packet originates from.
+ *
+ *
+ * string source_agent_uri = 8;
+ *
+ * @return The sourceAgentUri.
+ */
+ @java.lang.Override
+ public java.lang.String getSourceAgentUri() {
+ java.lang.Object ref = sourceAgentUri_;
+ 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();
+ sourceAgentUri_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * URI of the source telemetry agent this packet originates from.
+ *
+ *
+ * string source_agent_uri = 8;
+ *
+ * @return The bytes for sourceAgentUri.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getSourceAgentUriBytes() {
+ java.lang.Object ref = sourceAgentUri_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ sourceAgentUri_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -473,6 +530,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(destinationNetworkUri_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, destinationNetworkUri_);
}
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceAgentUri_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 8, sourceAgentUri_);
+ }
unknownFields.writeTo(output);
}
@@ -503,6 +563,9 @@ public int getSerializedSize() {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(destinationNetworkUri_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, destinationNetworkUri_);
}
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceAgentUri_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, sourceAgentUri_);
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -526,6 +589,7 @@ public boolean equals(final java.lang.Object obj) {
if (getDestinationPort() != other.getDestinationPort()) return false;
if (!getSourceNetworkUri().equals(other.getSourceNetworkUri())) return false;
if (!getDestinationNetworkUri().equals(other.getDestinationNetworkUri())) return false;
+ if (!getSourceAgentUri().equals(other.getSourceAgentUri())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -551,6 +615,8 @@ public int hashCode() {
hash = (53 * hash) + getSourceNetworkUri().hashCode();
hash = (37 * hash) + DESTINATION_NETWORK_URI_FIELD_NUMBER;
hash = (53 * hash) + getDestinationNetworkUri().hashCode();
+ hash = (37 * hash) + SOURCE_AGENT_URI_FIELD_NUMBER;
+ hash = (53 * hash) + getSourceAgentUri().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -713,6 +779,8 @@ public Builder clear() {
destinationNetworkUri_ = "";
+ sourceAgentUri_ = "";
+
return this;
}
@@ -747,6 +815,7 @@ public com.google.cloud.networkmanagement.v1beta1.EndpointInfo buildPartial() {
result.destinationPort_ = destinationPort_;
result.sourceNetworkUri_ = sourceNetworkUri_;
result.destinationNetworkUri_ = destinationNetworkUri_;
+ result.sourceAgentUri_ = sourceAgentUri_;
onBuilt();
return result;
}
@@ -823,6 +892,10 @@ public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.EndpointInfo
destinationNetworkUri_ = other.destinationNetworkUri_;
onChanged();
}
+ if (!other.getSourceAgentUri().isEmpty()) {
+ sourceAgentUri_ = other.sourceAgentUri_;
+ onChanged();
+ }
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -1487,6 +1560,112 @@ public Builder setDestinationNetworkUriBytes(com.google.protobuf.ByteString valu
return this;
}
+ private java.lang.Object sourceAgentUri_ = "";
+ /**
+ *
+ *
+ *
+ * URI of the source telemetry agent this packet originates from.
+ *
+ *
+ * string source_agent_uri = 8;
+ *
+ * @return The sourceAgentUri.
+ */
+ public java.lang.String getSourceAgentUri() {
+ java.lang.Object ref = sourceAgentUri_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ sourceAgentUri_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * URI of the source telemetry agent this packet originates from.
+ *
+ *
+ * string source_agent_uri = 8;
+ *
+ * @return The bytes for sourceAgentUri.
+ */
+ public com.google.protobuf.ByteString getSourceAgentUriBytes() {
+ java.lang.Object ref = sourceAgentUri_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ sourceAgentUri_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * URI of the source telemetry agent this packet originates from.
+ *
+ *
+ * string source_agent_uri = 8;
+ *
+ * @param value The sourceAgentUri to set.
+ * @return This builder for chaining.
+ */
+ public Builder setSourceAgentUri(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ sourceAgentUri_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * URI of the source telemetry agent this packet originates from.
+ *
+ *
+ * string source_agent_uri = 8;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearSourceAgentUri() {
+
+ sourceAgentUri_ = getDefaultInstance().getSourceAgentUri();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * URI of the source telemetry agent this packet originates from.
+ *
+ *
+ * string source_agent_uri = 8;
+ *
+ * @param value The bytes for sourceAgentUri to set.
+ * @return This builder for chaining.
+ */
+ public Builder setSourceAgentUriBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ sourceAgentUri_ = value;
+ onChanged();
+ return this;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
diff --git a/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointInfoOrBuilder.java b/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointInfoOrBuilder.java
index eb20288e..f4542007 100644
--- a/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointInfoOrBuilder.java
+++ b/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointInfoOrBuilder.java
@@ -173,4 +173,29 @@ public interface EndpointInfoOrBuilder
* @return The bytes for destinationNetworkUri.
*/
com.google.protobuf.ByteString getDestinationNetworkUriBytes();
+
+ /**
+ *
+ *
+ *
+ * URI of the source telemetry agent this packet originates from.
+ *
+ *
+ * string source_agent_uri = 8;
+ *
+ * @return The sourceAgentUri.
+ */
+ java.lang.String getSourceAgentUri();
+ /**
+ *
+ *
+ *
+ * URI of the source telemetry agent this packet originates from.
+ *
+ *
+ * string source_agent_uri = 8;
+ *
+ * @return The bytes for sourceAgentUri.
+ */
+ com.google.protobuf.ByteString getSourceAgentUriBytes();
}
diff --git a/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointOrBuilder.java b/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointOrBuilder.java
index f52e9e40..11687b0e 100644
--- a/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointOrBuilder.java
+++ b/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointOrBuilder.java
@@ -145,6 +145,48 @@ public interface EndpointOrBuilder
*/
com.google.protobuf.ByteString getCloudSqlInstanceBytes();
+ /**
+ *
+ *
+ *
+ * A [Cloud function](https://cloud.google.com/functions).
+ *
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10;
+ *
+ *
+ * @return Whether the cloudFunction field is set.
+ */
+ boolean hasCloudFunction();
+ /**
+ *
+ *
+ *
+ * A [Cloud function](https://cloud.google.com/functions).
+ *
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10;
+ *
+ *
+ * @return The cloudFunction.
+ */
+ com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint getCloudFunction();
+ /**
+ *
+ *
+ *
+ * A [Cloud function](https://cloud.google.com/functions).
+ *
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10;
+ *
+ */
+ com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpointOrBuilder
+ getCloudFunctionOrBuilder();
+
/**
*
*
diff --git a/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/FirewallInfo.java b/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/FirewallInfo.java
index c6e385b8..8d75ea71 100644
--- a/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/FirewallInfo.java
+++ b/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/FirewallInfo.java
@@ -252,6 +252,19 @@ public enum FirewallRuleType implements com.google.protobuf.ProtocolMessageEnum
* IMPLIED_VPC_FIREWALL_RULE = 3;
*/
IMPLIED_VPC_FIREWALL_RULE(3),
+ /**
+ *
+ *
+ *
+ * Implicit firewall rules that are managed by serverless VPC access to
+ * allow ingress access. They are not visible in the Google Cloud console.
+ * For details, see [VPC connector's implicit
+ * rules](https://cloud.google.com/functions/docs/networking/connecting-vpc#restrict-access).
+ *
+ *
+ * SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE = 4;
+ */
+ SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE(4),
UNRECOGNIZED(-1),
;
@@ -301,6 +314,19 @@ public enum FirewallRuleType implements com.google.protobuf.ProtocolMessageEnum
* IMPLIED_VPC_FIREWALL_RULE = 3;
*/
public static final int IMPLIED_VPC_FIREWALL_RULE_VALUE = 3;
+ /**
+ *
+ *
+ *
+ * Implicit firewall rules that are managed by serverless VPC access to
+ * allow ingress access. They are not visible in the Google Cloud console.
+ * For details, see [VPC connector's implicit
+ * rules](https://cloud.google.com/functions/docs/networking/connecting-vpc#restrict-access).
+ *
+ *
+ * SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE = 4;
+ */
+ public static final int SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE_VALUE = 4;
public final int getNumber() {
if (this == UNRECOGNIZED) {
@@ -334,6 +360,8 @@ public static FirewallRuleType forNumber(int value) {
return VPC_FIREWALL_RULE;
case 3:
return IMPLIED_VPC_FIREWALL_RULE;
+ case 4:
+ return SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE;
default:
return null;
}
diff --git a/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/InstanceInfo.java b/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/InstanceInfo.java
index 40136485..b9c4679f 100644
--- a/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/InstanceInfo.java
+++ b/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/InstanceInfo.java
@@ -543,7 +543,7 @@ public com.google.protobuf.ByteString getNetworkTagsBytes(int index) {
* string service_account = 8 [deprecated = true];
*
* @deprecated google.cloud.networkmanagement.v1beta1.InstanceInfo.service_account is deprecated.
- * See google/cloud/networkmanagement/v1beta1/trace.proto;l=234
+ * See google/cloud/networkmanagement/v1beta1/trace.proto;l=245
* @return The serviceAccount.
*/
@java.lang.Override
@@ -569,7 +569,7 @@ public java.lang.String getServiceAccount() {
* string service_account = 8 [deprecated = true];
*
* @deprecated google.cloud.networkmanagement.v1beta1.InstanceInfo.service_account is deprecated.
- * See google/cloud/networkmanagement/v1beta1/trace.proto;l=234
+ * See google/cloud/networkmanagement/v1beta1/trace.proto;l=245
* @return The bytes for serviceAccount.
*/
@java.lang.Override
@@ -1852,7 +1852,7 @@ public Builder addNetworkTagsBytes(com.google.protobuf.ByteString value) {
* string service_account = 8 [deprecated = true];
*
* @deprecated google.cloud.networkmanagement.v1beta1.InstanceInfo.service_account is
- * deprecated. See google/cloud/networkmanagement/v1beta1/trace.proto;l=234
+ * deprecated. See google/cloud/networkmanagement/v1beta1/trace.proto;l=245
* @return The serviceAccount.
*/
@java.lang.Deprecated
@@ -1877,7 +1877,7 @@ public java.lang.String getServiceAccount() {
* string service_account = 8 [deprecated = true];
*
* @deprecated google.cloud.networkmanagement.v1beta1.InstanceInfo.service_account is
- * deprecated. See google/cloud/networkmanagement/v1beta1/trace.proto;l=234
+ * deprecated. See google/cloud/networkmanagement/v1beta1/trace.proto;l=245
* @return The bytes for serviceAccount.
*/
@java.lang.Deprecated
@@ -1902,7 +1902,7 @@ public com.google.protobuf.ByteString getServiceAccountBytes() {
* string service_account = 8 [deprecated = true];
*
* @deprecated google.cloud.networkmanagement.v1beta1.InstanceInfo.service_account is
- * deprecated. See google/cloud/networkmanagement/v1beta1/trace.proto;l=234
+ * deprecated. See google/cloud/networkmanagement/v1beta1/trace.proto;l=245
* @param value The serviceAccount to set.
* @return This builder for chaining.
*/
@@ -1926,7 +1926,7 @@ public Builder setServiceAccount(java.lang.String value) {
* string service_account = 8 [deprecated = true];
*
* @deprecated google.cloud.networkmanagement.v1beta1.InstanceInfo.service_account is
- * deprecated. See google/cloud/networkmanagement/v1beta1/trace.proto;l=234
+ * deprecated. See google/cloud/networkmanagement/v1beta1/trace.proto;l=245
* @return This builder for chaining.
*/
@java.lang.Deprecated
@@ -1946,7 +1946,7 @@ public Builder clearServiceAccount() {
* string service_account = 8 [deprecated = true];
*
* @deprecated google.cloud.networkmanagement.v1beta1.InstanceInfo.service_account is
- * deprecated. See google/cloud/networkmanagement/v1beta1/trace.proto;l=234
+ * deprecated. See google/cloud/networkmanagement/v1beta1/trace.proto;l=245
* @param value The bytes for serviceAccount to set.
* @return This builder for chaining.
*/
diff --git a/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/InstanceInfoOrBuilder.java b/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/InstanceInfoOrBuilder.java
index a3c1cb71..a55057de 100644
--- a/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/InstanceInfoOrBuilder.java
+++ b/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/InstanceInfoOrBuilder.java
@@ -234,7 +234,7 @@ public interface InstanceInfoOrBuilder
* string service_account = 8 [deprecated = true];
*
* @deprecated google.cloud.networkmanagement.v1beta1.InstanceInfo.service_account is deprecated.
- * See google/cloud/networkmanagement/v1beta1/trace.proto;l=234
+ * See google/cloud/networkmanagement/v1beta1/trace.proto;l=245
* @return The serviceAccount.
*/
@java.lang.Deprecated
@@ -249,7 +249,7 @@ public interface InstanceInfoOrBuilder
* string service_account = 8 [deprecated = true];
*
* @deprecated google.cloud.networkmanagement.v1beta1.InstanceInfo.service_account is deprecated.
- * See google/cloud/networkmanagement/v1beta1/trace.proto;l=234
+ * See google/cloud/networkmanagement/v1beta1/trace.proto;l=245
* @return The bytes for serviceAccount.
*/
@java.lang.Deprecated
diff --git a/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ProbingDetails.java b/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ProbingDetails.java
index 1eaa5cb2..05e4a625 100644
--- a/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ProbingDetails.java
+++ b/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ProbingDetails.java
@@ -157,6 +157,25 @@ private ProbingDetails(
probingLatency_ = subBuilder.buildPartial();
}
+ break;
+ }
+ case 74:
+ {
+ com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.Builder
+ subBuilder = null;
+ if (destinationEgressLocation_ != null) {
+ subBuilder = destinationEgressLocation_.toBuilder();
+ }
+ destinationEgressLocation_ =
+ input.readMessage(
+ com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation
+ .parser(),
+ extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(destinationEgressLocation_);
+ destinationEgressLocation_ = subBuilder.buildPartial();
+ }
+
break;
}
default:
@@ -570,6 +589,679 @@ private ProbingAbortCause(int value) {
// @@protoc_insertion_point(enum_scope:google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause)
}
+ public interface EdgeLocationOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * Name of the metropolitan area.
+ *
+ *
+ * string metropolitan_area = 1;
+ *
+ * @return The metropolitanArea.
+ */
+ java.lang.String getMetropolitanArea();
+ /**
+ *
+ *
+ *
+ * Name of the metropolitan area.
+ *
+ *
+ * string metropolitan_area = 1;
+ *
+ * @return The bytes for metropolitanArea.
+ */
+ com.google.protobuf.ByteString getMetropolitanAreaBytes();
+ }
+ /**
+ *
+ *
+ *
+ * Representation of a network edge location as per
+ * https://cloud.google.com/vpc/docs/edge-locations.
+ *
+ *
+ * Protobuf type {@code google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation}
+ */
+ public static final class EdgeLocation extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation)
+ EdgeLocationOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use EdgeLocation.newBuilder() to construct.
+ private EdgeLocation(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private EdgeLocation() {
+ metropolitanArea_ = "";
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new EdgeLocation();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
+ }
+
+ private EdgeLocation(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10:
+ {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ metropolitanArea_ = s;
+ break;
+ }
+ default:
+ {
+ if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+ } finally {
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.networkmanagement.v1beta1.TestOuterClass
+ .internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_EdgeLocation_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.networkmanagement.v1beta1.TestOuterClass
+ .internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_EdgeLocation_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.class,
+ com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.Builder.class);
+ }
+
+ public static final int METROPOLITAN_AREA_FIELD_NUMBER = 1;
+ private volatile java.lang.Object metropolitanArea_;
+ /**
+ *
+ *
+ *
+ * Name of the metropolitan area.
+ *
+ *
+ * string metropolitan_area = 1;
+ *
+ * @return The metropolitanArea.
+ */
+ @java.lang.Override
+ public java.lang.String getMetropolitanArea() {
+ java.lang.Object ref = metropolitanArea_;
+ 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();
+ metropolitanArea_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Name of the metropolitan area.
+ *
+ *
+ * string metropolitan_area = 1;
+ *
+ * @return The bytes for metropolitanArea.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getMetropolitanAreaBytes() {
+ java.lang.Object ref = metropolitanArea_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ metropolitanArea_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(metropolitanArea_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, metropolitanArea_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(metropolitanArea_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, metropolitanArea_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj
+ instanceof com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation other =
+ (com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation) obj;
+
+ if (!getMetropolitanArea().equals(other.getMetropolitanArea())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + METROPOLITAN_AREA_FIELD_NUMBER;
+ hash = (53 * hash) + getMetropolitanArea().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation parseFrom(
+ byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation
+ parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation
+ parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(
+ com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ *
+ * Representation of a network edge location as per
+ * https://cloud.google.com/vpc/docs/edge-locations.
+ *
+ *
+ * Protobuf type {@code google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation}
+ */
+ public static final class Builder
+ extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation)
+ com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocationOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.networkmanagement.v1beta1.TestOuterClass
+ .internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_EdgeLocation_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.networkmanagement.v1beta1.TestOuterClass
+ .internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_EdgeLocation_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.class,
+ com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.Builder
+ .class);
+ }
+
+ // Construct using
+ // com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ metropolitanArea_ = "";
+
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.cloud.networkmanagement.v1beta1.TestOuterClass
+ .internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_EdgeLocation_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation
+ getDefaultInstanceForType() {
+ return com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation
+ .getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation build() {
+ com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation result =
+ buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation buildPartial() {
+ com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation result =
+ new com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation(this);
+ result.metropolitanArea_ = metropolitanArea_;
+ onBuilt();
+ return result;
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return super.clone();
+ }
+
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.setField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
+ }
+
+ @java.lang.Override
+ public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
+ }
+
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ int index,
+ java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
+ }
+
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.addRepeatedField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other
+ instanceof com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation) {
+ return mergeFrom(
+ (com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(
+ com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation other) {
+ if (other
+ == com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation
+ .getDefaultInstance()) return this;
+ if (!other.getMetropolitanArea().isEmpty()) {
+ metropolitanArea_ = other.metropolitanArea_;
+ onChanged();
+ }
+ this.mergeUnknownFields(other.unknownFields);
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage =
+ (com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation)
+ e.getUnfinishedMessage();
+ throw e.unwrapIOException();
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+
+ private java.lang.Object metropolitanArea_ = "";
+ /**
+ *
+ *
+ *
+ * Name of the metropolitan area.
+ *
+ *
+ * string metropolitan_area = 1;
+ *
+ * @return The metropolitanArea.
+ */
+ public java.lang.String getMetropolitanArea() {
+ java.lang.Object ref = metropolitanArea_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ metropolitanArea_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Name of the metropolitan area.
+ *
+ *
+ * string metropolitan_area = 1;
+ *
+ * @return The bytes for metropolitanArea.
+ */
+ public com.google.protobuf.ByteString getMetropolitanAreaBytes() {
+ java.lang.Object ref = metropolitanArea_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ metropolitanArea_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Name of the metropolitan area.
+ *
+ *
+ * string metropolitan_area = 1;
+ *
+ * @param value The metropolitanArea to set.
+ * @return This builder for chaining.
+ */
+ public Builder setMetropolitanArea(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ metropolitanArea_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Name of the metropolitan area.
+ *
+ *
+ * string metropolitan_area = 1;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearMetropolitanArea() {
+
+ metropolitanArea_ = getDefaultInstance().getMetropolitanArea();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Name of the metropolitan area.
+ *
+ *
+ * string metropolitan_area = 1;
+ *
+ * @param value The bytes for metropolitanArea to set.
+ * @return This builder for chaining.
+ */
+ public Builder setMetropolitanAreaBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ metropolitanArea_ = value;
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation)
+ private static final com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE =
+ new com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation();
+ }
+
+ public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public EdgeLocation parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new EdgeLocation(input, extensionRegistry);
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation
+ getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+ }
+
public static final int RESULT_FIELD_NUMBER = 1;
private int result_;
/**
@@ -882,6 +1574,79 @@ public com.google.cloud.networkmanagement.v1beta1.LatencyDistribution getProbing
return getProbingLatency();
}
+ public static final int DESTINATION_EGRESS_LOCATION_FIELD_NUMBER = 9;
+ private com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation
+ destinationEgressLocation_;
+ /**
+ *
+ *
+ *
+ * The EdgeLocation from which a packet destined for/originating from the
+ * internet will egress/ingress the Google network.
+ * This will only be populated for a connectivity test which has an internet
+ * destination/source address.
+ * The absence of this field *must not* be used as an indication that the
+ * destination/source is part of the Google network.
+ *
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9;
+ *
+ *
+ * @return Whether the destinationEgressLocation field is set.
+ */
+ @java.lang.Override
+ public boolean hasDestinationEgressLocation() {
+ return destinationEgressLocation_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * The EdgeLocation from which a packet destined for/originating from the
+ * internet will egress/ingress the Google network.
+ * This will only be populated for a connectivity test which has an internet
+ * destination/source address.
+ * The absence of this field *must not* be used as an indication that the
+ * destination/source is part of the Google network.
+ *
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9;
+ *
+ *
+ * @return The destinationEgressLocation.
+ */
+ @java.lang.Override
+ public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation
+ getDestinationEgressLocation() {
+ return destinationEgressLocation_ == null
+ ? com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation
+ .getDefaultInstance()
+ : destinationEgressLocation_;
+ }
+ /**
+ *
+ *
+ *
+ * The EdgeLocation from which a packet destined for/originating from the
+ * internet will egress/ingress the Google network.
+ * This will only be populated for a connectivity test which has an internet
+ * destination/source address.
+ * The absence of this field *must not* be used as an indication that the
+ * destination/source is part of the Google network.
+ *
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocationOrBuilder
+ getDestinationEgressLocationOrBuilder() {
+ return getDestinationEgressLocation();
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -926,6 +1691,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (probingLatency_ != null) {
output.writeMessage(8, getProbingLatency());
}
+ if (destinationEgressLocation_ != null) {
+ output.writeMessage(9, getDestinationEgressLocation());
+ }
unknownFields.writeTo(output);
}
@@ -965,6 +1733,11 @@ public int getSerializedSize() {
if (probingLatency_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getProbingLatency());
}
+ if (destinationEgressLocation_ != null) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 9, getDestinationEgressLocation());
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -1001,6 +1774,11 @@ public boolean equals(final java.lang.Object obj) {
if (hasProbingLatency()) {
if (!getProbingLatency().equals(other.getProbingLatency())) return false;
}
+ if (hasDestinationEgressLocation() != other.hasDestinationEgressLocation()) return false;
+ if (hasDestinationEgressLocation()) {
+ if (!getDestinationEgressLocation().equals(other.getDestinationEgressLocation()))
+ return false;
+ }
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -1036,6 +1814,10 @@ public int hashCode() {
hash = (37 * hash) + PROBING_LATENCY_FIELD_NUMBER;
hash = (53 * hash) + getProbingLatency().hashCode();
}
+ if (hasDestinationEgressLocation()) {
+ hash = (37 * hash) + DESTINATION_EGRESS_LOCATION_FIELD_NUMBER;
+ hash = (53 * hash) + getDestinationEgressLocation().hashCode();
+ }
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -1214,6 +1996,12 @@ public Builder clear() {
probingLatency_ = null;
probingLatencyBuilder_ = null;
}
+ if (destinationEgressLocationBuilder_ == null) {
+ destinationEgressLocation_ = null;
+ } else {
+ destinationEgressLocation_ = null;
+ destinationEgressLocationBuilder_ = null;
+ }
return this;
}
@@ -1265,6 +2053,11 @@ public com.google.cloud.networkmanagement.v1beta1.ProbingDetails buildPartial()
} else {
result.probingLatency_ = probingLatencyBuilder_.build();
}
+ if (destinationEgressLocationBuilder_ == null) {
+ result.destinationEgressLocation_ = destinationEgressLocation_;
+ } else {
+ result.destinationEgressLocation_ = destinationEgressLocationBuilder_.build();
+ }
onBuilt();
return result;
}
@@ -1339,6 +2132,9 @@ public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.ProbingDetai
if (other.hasProbingLatency()) {
mergeProbingLatency(other.getProbingLatency());
}
+ if (other.hasDestinationEgressLocation()) {
+ mergeDestinationEgressLocation(other.getDestinationEgressLocation());
+ }
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -2427,6 +3223,265 @@ public Builder clearProbingLatency() {
return probingLatencyBuilder_;
}
+ private com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation
+ destinationEgressLocation_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation,
+ com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.Builder,
+ com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocationOrBuilder>
+ destinationEgressLocationBuilder_;
+ /**
+ *
+ *
+ *
+ * The EdgeLocation from which a packet destined for/originating from the
+ * internet will egress/ingress the Google network.
+ * This will only be populated for a connectivity test which has an internet
+ * destination/source address.
+ * The absence of this field *must not* be used as an indication that the
+ * destination/source is part of the Google network.
+ *
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9;
+ *
+ *
+ * @return Whether the destinationEgressLocation field is set.
+ */
+ public boolean hasDestinationEgressLocation() {
+ return destinationEgressLocationBuilder_ != null || destinationEgressLocation_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * The EdgeLocation from which a packet destined for/originating from the
+ * internet will egress/ingress the Google network.
+ * This will only be populated for a connectivity test which has an internet
+ * destination/source address.
+ * The absence of this field *must not* be used as an indication that the
+ * destination/source is part of the Google network.
+ *
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9;
+ *
+ *
+ * @return The destinationEgressLocation.
+ */
+ public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation
+ getDestinationEgressLocation() {
+ if (destinationEgressLocationBuilder_ == null) {
+ return destinationEgressLocation_ == null
+ ? com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation
+ .getDefaultInstance()
+ : destinationEgressLocation_;
+ } else {
+ return destinationEgressLocationBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The EdgeLocation from which a packet destined for/originating from the
+ * internet will egress/ingress the Google network.
+ * This will only be populated for a connectivity test which has an internet
+ * destination/source address.
+ * The absence of this field *must not* be used as an indication that the
+ * destination/source is part of the Google network.
+ *
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9;
+ *
+ */
+ public Builder setDestinationEgressLocation(
+ com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation value) {
+ if (destinationEgressLocationBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ destinationEgressLocation_ = value;
+ onChanged();
+ } else {
+ destinationEgressLocationBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The EdgeLocation from which a packet destined for/originating from the
+ * internet will egress/ingress the Google network.
+ * This will only be populated for a connectivity test which has an internet
+ * destination/source address.
+ * The absence of this field *must not* be used as an indication that the
+ * destination/source is part of the Google network.
+ *
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9;
+ *
+ */
+ public Builder setDestinationEgressLocation(
+ com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.Builder
+ builderForValue) {
+ if (destinationEgressLocationBuilder_ == null) {
+ destinationEgressLocation_ = builderForValue.build();
+ onChanged();
+ } else {
+ destinationEgressLocationBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The EdgeLocation from which a packet destined for/originating from the
+ * internet will egress/ingress the Google network.
+ * This will only be populated for a connectivity test which has an internet
+ * destination/source address.
+ * The absence of this field *must not* be used as an indication that the
+ * destination/source is part of the Google network.
+ *
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9;
+ *
+ */
+ public Builder mergeDestinationEgressLocation(
+ com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation value) {
+ if (destinationEgressLocationBuilder_ == null) {
+ if (destinationEgressLocation_ != null) {
+ destinationEgressLocation_ =
+ com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.newBuilder(
+ destinationEgressLocation_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ destinationEgressLocation_ = value;
+ }
+ onChanged();
+ } else {
+ destinationEgressLocationBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The EdgeLocation from which a packet destined for/originating from the
+ * internet will egress/ingress the Google network.
+ * This will only be populated for a connectivity test which has an internet
+ * destination/source address.
+ * The absence of this field *must not* be used as an indication that the
+ * destination/source is part of the Google network.
+ *
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9;
+ *
+ */
+ public Builder clearDestinationEgressLocation() {
+ if (destinationEgressLocationBuilder_ == null) {
+ destinationEgressLocation_ = null;
+ onChanged();
+ } else {
+ destinationEgressLocation_ = null;
+ destinationEgressLocationBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The EdgeLocation from which a packet destined for/originating from the
+ * internet will egress/ingress the Google network.
+ * This will only be populated for a connectivity test which has an internet
+ * destination/source address.
+ * The absence of this field *must not* be used as an indication that the
+ * destination/source is part of the Google network.
+ *
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9;
+ *
+ */
+ public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.Builder
+ getDestinationEgressLocationBuilder() {
+
+ onChanged();
+ return getDestinationEgressLocationFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * The EdgeLocation from which a packet destined for/originating from the
+ * internet will egress/ingress the Google network.
+ * This will only be populated for a connectivity test which has an internet
+ * destination/source address.
+ * The absence of this field *must not* be used as an indication that the
+ * destination/source is part of the Google network.
+ *
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9;
+ *
+ */
+ public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocationOrBuilder
+ getDestinationEgressLocationOrBuilder() {
+ if (destinationEgressLocationBuilder_ != null) {
+ return destinationEgressLocationBuilder_.getMessageOrBuilder();
+ } else {
+ return destinationEgressLocation_ == null
+ ? com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation
+ .getDefaultInstance()
+ : destinationEgressLocation_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The EdgeLocation from which a packet destined for/originating from the
+ * internet will egress/ingress the Google network.
+ * This will only be populated for a connectivity test which has an internet
+ * destination/source address.
+ * The absence of this field *must not* be used as an indication that the
+ * destination/source is part of the Google network.
+ *
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9;
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation,
+ com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.Builder,
+ com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocationOrBuilder>
+ getDestinationEgressLocationFieldBuilder() {
+ if (destinationEgressLocationBuilder_ == null) {
+ destinationEgressLocationBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation,
+ com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.Builder,
+ com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocationOrBuilder>(
+ getDestinationEgressLocation(), getParentForChildren(), isClean());
+ destinationEgressLocation_ = null;
+ }
+ return destinationEgressLocationBuilder_;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
diff --git a/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ProbingDetailsOrBuilder.java b/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ProbingDetailsOrBuilder.java
index 3e019514..22e6bc5b 100644
--- a/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ProbingDetailsOrBuilder.java
+++ b/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ProbingDetailsOrBuilder.java
@@ -247,4 +247,62 @@ public interface ProbingDetailsOrBuilder
*/
com.google.cloud.networkmanagement.v1beta1.LatencyDistributionOrBuilder
getProbingLatencyOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * The EdgeLocation from which a packet destined for/originating from the
+ * internet will egress/ingress the Google network.
+ * This will only be populated for a connectivity test which has an internet
+ * destination/source address.
+ * The absence of this field *must not* be used as an indication that the
+ * destination/source is part of the Google network.
+ *
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9;
+ *
+ *
+ * @return Whether the destinationEgressLocation field is set.
+ */
+ boolean hasDestinationEgressLocation();
+ /**
+ *
+ *
+ *
+ * The EdgeLocation from which a packet destined for/originating from the
+ * internet will egress/ingress the Google network.
+ * This will only be populated for a connectivity test which has an internet
+ * destination/source address.
+ * The absence of this field *must not* be used as an indication that the
+ * destination/source is part of the Google network.
+ *
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9;
+ *
+ *
+ * @return The destinationEgressLocation.
+ */
+ com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation
+ getDestinationEgressLocation();
+ /**
+ *
+ *
+ *
+ * The EdgeLocation from which a packet destined for/originating from the
+ * internet will egress/ingress the Google network.
+ * This will only be populated for a connectivity test which has an internet
+ * destination/source address.
+ * The absence of this field *must not* be used as an indication that the
+ * destination/source is part of the Google network.
+ *
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9;
+ *
+ */
+ com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocationOrBuilder
+ getDestinationEgressLocationOrBuilder();
}
diff --git a/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceProto.java b/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceProto.java
index 37728f37..601476c6 100644
--- a/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceProto.java
+++ b/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceProto.java
@@ -71,13 +71,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"\n9google/cloud/networkmanagement/v1beta1"
+ "/reachability.proto\022&google.cloud.networ"
+ "kmanagement.v1beta1\032\034google/api/annotati"
- + "ons.proto\032\037google/api/field_behavior.pro"
- + "to\032\031google/api/resource.proto\032>google/cl"
- + "oud/networkmanagement/v1beta1/connectivi"
- + "ty_test.proto\032#google/longrunning/operat"
- + "ions.proto\032 google/protobuf/field_mask.p"
- + "roto\032\037google/protobuf/timestamp.proto\032\027g"
- + "oogle/api/client.proto\"|\n\034ListConnectivi"
+ + "ons.proto\032\027google/api/client.proto\032\037goog"
+ + "le/api/field_behavior.proto\032\031google/api/"
+ + "resource.proto\032>google/cloud/networkmana"
+ + "gement/v1beta1/connectivity_test.proto\032#"
+ + "google/longrunning/operations.proto\032 goo"
+ + "gle/protobuf/field_mask.proto\032\037google/pr"
+ + "otobuf/timestamp.proto\"|\n\034ListConnectivi"
+ "tyTestsRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\021\n\tp"
+ "age_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006fi"
+ "lter\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\"\232\001\n\035ListCon"
@@ -159,13 +159,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.api.AnnotationsProto.getDescriptor(),
+ com.google.api.ClientProto.getDescriptor(),
com.google.api.FieldBehaviorProto.getDescriptor(),
com.google.api.ResourceProto.getDescriptor(),
com.google.cloud.networkmanagement.v1beta1.TestOuterClass.getDescriptor(),
com.google.longrunning.OperationsProto.getDescriptor(),
com.google.protobuf.FieldMaskProto.getDescriptor(),
com.google.protobuf.TimestampProto.getDescriptor(),
- com.google.api.ClientProto.getDescriptor(),
});
internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsRequest_descriptor =
getDescriptor().getMessageTypes().get(0);
@@ -247,13 +247,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
descriptor, registry);
com.google.api.AnnotationsProto.getDescriptor();
+ com.google.api.ClientProto.getDescriptor();
com.google.api.FieldBehaviorProto.getDescriptor();
com.google.api.ResourceProto.getDescriptor();
com.google.cloud.networkmanagement.v1beta1.TestOuterClass.getDescriptor();
com.google.longrunning.OperationsProto.getDescriptor();
com.google.protobuf.FieldMaskProto.getDescriptor();
com.google.protobuf.TimestampProto.getDescriptor();
- com.google.api.ClientProto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
diff --git a/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RouteInfo.java b/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RouteInfo.java
index 57ad2f76..1530e4c0 100644
--- a/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RouteInfo.java
+++ b/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RouteInfo.java
@@ -554,6 +554,18 @@ public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum {
* NEXT_HOP_ILB = 10;
*/
NEXT_HOP_ILB(10),
+ /**
+ *
+ *
+ *
+ * Next hop is a
+ * [router appliance
+ * instance](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/ra-overview).
+ *
+ *
+ * NEXT_HOP_ROUTER_APPLIANCE = 11;
+ */
+ NEXT_HOP_ROUTER_APPLIANCE(11),
UNRECOGNIZED(-1),
;
@@ -671,6 +683,18 @@ public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum {
* NEXT_HOP_ILB = 10;
*/
public static final int NEXT_HOP_ILB_VALUE = 10;
+ /**
+ *
+ *
+ *
+ * Next hop is a
+ * [router appliance
+ * instance](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/ra-overview).
+ *
+ *
+ * NEXT_HOP_ROUTER_APPLIANCE = 11;
+ */
+ public static final int NEXT_HOP_ROUTER_APPLIANCE_VALUE = 11;
public final int getNumber() {
if (this == UNRECOGNIZED) {
@@ -718,6 +742,8 @@ public static NextHopType forNumber(int value) {
return NEXT_HOP_BLACKHOLE;
case 10:
return NEXT_HOP_ILB;
+ case 11:
+ return NEXT_HOP_ROUTER_APPLIANCE;
default:
return null;
}
diff --git a/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/Step.java b/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/Step.java
index 2d9b0531..aefbeb80 100644
--- a/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/Step.java
+++ b/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/Step.java
@@ -398,6 +398,47 @@ private Step(
stepInfoCase_ = 19;
break;
}
+ case 162:
+ {
+ com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.Builder subBuilder =
+ null;
+ if (stepInfoCase_ == 20) {
+ subBuilder =
+ ((com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo) stepInfo_)
+ .toBuilder();
+ }
+ stepInfo_ =
+ input.readMessage(
+ com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.parser(),
+ extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(
+ (com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo) stepInfo_);
+ stepInfo_ = subBuilder.buildPartial();
+ }
+ stepInfoCase_ = 20;
+ break;
+ }
+ case 170:
+ {
+ com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.Builder subBuilder = null;
+ if (stepInfoCase_ == 21) {
+ subBuilder =
+ ((com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo) stepInfo_)
+ .toBuilder();
+ }
+ stepInfo_ =
+ input.readMessage(
+ com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.parser(),
+ extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(
+ (com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo) stepInfo_);
+ stepInfo_ = subBuilder.buildPartial();
+ }
+ stepInfoCase_ = 21;
+ break;
+ }
default:
{
if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
@@ -512,6 +553,17 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
* START_FROM_CLOUD_SQL_INSTANCE = 22;
*/
START_FROM_CLOUD_SQL_INSTANCE(22),
+ /**
+ *
+ *
+ *
+ * Initial state: packet originating from a Cloud function.
+ * A CloudFunctionInfo is populated with starting function information.
+ *
+ *
+ * START_FROM_CLOUD_FUNCTION = 23;
+ */
+ START_FROM_CLOUD_FUNCTION(23),
/**
*
*
@@ -613,6 +665,16 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
* ARRIVE_AT_VPN_TUNNEL = 13;
*/
ARRIVE_AT_VPN_TUNNEL(13),
+ /**
+ *
+ *
+ *
+ * Forwarding state: arriving at a VPC connector.
+ *
+ *
+ * ARRIVE_AT_VPC_CONNECTOR = 24;
+ */
+ ARRIVE_AT_VPC_CONNECTOR(24),
/**
*
*
@@ -756,6 +818,17 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
* START_FROM_CLOUD_SQL_INSTANCE = 22;
*/
public static final int START_FROM_CLOUD_SQL_INSTANCE_VALUE = 22;
+ /**
+ *
+ *
+ *
+ * Initial state: packet originating from a Cloud function.
+ * A CloudFunctionInfo is populated with starting function information.
+ *
+ *
+ * START_FROM_CLOUD_FUNCTION = 23;
+ */
+ public static final int START_FROM_CLOUD_FUNCTION_VALUE = 23;
/**
*
*
@@ -857,6 +930,16 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
* ARRIVE_AT_VPN_TUNNEL = 13;
*/
public static final int ARRIVE_AT_VPN_TUNNEL_VALUE = 13;
+ /**
+ *
+ *
+ *
+ * Forwarding state: arriving at a VPC connector.
+ *
+ *
+ * ARRIVE_AT_VPC_CONNECTOR = 24;
+ */
+ public static final int ARRIVE_AT_VPC_CONNECTOR_VALUE = 24;
/**
*
*
@@ -967,6 +1050,8 @@ public static State forNumber(int value) {
return START_FROM_GKE_MASTER;
case 22:
return START_FROM_CLOUD_SQL_INSTANCE;
+ case 23:
+ return START_FROM_CLOUD_FUNCTION;
case 4:
return APPLY_INGRESS_FIREWALL_RULE;
case 5:
@@ -987,6 +1072,8 @@ public static State forNumber(int value) {
return ARRIVE_AT_VPN_GATEWAY;
case 13:
return ARRIVE_AT_VPN_TUNNEL;
+ case 24:
+ return ARRIVE_AT_VPC_CONNECTOR;
case 14:
return NAT;
case 15:
@@ -1068,6 +1155,7 @@ public enum StepInfoCase
FORWARDING_RULE(9),
VPN_GATEWAY(10),
VPN_TUNNEL(11),
+ VPC_CONNECTOR(21),
DELIVER(12),
FORWARD(13),
ABORT(14),
@@ -1076,6 +1164,7 @@ public enum StepInfoCase
NETWORK(17),
GKE_MASTER(18),
CLOUD_SQL_INSTANCE(19),
+ CLOUD_FUNCTION(20),
STEPINFO_NOT_SET(0);
private final int value;
@@ -1108,6 +1197,8 @@ public static StepInfoCase forNumber(int value) {
return VPN_GATEWAY;
case 11:
return VPN_TUNNEL;
+ case 21:
+ return VPC_CONNECTOR;
case 12:
return DELIVER;
case 13:
@@ -1124,6 +1215,8 @@ public static StepInfoCase forNumber(int value) {
return GKE_MASTER;
case 19:
return CLOUD_SQL_INSTANCE;
+ case 20:
+ return CLOUD_FUNCTION;
case 0:
return STEPINFO_NOT_SET;
default:
@@ -1662,6 +1755,58 @@ public com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfoOrBuilder getVpnT
return com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.getDefaultInstance();
}
+ public static final int VPC_CONNECTOR_FIELD_NUMBER = 21;
+ /**
+ *
+ *
+ *
+ * Display information of a VPC connector.
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.VpcConnectorInfo vpc_connector = 21;
+ *
+ * @return Whether the vpcConnector field is set.
+ */
+ @java.lang.Override
+ public boolean hasVpcConnector() {
+ return stepInfoCase_ == 21;
+ }
+ /**
+ *
+ *
+ *
+ * Display information of a VPC connector.
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.VpcConnectorInfo vpc_connector = 21;
+ *
+ * @return The vpcConnector.
+ */
+ @java.lang.Override
+ public com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo getVpcConnector() {
+ if (stepInfoCase_ == 21) {
+ return (com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo) stepInfo_;
+ }
+ return com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.getDefaultInstance();
+ }
+ /**
+ *
+ *
+ *
+ * Display information of a VPC connector.
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.VpcConnectorInfo vpc_connector = 21;
+ */
+ @java.lang.Override
+ public com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfoOrBuilder
+ getVpcConnectorOrBuilder() {
+ if (stepInfoCase_ == 21) {
+ return (com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo) stepInfo_;
+ }
+ return com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.getDefaultInstance();
+ }
+
public static final int DELIVER_FIELD_NUMBER = 12;
/**
*
@@ -2075,6 +2220,58 @@ public com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo getCloudS
return com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo.getDefaultInstance();
}
+ public static final int CLOUD_FUNCTION_FIELD_NUMBER = 20;
+ /**
+ *
+ *
+ *
+ * Display information of a Cloud function.
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.CloudFunctionInfo cloud_function = 20;
+ *
+ * @return Whether the cloudFunction field is set.
+ */
+ @java.lang.Override
+ public boolean hasCloudFunction() {
+ return stepInfoCase_ == 20;
+ }
+ /**
+ *
+ *
+ *
+ * Display information of a Cloud function.
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.CloudFunctionInfo cloud_function = 20;
+ *
+ * @return The cloudFunction.
+ */
+ @java.lang.Override
+ public com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo getCloudFunction() {
+ if (stepInfoCase_ == 20) {
+ return (com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo) stepInfo_;
+ }
+ return com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.getDefaultInstance();
+ }
+ /**
+ *
+ *
+ *
+ * Display information of a Cloud function.
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.CloudFunctionInfo cloud_function = 20;
+ */
+ @java.lang.Override
+ public com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfoOrBuilder
+ getCloudFunctionOrBuilder() {
+ if (stepInfoCase_ == 20) {
+ return (com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo) stepInfo_;
+ }
+ return com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.getDefaultInstance();
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -2151,6 +2348,14 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
output.writeMessage(
19, (com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo) stepInfo_);
}
+ if (stepInfoCase_ == 20) {
+ output.writeMessage(
+ 20, (com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo) stepInfo_);
+ }
+ if (stepInfoCase_ == 21) {
+ output.writeMessage(
+ 21, (com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo) stepInfo_);
+ }
unknownFields.writeTo(output);
}
@@ -2248,6 +2453,16 @@ public int getSerializedSize() {
com.google.protobuf.CodedOutputStream.computeMessageSize(
19, (com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo) stepInfo_);
}
+ if (stepInfoCase_ == 20) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 20, (com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo) stepInfo_);
+ }
+ if (stepInfoCase_ == 21) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 21, (com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo) stepInfo_);
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -2291,6 +2506,9 @@ public boolean equals(final java.lang.Object obj) {
case 11:
if (!getVpnTunnel().equals(other.getVpnTunnel())) return false;
break;
+ case 21:
+ if (!getVpcConnector().equals(other.getVpcConnector())) return false;
+ break;
case 12:
if (!getDeliver().equals(other.getDeliver())) return false;
break;
@@ -2315,6 +2533,9 @@ public boolean equals(final java.lang.Object obj) {
case 19:
if (!getCloudSqlInstance().equals(other.getCloudSqlInstance())) return false;
break;
+ case 20:
+ if (!getCloudFunction().equals(other.getCloudFunction())) return false;
+ break;
case 0:
default:
}
@@ -2366,6 +2587,10 @@ public int hashCode() {
hash = (37 * hash) + VPN_TUNNEL_FIELD_NUMBER;
hash = (53 * hash) + getVpnTunnel().hashCode();
break;
+ case 21:
+ hash = (37 * hash) + VPC_CONNECTOR_FIELD_NUMBER;
+ hash = (53 * hash) + getVpcConnector().hashCode();
+ break;
case 12:
hash = (37 * hash) + DELIVER_FIELD_NUMBER;
hash = (53 * hash) + getDeliver().hashCode();
@@ -2398,6 +2623,10 @@ public int hashCode() {
hash = (37 * hash) + CLOUD_SQL_INSTANCE_FIELD_NUMBER;
hash = (53 * hash) + getCloudSqlInstance().hashCode();
break;
+ case 20:
+ hash = (37 * hash) + CLOUD_FUNCTION_FIELD_NUMBER;
+ hash = (53 * hash) + getCloudFunction().hashCode();
+ break;
case 0:
default:
}
@@ -2637,6 +2866,13 @@ public com.google.cloud.networkmanagement.v1beta1.Step buildPartial() {
result.stepInfo_ = vpnTunnelBuilder_.build();
}
}
+ if (stepInfoCase_ == 21) {
+ if (vpcConnectorBuilder_ == null) {
+ result.stepInfo_ = stepInfo_;
+ } else {
+ result.stepInfo_ = vpcConnectorBuilder_.build();
+ }
+ }
if (stepInfoCase_ == 12) {
if (deliverBuilder_ == null) {
result.stepInfo_ = stepInfo_;
@@ -2693,6 +2929,13 @@ public com.google.cloud.networkmanagement.v1beta1.Step buildPartial() {
result.stepInfo_ = cloudSqlInstanceBuilder_.build();
}
}
+ if (stepInfoCase_ == 20) {
+ if (cloudFunctionBuilder_ == null) {
+ result.stepInfo_ = stepInfo_;
+ } else {
+ result.stepInfo_ = cloudFunctionBuilder_.build();
+ }
+ }
result.stepInfoCase_ = stepInfoCase_;
onBuilt();
return result;
@@ -2794,6 +3037,11 @@ public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.Step other)
mergeVpnTunnel(other.getVpnTunnel());
break;
}
+ case VPC_CONNECTOR:
+ {
+ mergeVpcConnector(other.getVpcConnector());
+ break;
+ }
case DELIVER:
{
mergeDeliver(other.getDeliver());
@@ -2834,6 +3082,11 @@ public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.Step other)
mergeCloudSqlInstance(other.getCloudSqlInstance());
break;
}
+ case CLOUD_FUNCTION:
+ {
+ mergeCloudFunction(other.getCloudFunction());
+ break;
+ }
case STEPINFO_NOT_SET:
{
break;
@@ -4754,6 +5007,223 @@ public com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.Builder getVpnTu
return vpnTunnelBuilder_;
}
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo,
+ com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.Builder,
+ com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfoOrBuilder>
+ vpcConnectorBuilder_;
+ /**
+ *
+ *
+ *
+ * Display information of a VPC connector.
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.VpcConnectorInfo vpc_connector = 21;
+ *
+ * @return Whether the vpcConnector field is set.
+ */
+ @java.lang.Override
+ public boolean hasVpcConnector() {
+ return stepInfoCase_ == 21;
+ }
+ /**
+ *
+ *
+ *
+ * Display information of a VPC connector.
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.VpcConnectorInfo vpc_connector = 21;
+ *
+ * @return The vpcConnector.
+ */
+ @java.lang.Override
+ public com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo getVpcConnector() {
+ if (vpcConnectorBuilder_ == null) {
+ if (stepInfoCase_ == 21) {
+ return (com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo) stepInfo_;
+ }
+ return com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.getDefaultInstance();
+ } else {
+ if (stepInfoCase_ == 21) {
+ return vpcConnectorBuilder_.getMessage();
+ }
+ return com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Display information of a VPC connector.
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.VpcConnectorInfo vpc_connector = 21;
+ */
+ public Builder setVpcConnector(
+ com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo value) {
+ if (vpcConnectorBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ stepInfo_ = value;
+ onChanged();
+ } else {
+ vpcConnectorBuilder_.setMessage(value);
+ }
+ stepInfoCase_ = 21;
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Display information of a VPC connector.
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.VpcConnectorInfo vpc_connector = 21;
+ */
+ public Builder setVpcConnector(
+ com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.Builder builderForValue) {
+ if (vpcConnectorBuilder_ == null) {
+ stepInfo_ = builderForValue.build();
+ onChanged();
+ } else {
+ vpcConnectorBuilder_.setMessage(builderForValue.build());
+ }
+ stepInfoCase_ = 21;
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Display information of a VPC connector.
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.VpcConnectorInfo vpc_connector = 21;
+ */
+ public Builder mergeVpcConnector(
+ com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo value) {
+ if (vpcConnectorBuilder_ == null) {
+ if (stepInfoCase_ == 21
+ && stepInfo_
+ != com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo
+ .getDefaultInstance()) {
+ stepInfo_ =
+ com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.newBuilder(
+ (com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo) stepInfo_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ stepInfo_ = value;
+ }
+ onChanged();
+ } else {
+ if (stepInfoCase_ == 21) {
+ vpcConnectorBuilder_.mergeFrom(value);
+ } else {
+ vpcConnectorBuilder_.setMessage(value);
+ }
+ }
+ stepInfoCase_ = 21;
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Display information of a VPC connector.
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.VpcConnectorInfo vpc_connector = 21;
+ */
+ public Builder clearVpcConnector() {
+ if (vpcConnectorBuilder_ == null) {
+ if (stepInfoCase_ == 21) {
+ stepInfoCase_ = 0;
+ stepInfo_ = null;
+ onChanged();
+ }
+ } else {
+ if (stepInfoCase_ == 21) {
+ stepInfoCase_ = 0;
+ stepInfo_ = null;
+ }
+ vpcConnectorBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Display information of a VPC connector.
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.VpcConnectorInfo vpc_connector = 21;
+ */
+ public com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.Builder
+ getVpcConnectorBuilder() {
+ return getVpcConnectorFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * Display information of a VPC connector.
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.VpcConnectorInfo vpc_connector = 21;
+ */
+ @java.lang.Override
+ public com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfoOrBuilder
+ getVpcConnectorOrBuilder() {
+ if ((stepInfoCase_ == 21) && (vpcConnectorBuilder_ != null)) {
+ return vpcConnectorBuilder_.getMessageOrBuilder();
+ } else {
+ if (stepInfoCase_ == 21) {
+ return (com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo) stepInfo_;
+ }
+ return com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Display information of a VPC connector.
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.VpcConnectorInfo vpc_connector = 21;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo,
+ com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.Builder,
+ com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfoOrBuilder>
+ getVpcConnectorFieldBuilder() {
+ if (vpcConnectorBuilder_ == null) {
+ if (!(stepInfoCase_ == 21)) {
+ stepInfo_ =
+ com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.getDefaultInstance();
+ }
+ vpcConnectorBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo,
+ com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.Builder,
+ com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfoOrBuilder>(
+ (com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo) stepInfo_,
+ getParentForChildren(),
+ isClean());
+ stepInfo_ = null;
+ }
+ stepInfoCase_ = 21;
+ onChanged();
+ ;
+ return vpcConnectorBuilder_;
+ }
+
private com.google.protobuf.SingleFieldBuilderV3<
com.google.cloud.networkmanagement.v1beta1.DeliverInfo,
com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Builder,
@@ -6464,6 +6934,223 @@ public Builder clearCloudSqlInstance() {
return cloudSqlInstanceBuilder_;
}
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo,
+ com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.Builder,
+ com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfoOrBuilder>
+ cloudFunctionBuilder_;
+ /**
+ *
+ *
+ *
+ * Display information of a Cloud function.
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.CloudFunctionInfo cloud_function = 20;
+ *
+ * @return Whether the cloudFunction field is set.
+ */
+ @java.lang.Override
+ public boolean hasCloudFunction() {
+ return stepInfoCase_ == 20;
+ }
+ /**
+ *
+ *
+ *
+ * Display information of a Cloud function.
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.CloudFunctionInfo cloud_function = 20;
+ *
+ * @return The cloudFunction.
+ */
+ @java.lang.Override
+ public com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo getCloudFunction() {
+ if (cloudFunctionBuilder_ == null) {
+ if (stepInfoCase_ == 20) {
+ return (com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo) stepInfo_;
+ }
+ return com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.getDefaultInstance();
+ } else {
+ if (stepInfoCase_ == 20) {
+ return cloudFunctionBuilder_.getMessage();
+ }
+ return com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Display information of a Cloud function.
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.CloudFunctionInfo cloud_function = 20;
+ */
+ public Builder setCloudFunction(
+ com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo value) {
+ if (cloudFunctionBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ stepInfo_ = value;
+ onChanged();
+ } else {
+ cloudFunctionBuilder_.setMessage(value);
+ }
+ stepInfoCase_ = 20;
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Display information of a Cloud function.
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.CloudFunctionInfo cloud_function = 20;
+ */
+ public Builder setCloudFunction(
+ com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.Builder builderForValue) {
+ if (cloudFunctionBuilder_ == null) {
+ stepInfo_ = builderForValue.build();
+ onChanged();
+ } else {
+ cloudFunctionBuilder_.setMessage(builderForValue.build());
+ }
+ stepInfoCase_ = 20;
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Display information of a Cloud function.
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.CloudFunctionInfo cloud_function = 20;
+ */
+ public Builder mergeCloudFunction(
+ com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo value) {
+ if (cloudFunctionBuilder_ == null) {
+ if (stepInfoCase_ == 20
+ && stepInfo_
+ != com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo
+ .getDefaultInstance()) {
+ stepInfo_ =
+ com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.newBuilder(
+ (com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo) stepInfo_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ stepInfo_ = value;
+ }
+ onChanged();
+ } else {
+ if (stepInfoCase_ == 20) {
+ cloudFunctionBuilder_.mergeFrom(value);
+ } else {
+ cloudFunctionBuilder_.setMessage(value);
+ }
+ }
+ stepInfoCase_ = 20;
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Display information of a Cloud function.
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.CloudFunctionInfo cloud_function = 20;
+ */
+ public Builder clearCloudFunction() {
+ if (cloudFunctionBuilder_ == null) {
+ if (stepInfoCase_ == 20) {
+ stepInfoCase_ = 0;
+ stepInfo_ = null;
+ onChanged();
+ }
+ } else {
+ if (stepInfoCase_ == 20) {
+ stepInfoCase_ = 0;
+ stepInfo_ = null;
+ }
+ cloudFunctionBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Display information of a Cloud function.
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.CloudFunctionInfo cloud_function = 20;
+ */
+ public com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.Builder
+ getCloudFunctionBuilder() {
+ return getCloudFunctionFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * Display information of a Cloud function.
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.CloudFunctionInfo cloud_function = 20;
+ */
+ @java.lang.Override
+ public com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfoOrBuilder
+ getCloudFunctionOrBuilder() {
+ if ((stepInfoCase_ == 20) && (cloudFunctionBuilder_ != null)) {
+ return cloudFunctionBuilder_.getMessageOrBuilder();
+ } else {
+ if (stepInfoCase_ == 20) {
+ return (com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo) stepInfo_;
+ }
+ return com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Display information of a Cloud function.
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.CloudFunctionInfo cloud_function = 20;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo,
+ com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.Builder,
+ com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfoOrBuilder>
+ getCloudFunctionFieldBuilder() {
+ if (cloudFunctionBuilder_ == null) {
+ if (!(stepInfoCase_ == 20)) {
+ stepInfo_ =
+ com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.getDefaultInstance();
+ }
+ cloudFunctionBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo,
+ com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.Builder,
+ com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfoOrBuilder>(
+ (com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo) stepInfo_,
+ getParentForChildren(),
+ isClean());
+ stepInfo_ = null;
+ }
+ stepInfoCase_ = 20;
+ onChanged();
+ ;
+ return cloudFunctionBuilder_;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
diff --git a/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/StepOrBuilder.java b/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/StepOrBuilder.java
index e03b51a4..baf3ad92 100644
--- a/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/StepOrBuilder.java
+++ b/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/StepOrBuilder.java
@@ -366,6 +366,41 @@ public interface StepOrBuilder
*/
com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfoOrBuilder getVpnTunnelOrBuilder();
+ /**
+ *
+ *
+ *
+ * Display information of a VPC connector.
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.VpcConnectorInfo vpc_connector = 21;
+ *
+ * @return Whether the vpcConnector field is set.
+ */
+ boolean hasVpcConnector();
+ /**
+ *
+ *
+ *
+ * Display information of a VPC connector.
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.VpcConnectorInfo vpc_connector = 21;
+ *
+ * @return The vpcConnector.
+ */
+ com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo getVpcConnector();
+ /**
+ *
+ *
+ *
+ * Display information of a VPC connector.
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.VpcConnectorInfo vpc_connector = 21;
+ */
+ com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfoOrBuilder getVpcConnectorOrBuilder();
+
/**
*
*
@@ -650,5 +685,40 @@ public interface StepOrBuilder
com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfoOrBuilder
getCloudSqlInstanceOrBuilder();
+ /**
+ *
+ *
+ *
+ * Display information of a Cloud function.
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.CloudFunctionInfo cloud_function = 20;
+ *
+ * @return Whether the cloudFunction field is set.
+ */
+ boolean hasCloudFunction();
+ /**
+ *
+ *
+ *
+ * Display information of a Cloud function.
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.CloudFunctionInfo cloud_function = 20;
+ *
+ * @return The cloudFunction.
+ */
+ com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo getCloudFunction();
+ /**
+ *
+ *
+ *
+ * Display information of a Cloud function.
+ *
+ *
+ * .google.cloud.networkmanagement.v1beta1.CloudFunctionInfo cloud_function = 20;
+ */
+ com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfoOrBuilder getCloudFunctionOrBuilder();
+
public com.google.cloud.networkmanagement.v1beta1.Step.StepInfoCase getStepInfoCase();
}
diff --git a/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/TestOuterClass.java b/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/TestOuterClass.java
index ebf2d97b..dbdee5c0 100644
--- a/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/TestOuterClass.java
+++ b/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/TestOuterClass.java
@@ -39,6 +39,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_CloudFunctionEndpoint_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_CloudFunctionEndpoint_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_networkmanagement_v1beta1_ReachabilityDetails_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
@@ -55,6 +59,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_EdgeLocation_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_EdgeLocation_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
return descriptor;
@@ -66,12 +74,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
java.lang.String[] descriptorData = {
"\n>google/cloud/networkmanagement/v1beta1"
+ "/connectivity_test.proto\022&google.cloud.n"
- + "etworkmanagement.v1beta1\032\037google/api/fie"
- + "ld_behavior.proto\032\031google/api/resource.p"
- + "roto\0322google/cloud/networkmanagement/v1b"
- + "eta1/trace.proto\032\037google/protobuf/timest"
- + "amp.proto\032\027google/rpc/status.proto\032\034goog"
- + "le/api/annotations.proto\"\261\006\n\020Connectivit"
+ + "etworkmanagement.v1beta1\032\034google/api/ann"
+ + "otations.proto\032\037google/api/field_behavio"
+ + "r.proto\032\031google/api/resource.proto\0322goog"
+ + "le/cloud/networkmanagement/v1beta1/trace"
+ + ".proto\032\037google/protobuf/timestamp.proto\032"
+ + "\027google/rpc/status.proto\"\261\006\n\020Connectivit"
+ "yTest\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\023\n\013description\030"
+ "\002 \001(\t\022E\n\006source\030\003 \001(\01320.google.cloud.net"
+ "workmanagement.v1beta1.EndpointB\003\340A\002\022J\n\013"
@@ -92,65 +100,72 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "(\t:\0028\001:t\352Aq\n1networkmanagement.googleapi"
+ "s.com/ConnectivityTest\022
+ * For display only. Metadata associated with a VPC connector.
+ *
+ *
+ * Protobuf type {@code google.cloud.networkmanagement.v1beta1.VpcConnectorInfo}
+ */
+public final class VpcConnectorInfo extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.VpcConnectorInfo)
+ VpcConnectorInfoOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use VpcConnectorInfo.newBuilder() to construct.
+ private VpcConnectorInfo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private VpcConnectorInfo() {
+ displayName_ = "";
+ uri_ = "";
+ location_ = "";
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new VpcConnectorInfo();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
+ }
+
+ private VpcConnectorInfo(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10:
+ {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ displayName_ = s;
+ break;
+ }
+ case 18:
+ {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ uri_ = s;
+ break;
+ }
+ case 26:
+ {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ location_ = s;
+ break;
+ }
+ default:
+ {
+ if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+ } finally {
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.networkmanagement.v1beta1.TraceProto
+ .internal_static_google_cloud_networkmanagement_v1beta1_VpcConnectorInfo_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.networkmanagement.v1beta1.TraceProto
+ .internal_static_google_cloud_networkmanagement_v1beta1_VpcConnectorInfo_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.class,
+ com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.Builder.class);
+ }
+
+ public static final int DISPLAY_NAME_FIELD_NUMBER = 1;
+ private volatile java.lang.Object displayName_;
+ /**
+ *
+ *
+ *
+ * Name of a VPC connector.
+ *
+ *
+ * string display_name = 1;
+ *
+ * @return The displayName.
+ */
+ @java.lang.Override
+ public java.lang.String getDisplayName() {
+ java.lang.Object ref = displayName_;
+ 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();
+ displayName_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Name of a VPC connector.
+ *
+ *
+ * string display_name = 1;
+ *
+ * @return The bytes for displayName.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getDisplayNameBytes() {
+ java.lang.Object ref = displayName_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ displayName_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int URI_FIELD_NUMBER = 2;
+ private volatile java.lang.Object uri_;
+ /**
+ *
+ *
+ *
+ * URI of a VPC connector.
+ *
+ *
+ * string uri = 2;
+ *
+ * @return The uri.
+ */
+ @java.lang.Override
+ public java.lang.String getUri() {
+ java.lang.Object ref = uri_;
+ 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();
+ uri_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * URI of a VPC connector.
+ *
+ *
+ * string uri = 2;
+ *
+ * @return The bytes for uri.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getUriBytes() {
+ java.lang.Object ref = uri_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ uri_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int LOCATION_FIELD_NUMBER = 3;
+ private volatile java.lang.Object location_;
+ /**
+ *
+ *
+ *
+ * Location in which the VPC connector is deployed.
+ *
+ *
+ * string location = 3;
+ *
+ * @return The location.
+ */
+ @java.lang.Override
+ public java.lang.String getLocation() {
+ java.lang.Object ref = location_;
+ 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();
+ location_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Location in which the VPC connector is deployed.
+ *
+ *
+ * string location = 3;
+ *
+ * @return The bytes for location.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getLocationBytes() {
+ java.lang.Object ref = location_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ location_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, uri_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, location_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, displayName_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uri_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, location_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo other =
+ (com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo) obj;
+
+ if (!getDisplayName().equals(other.getDisplayName())) return false;
+ if (!getUri().equals(other.getUri())) return false;
+ if (!getLocation().equals(other.getLocation())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER;
+ hash = (53 * hash) + getDisplayName().hashCode();
+ hash = (37 * hash) + URI_FIELD_NUMBER;
+ hash = (53 * hash) + getUri().hashCode();
+ hash = (37 * hash) + LOCATION_FIELD_NUMBER;
+ hash = (53 * hash) + getLocation().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(
+ com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ *
+ * For display only. Metadata associated with a VPC connector.
+ *
+ *
+ * Protobuf type {@code google.cloud.networkmanagement.v1beta1.VpcConnectorInfo}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.VpcConnectorInfo)
+ com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfoOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.networkmanagement.v1beta1.TraceProto
+ .internal_static_google_cloud_networkmanagement_v1beta1_VpcConnectorInfo_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.networkmanagement.v1beta1.TraceProto
+ .internal_static_google_cloud_networkmanagement_v1beta1_VpcConnectorInfo_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.class,
+ com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.Builder.class);
+ }
+
+ // Construct using com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ displayName_ = "";
+
+ uri_ = "";
+
+ location_ = "";
+
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.cloud.networkmanagement.v1beta1.TraceProto
+ .internal_static_google_cloud_networkmanagement_v1beta1_VpcConnectorInfo_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo getDefaultInstanceForType() {
+ return com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo build() {
+ com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo buildPartial() {
+ com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo result =
+ new com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo(this);
+ result.displayName_ = displayName_;
+ result.uri_ = uri_;
+ result.location_ = location_;
+ onBuilt();
+ return result;
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return super.clone();
+ }
+
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.setField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
+ }
+
+ @java.lang.Override
+ public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
+ }
+
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
+ }
+
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.addRepeatedField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo) {
+ return mergeFrom((com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo other) {
+ if (other == com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.getDefaultInstance())
+ return this;
+ if (!other.getDisplayName().isEmpty()) {
+ displayName_ = other.displayName_;
+ onChanged();
+ }
+ if (!other.getUri().isEmpty()) {
+ uri_ = other.uri_;
+ onChanged();
+ }
+ if (!other.getLocation().isEmpty()) {
+ location_ = other.location_;
+ onChanged();
+ }
+ this.mergeUnknownFields(other.unknownFields);
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage =
+ (com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo) e.getUnfinishedMessage();
+ throw e.unwrapIOException();
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+
+ private java.lang.Object displayName_ = "";
+ /**
+ *
+ *
+ *
+ * Name of a VPC connector.
+ *
+ *
+ * string display_name = 1;
+ *
+ * @return The displayName.
+ */
+ public java.lang.String getDisplayName() {
+ java.lang.Object ref = displayName_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ displayName_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Name of a VPC connector.
+ *
+ *
+ * string display_name = 1;
+ *
+ * @return The bytes for displayName.
+ */
+ public com.google.protobuf.ByteString getDisplayNameBytes() {
+ java.lang.Object ref = displayName_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ displayName_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Name of a VPC connector.
+ *
+ *
+ * string display_name = 1;
+ *
+ * @param value The displayName to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDisplayName(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ displayName_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Name of a VPC connector.
+ *
+ *
+ * string display_name = 1;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearDisplayName() {
+
+ displayName_ = getDefaultInstance().getDisplayName();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Name of a VPC connector.
+ *
+ *
+ * string display_name = 1;
+ *
+ * @param value The bytes for displayName to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ displayName_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object uri_ = "";
+ /**
+ *
+ *
+ *
+ * URI of a VPC connector.
+ *
+ *
+ * string uri = 2;
+ *
+ * @return The uri.
+ */
+ public java.lang.String getUri() {
+ java.lang.Object ref = uri_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ uri_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * URI of a VPC connector.
+ *
+ *
+ * string uri = 2;
+ *
+ * @return The bytes for uri.
+ */
+ public com.google.protobuf.ByteString getUriBytes() {
+ java.lang.Object ref = uri_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ uri_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * URI of a VPC connector.
+ *
+ *
+ * string uri = 2;
+ *
+ * @param value The uri to set.
+ * @return This builder for chaining.
+ */
+ public Builder setUri(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ uri_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * URI of a VPC connector.
+ *
+ *
+ * string uri = 2;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearUri() {
+
+ uri_ = getDefaultInstance().getUri();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * URI of a VPC connector.
+ *
+ *
+ * string uri = 2;
+ *
+ * @param value The bytes for uri to set.
+ * @return This builder for chaining.
+ */
+ public Builder setUriBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ uri_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object location_ = "";
+ /**
+ *
+ *
+ *
+ * Location in which the VPC connector is deployed.
+ *
+ *
+ * string location = 3;
+ *
+ * @return The location.
+ */
+ public java.lang.String getLocation() {
+ java.lang.Object ref = location_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ location_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Location in which the VPC connector is deployed.
+ *
+ *
+ * string location = 3;
+ *
+ * @return The bytes for location.
+ */
+ public com.google.protobuf.ByteString getLocationBytes() {
+ java.lang.Object ref = location_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ location_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Location in which the VPC connector is deployed.
+ *
+ *
+ * string location = 3;
+ *
+ * @param value The location to set.
+ * @return This builder for chaining.
+ */
+ public Builder setLocation(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ location_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Location in which the VPC connector is deployed.
+ *
+ *
+ * string location = 3;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearLocation() {
+
+ location_ = getDefaultInstance().getLocation();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Location in which the VPC connector is deployed.
+ *
+ *
+ * string location = 3;
+ *
+ * @param value The bytes for location to set.
+ * @return This builder for chaining.
+ */
+ public Builder setLocationBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ location_ = value;
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.VpcConnectorInfo)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.VpcConnectorInfo)
+ private static final com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo();
+ }
+
+ public static com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public VpcConnectorInfo parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new VpcConnectorInfo(input, extensionRegistry);
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpcConnectorInfoOrBuilder.java b/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpcConnectorInfoOrBuilder.java
new file mode 100644
index 00000000..1ee4e295
--- /dev/null
+++ b/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpcConnectorInfoOrBuilder.java
@@ -0,0 +1,100 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/networkmanagement/v1beta1/trace.proto
+
+package com.google.cloud.networkmanagement.v1beta1;
+
+public interface VpcConnectorInfoOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.VpcConnectorInfo)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * Name of a VPC connector.
+ *
+ *
+ * string display_name = 1;
+ *
+ * @return The displayName.
+ */
+ java.lang.String getDisplayName();
+ /**
+ *
+ *
+ *
+ * Name of a VPC connector.
+ *
+ *
+ * string display_name = 1;
+ *
+ * @return The bytes for displayName.
+ */
+ com.google.protobuf.ByteString getDisplayNameBytes();
+
+ /**
+ *
+ *
+ *
+ * URI of a VPC connector.
+ *
+ *
+ * string uri = 2;
+ *
+ * @return The uri.
+ */
+ java.lang.String getUri();
+ /**
+ *
+ *
+ *
+ * URI of a VPC connector.
+ *
+ *
+ * string uri = 2;
+ *
+ * @return The bytes for uri.
+ */
+ com.google.protobuf.ByteString getUriBytes();
+
+ /**
+ *
+ *
+ *
+ * Location in which the VPC connector is deployed.
+ *
+ *
+ * string location = 3;
+ *
+ * @return The location.
+ */
+ java.lang.String getLocation();
+ /**
+ *
+ *
+ *
+ * Location in which the VPC connector is deployed.
+ *
+ *
+ * string location = 3;
+ *
+ * @return The bytes for location.
+ */
+ com.google.protobuf.ByteString getLocationBytes();
+}
diff --git a/proto-google-cloud-network-management-v1beta1/src/main/proto/google/cloud/networkmanagement/v1beta1/connectivity_test.proto b/proto-google-cloud-network-management-v1beta1/src/main/proto/google/cloud/networkmanagement/v1beta1/connectivity_test.proto
index a81027d4..e9e3010e 100644
--- a/proto-google-cloud-network-management-v1beta1/src/main/proto/google/cloud/networkmanagement/v1beta1/connectivity_test.proto
+++ b/proto-google-cloud-network-management-v1beta1/src/main/proto/google/cloud/networkmanagement/v1beta1/connectivity_test.proto
@@ -1,4 +1,4 @@
-// Copyright 2021 Google LLC
+// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -16,12 +16,12 @@ syntax = "proto3";
package google.cloud.networkmanagement.v1beta1;
+import "google/api/annotations.proto";
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/cloud/networkmanagement/v1beta1/trace.proto";
import "google/protobuf/timestamp.proto";
import "google/rpc/status.proto";
-import "google/api/annotations.proto";
option csharp_namespace = "Google.Cloud.NetworkManagement.V1Beta1";
option go_package = "google.golang.org/genproto/googleapis/cloud/networkmanagement/v1beta1;networkmanagement";
@@ -104,21 +104,25 @@ message ConnectivityTest {
map labels = 8;
// Output only. The time the test was created.
- google.protobuf.Timestamp create_time = 10 [(google.api.field_behavior) = OUTPUT_ONLY];
+ google.protobuf.Timestamp create_time = 10
+ [(google.api.field_behavior) = OUTPUT_ONLY];
// Output only. The time the test's configuration was updated.
- google.protobuf.Timestamp update_time = 11 [(google.api.field_behavior) = OUTPUT_ONLY];
+ google.protobuf.Timestamp update_time = 11
+ [(google.api.field_behavior) = OUTPUT_ONLY];
// Output only. The reachability details of this test from the latest run.
// The details are updated when creating a new test, updating an
// existing test, or triggering a one-time rerun of an existing test.
- ReachabilityDetails reachability_details = 12 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- // Output only. The probing details of this test from the latest run, present for
- // applicable tests only. The details are updated when creating a new test,
- // updating an existing test, or triggering a one-time rerun of an existing
- // test.
- ProbingDetails probing_details = 14 [(google.api.field_behavior) = OUTPUT_ONLY];
+ ReachabilityDetails reachability_details = 12
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The probing details of this test from the latest run, present
+ // for applicable tests only. The details are updated when creating a new
+ // test, updating an existing test, or triggering a one-time rerun of an
+ // existing test.
+ ProbingDetails probing_details = 14
+ [(google.api.field_behavior) = OUTPUT_ONLY];
}
// Source or destination of the Connectivity Test.
@@ -140,6 +144,12 @@ message Endpoint {
NON_GCP_NETWORK = 2;
}
+ // Wrapper for cloud function attributes.
+ message CloudFunctionEndpoint {
+ // A [Cloud function](https://cloud.google.com/functions) name.
+ string uri = 1;
+ }
+
// The IP address of the endpoint, which can be an external or internal IP.
// An IPv6 address is only allowed when the test's destination is a
// [global load balancer
@@ -160,6 +170,9 @@ message Endpoint {
// A [Cloud SQL](https://cloud.google.com/sql) instance URI.
string cloud_sql_instance = 8;
+ // A [Cloud function](https://cloud.google.com/functions).
+ CloudFunctionEndpoint cloud_function = 10;
+
// A Compute Engine network URI.
string network = 4;
@@ -285,6 +298,13 @@ message ProbingDetails {
NO_SOURCE_LOCATION = 2;
}
+ // Representation of a network edge location as per
+ // https://cloud.google.com/vpc/docs/edge-locations.
+ message EdgeLocation {
+ // Name of the metropolitan area.
+ string metropolitan_area = 1;
+ }
+
// The overall result of active probing.
ProbingResult result = 1;
@@ -310,4 +330,12 @@ message ProbingDetails {
// Latency as measured by active probing in one direction:
// from the source to the destination endpoint.
LatencyDistribution probing_latency = 8;
+
+ // The EdgeLocation from which a packet destined for/originating from the
+ // internet will egress/ingress the Google network.
+ // This will only be populated for a connectivity test which has an internet
+ // destination/source address.
+ // The absence of this field *must not* be used as an indication that the
+ // destination/source is part of the Google network.
+ EdgeLocation destination_egress_location = 9;
}
diff --git a/proto-google-cloud-network-management-v1beta1/src/main/proto/google/cloud/networkmanagement/v1beta1/reachability.proto b/proto-google-cloud-network-management-v1beta1/src/main/proto/google/cloud/networkmanagement/v1beta1/reachability.proto
index 83f19aa0..89228cb6 100644
--- a/proto-google-cloud-network-management-v1beta1/src/main/proto/google/cloud/networkmanagement/v1beta1/reachability.proto
+++ b/proto-google-cloud-network-management-v1beta1/src/main/proto/google/cloud/networkmanagement/v1beta1/reachability.proto
@@ -1,4 +1,4 @@
-// Copyright 2021 Google LLC
+// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -17,13 +17,13 @@ syntax = "proto3";
package google.cloud.networkmanagement.v1beta1;
import "google/api/annotations.proto";
+import "google/api/client.proto";
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/cloud/networkmanagement/v1beta1/connectivity_test.proto";
import "google/longrunning/operations.proto";
import "google/protobuf/field_mask.proto";
import "google/protobuf/timestamp.proto";
-import "google/api/client.proto";
option csharp_namespace = "Google.Cloud.NetworkManagement.V1Beta1";
option go_package = "google.golang.org/genproto/googleapis/cloud/networkmanagement/v1beta1;networkmanagement";
diff --git a/proto-google-cloud-network-management-v1beta1/src/main/proto/google/cloud/networkmanagement/v1beta1/trace.proto b/proto-google-cloud-network-management-v1beta1/src/main/proto/google/cloud/networkmanagement/v1beta1/trace.proto
index ec5aa269..9035fcfe 100644
--- a/proto-google-cloud-network-management-v1beta1/src/main/proto/google/cloud/networkmanagement/v1beta1/trace.proto
+++ b/proto-google-cloud-network-management-v1beta1/src/main/proto/google/cloud/networkmanagement/v1beta1/trace.proto
@@ -1,4 +1,4 @@
-// Copyright 2021 Google LLC
+// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -16,8 +16,6 @@ syntax = "proto3";
package google.cloud.networkmanagement.v1beta1;
-import "google/api/annotations.proto";
-
option csharp_namespace = "Google.Cloud.NetworkManagement.V1Beta1";
option go_package = "google.golang.org/genproto/googleapis/cloud/networkmanagement/v1beta1;networkmanagement";
option java_multiple_files = true;
@@ -84,6 +82,10 @@ message Step {
// A CloudSQLInstanceInfo is populated with starting instance information.
START_FROM_CLOUD_SQL_INSTANCE = 22;
+ // Initial state: packet originating from a Cloud function.
+ // A CloudFunctionInfo is populated with starting function information.
+ START_FROM_CLOUD_FUNCTION = 23;
+
// Config checking state: verify ingress firewall rule.
APPLY_INGRESS_FIREWALL_RULE = 4;
@@ -115,6 +117,9 @@ message Step {
// Forwarding state: arriving at a Cloud VPN tunnel.
ARRIVE_AT_VPN_TUNNEL = 13;
+ // Forwarding state: arriving at a VPC connector.
+ ARRIVE_AT_VPC_CONNECTOR = 24;
+
// Transition state: packet header translated.
NAT = 14;
@@ -182,6 +187,9 @@ message Step {
// Display information of a Compute Engine VPN tunnel.
VpnTunnelInfo vpn_tunnel = 11;
+ // Display information of a VPC connector.
+ VpcConnectorInfo vpc_connector = 21;
+
// Display information of the final state "deliver" and reason.
DeliverInfo deliver = 12;
@@ -205,6 +213,9 @@ message Step {
// Display information of a Cloud SQL instance.
CloudSQLInstanceInfo cloud_sql_instance = 19;
+
+ // Display information of a Cloud function.
+ CloudFunctionInfo cloud_function = 20;
}
}
@@ -269,6 +280,12 @@ message FirewallInfo {
// [Implied
// rules](https://cloud.google.com/vpc/docs/firewalls#default_firewall_rules).
IMPLIED_VPC_FIREWALL_RULE = 3;
+
+ // Implicit firewall rules that are managed by serverless VPC access to
+ // allow ingress access. They are not visible in the Google Cloud console.
+ // For details, see [VPC connector's implicit
+ // rules](https://cloud.google.com/functions/docs/networking/connecting-vpc#restrict-access).
+ SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE = 4;
}
// The display name of the VPC firewall rule. This field is not applicable
@@ -372,6 +389,11 @@ message RouteInfo {
// Next hop is the forwarding rule of an Internal Load Balancer.
NEXT_HOP_ILB = 10;
+
+ // Next hop is a
+ // [router appliance
+ // instance](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/ra-overview).
+ NEXT_HOP_ROUTER_APPLIANCE = 11;
}
// Type of route.
@@ -608,6 +630,9 @@ message EndpointInfo {
// URI of the network where this packet is sent to.
string destination_network_uri = 7;
+
+ // URI of the source telemetry agent this packet originates from.
+ string source_agent_uri = 8;
}
// Details of the final state "deliver" and associated resource.
@@ -631,6 +656,18 @@ message DeliverInfo {
// Target is a Cloud SQL instance.
CLOUD_SQL_INSTANCE = 5;
+
+ // Target is a published service using [Private Service
+ // Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-services).
+ PSC_PUBLISHED_SERVICE = 6;
+
+ // Target is all Google APIs using [Private Service
+ // Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-apis).
+ PSC_GOOGLE_API = 7;
+
+ // Target is VPC-SC using [Private Service
+ // Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-apis).
+ PSC_VPC_SC = 8;
}
// Target type where the packet is delivered to.
@@ -736,6 +773,9 @@ message AbortInfo {
// Aborted because the destination network does not match the destination
// endpoint.
MISMATCHED_DESTINATION_NETWORK = 14;
+
+ // Aborted because the test scenario is not supported.
+ UNSUPPORTED = 15;
}
// Causes that the analysis is aborted.
@@ -762,7 +802,7 @@ message DropInfo {
// as test input.
UNKNOWN_EXTERNAL_ADDRESS = 1;
- // a Compute Engine instance can only send or receive a packet with a
+ // A Compute Engine instance can only send or receive a packet with a
// foreign IP address if ip_forward is enabled.
FOREIGN_IP_DISALLOWED = 2;
@@ -790,9 +830,7 @@ message DropInfo {
// Instance with only an internal IP address tries to access external hosts,
// but Cloud NAT is not enabled in the subnet, unless special configurations
- // on a VM allow this connection. For more details, see [Special
- // configurations for VM
- // instances](https://cloud.google.com/vpc/docs/special-configurations).
+ // on a VM allow this connection.
NO_EXTERNAL_ADDRESS = 9;
// Destination internal address cannot be resolved to a known target. If
@@ -848,6 +886,24 @@ message DropInfo {
// Packet was dropped because the Cloud SQL instance has neither a private
// nor a public IP address.
CLOUD_SQL_INSTANCE_NO_IP_ADDRESS = 21;
+
+ // Packet could be dropped because the Cloud function is not in an active
+ // status.
+ CLOUD_FUNCTION_NOT_ACTIVE = 22;
+
+ // Packet could be dropped because no VPC connector is set.
+ VPC_CONNECTOR_NOT_SET = 23;
+
+ // Packet could be dropped because the VPC connector is not in a running
+ // state.
+ VPC_CONNECTOR_NOT_RUNNING = 24;
+
+ // Packet could be dropped because it was sent from a different region
+ // to a regional forwarding without global access.
+ FORWARDING_RULE_REGION_MISMATCH = 25;
+
+ // Privte Service Connect (PSC) connection is not in accepted state.
+ PSC_CONNECTION_NOT_ACCEPTED = 26;
}
// Cause that the packet is dropped.
@@ -894,3 +950,30 @@ message CloudSQLInstanceInfo {
// Region in which the Cloud SQL instance is running.
string region = 7;
}
+
+// For display only. Metadata associated with a Cloud function.
+message CloudFunctionInfo {
+ // Name of a Cloud function.
+ string display_name = 1;
+
+ // URI of a Cloud function.
+ string uri = 2;
+
+ // Location in which the Cloud function is deployed.
+ string location = 3;
+
+ // Latest successfully deployed version id of the Cloud function.
+ int64 version_id = 4;
+}
+
+// For display only. Metadata associated with a VPC connector.
+message VpcConnectorInfo {
+ // Name of a VPC connector.
+ string display_name = 1;
+
+ // URI of a VPC connector.
+ string uri = 2;
+
+ // Location in which the VPC connector is deployed.
+ string location = 3;
+}
diff --git a/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityserviceclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityserviceclient/create/SyncCreateSetCredentialsProvider.java
index 37fe49da..2bbd6e90 100644
--- a/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityserviceclient/create/SyncCreateSetCredentialsProvider.java
+++ b/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityserviceclient/create/SyncCreateSetCredentialsProvider.java
@@ -16,8 +16,7 @@
package com.google.cloud.networkmanagement.v1.samples;
-// [START
-// networkmanagement_v1_generated_reachabilityserviceclient_create_setcredentialsprovider_sync]
+// [START networkmanagement_v1_generated_reachabilityserviceclient_create_setcredentialsprovider_sync]
import com.google.api.gax.core.FixedCredentialsProvider;
import com.google.cloud.networkmanagement.v1.ReachabilityServiceClient;
import com.google.cloud.networkmanagement.v1.ReachabilityServiceSettings;
diff --git a/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityserviceclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityserviceclient/create/SyncCreateSetCredentialsProvider1.java
index e1c3b9be..f2d09a7e 100644
--- a/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityserviceclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityserviceclient/create/SyncCreateSetCredentialsProvider1.java
@@ -16,8 +16,7 @@
package com.google.cloud.networkmanagement.v1.samples;
-// [START
-// networkmanagement_v1_generated_reachabilityserviceclient_create_setcredentialsprovider1_sync]
+// [START networkmanagement_v1_generated_reachabilityserviceclient_create_setcredentialsprovider1_sync]
import com.google.cloud.networkmanagement.v1.ReachabilityServiceClient;
import com.google.cloud.networkmanagement.v1.ReachabilityServiceSettings;
@@ -39,5 +38,4 @@ public static void syncCreateSetCredentialsProvider1() throws Exception {
ReachabilityServiceClient.create(reachabilityServiceSettings);
}
}
-// [END
-// networkmanagement_v1_generated_reachabilityserviceclient_create_setcredentialsprovider1_sync]
+// [END networkmanagement_v1_generated_reachabilityserviceclient_create_setcredentialsprovider1_sync]
diff --git a/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityserviceclient/createconnectivitytest/SyncCreateConnectivityTestStringStringConnectivitytest.java b/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityserviceclient/createconnectivitytest/SyncCreateConnectivityTestStringStringConnectivitytest.java
index 12643755..7ead56da 100644
--- a/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityserviceclient/createconnectivitytest/SyncCreateConnectivityTestStringStringConnectivitytest.java
+++ b/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityserviceclient/createconnectivitytest/SyncCreateConnectivityTestStringStringConnectivitytest.java
@@ -16,8 +16,7 @@
package com.google.cloud.networkmanagement.v1.samples;
-// [START
-// networkmanagement_v1_generated_reachabilityserviceclient_createconnectivitytest_stringstringconnectivitytest_sync]
+// [START networkmanagement_v1_generated_reachabilityserviceclient_createconnectivitytest_stringstringconnectivitytest_sync]
import com.google.cloud.networkmanagement.v1.ConnectivityTest;
import com.google.cloud.networkmanagement.v1.ReachabilityServiceClient;
@@ -39,5 +38,4 @@ public static void syncCreateConnectivityTestStringStringConnectivitytest() thro
}
}
}
-// [END
-// networkmanagement_v1_generated_reachabilityserviceclient_createconnectivitytest_stringstringconnectivitytest_sync]
+// [END networkmanagement_v1_generated_reachabilityserviceclient_createconnectivitytest_stringstringconnectivitytest_sync]
diff --git a/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityserviceclient/deleteconnectivitytest/SyncDeleteConnectivityTest.java b/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityserviceclient/deleteconnectivitytest/SyncDeleteConnectivityTest.java
index 7f57da22..d6499a1e 100644
--- a/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityserviceclient/deleteconnectivitytest/SyncDeleteConnectivityTest.java
+++ b/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityserviceclient/deleteconnectivitytest/SyncDeleteConnectivityTest.java
@@ -19,6 +19,7 @@
// [START networkmanagement_v1_generated_reachabilityserviceclient_deleteconnectivitytest_sync]
import com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest;
import com.google.cloud.networkmanagement.v1.ReachabilityServiceClient;
+import com.google.protobuf.Empty;
public class SyncDeleteConnectivityTest {
diff --git a/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityserviceclient/deleteconnectivitytest/SyncDeleteConnectivityTestString.java b/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityserviceclient/deleteconnectivitytest/SyncDeleteConnectivityTestString.java
index a5f2e43b..f26be3bb 100644
--- a/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityserviceclient/deleteconnectivitytest/SyncDeleteConnectivityTestString.java
+++ b/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityserviceclient/deleteconnectivitytest/SyncDeleteConnectivityTestString.java
@@ -16,9 +16,9 @@
package com.google.cloud.networkmanagement.v1.samples;
-// [START
-// networkmanagement_v1_generated_reachabilityserviceclient_deleteconnectivitytest_string_sync]
+// [START networkmanagement_v1_generated_reachabilityserviceclient_deleteconnectivitytest_string_sync]
import com.google.cloud.networkmanagement.v1.ReachabilityServiceClient;
+import com.google.protobuf.Empty;
public class SyncDeleteConnectivityTestString {
diff --git a/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityserviceclient/listconnectivitytests/AsyncListConnectivityTestsPaged.java b/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityserviceclient/listconnectivitytests/AsyncListConnectivityTestsPaged.java
index c1d5063d..0fc346ad 100644
--- a/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityserviceclient/listconnectivitytests/AsyncListConnectivityTestsPaged.java
+++ b/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityserviceclient/listconnectivitytests/AsyncListConnectivityTestsPaged.java
@@ -16,8 +16,7 @@
package com.google.cloud.networkmanagement.v1.samples;
-// [START
-// networkmanagement_v1_generated_reachabilityserviceclient_listconnectivitytests_paged_async]
+// [START networkmanagement_v1_generated_reachabilityserviceclient_listconnectivitytests_paged_async]
import com.google.cloud.networkmanagement.v1.ConnectivityTest;
import com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest;
import com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse;
diff --git a/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityserviceclient/listconnectivitytests/SyncListConnectivityTestsString.java b/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityserviceclient/listconnectivitytests/SyncListConnectivityTestsString.java
index 09c22676..9497f42b 100644
--- a/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityserviceclient/listconnectivitytests/SyncListConnectivityTestsString.java
+++ b/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityserviceclient/listconnectivitytests/SyncListConnectivityTestsString.java
@@ -16,8 +16,7 @@
package com.google.cloud.networkmanagement.v1.samples;
-// [START
-// networkmanagement_v1_generated_reachabilityserviceclient_listconnectivitytests_string_sync]
+// [START networkmanagement_v1_generated_reachabilityserviceclient_listconnectivitytests_string_sync]
import com.google.cloud.networkmanagement.v1.ConnectivityTest;
import com.google.cloud.networkmanagement.v1.ReachabilityServiceClient;
diff --git a/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityserviceclient/updateconnectivitytest/SyncUpdateConnectivityTestFieldmaskConnectivitytest.java b/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityserviceclient/updateconnectivitytest/SyncUpdateConnectivityTestFieldmaskConnectivitytest.java
index 460b48d8..87597669 100644
--- a/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityserviceclient/updateconnectivitytest/SyncUpdateConnectivityTestFieldmaskConnectivitytest.java
+++ b/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityserviceclient/updateconnectivitytest/SyncUpdateConnectivityTestFieldmaskConnectivitytest.java
@@ -16,8 +16,7 @@
package com.google.cloud.networkmanagement.v1.samples;
-// [START
-// networkmanagement_v1_generated_reachabilityserviceclient_updateconnectivitytest_fieldmaskconnectivitytest_sync]
+// [START networkmanagement_v1_generated_reachabilityserviceclient_updateconnectivitytest_fieldmaskconnectivitytest_sync]
import com.google.cloud.networkmanagement.v1.ConnectivityTest;
import com.google.cloud.networkmanagement.v1.ReachabilityServiceClient;
import com.google.protobuf.FieldMask;
@@ -39,5 +38,4 @@ public static void syncUpdateConnectivityTestFieldmaskConnectivitytest() throws
}
}
}
-// [END
-// networkmanagement_v1_generated_reachabilityserviceclient_updateconnectivitytest_fieldmaskconnectivitytest_sync]
+// [END networkmanagement_v1_generated_reachabilityserviceclient_updateconnectivitytest_fieldmaskconnectivitytest_sync]
diff --git a/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityserviceclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityserviceclient/create/SyncCreateSetCredentialsProvider.java
index b73f72da..a481513d 100644
--- a/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityserviceclient/create/SyncCreateSetCredentialsProvider.java
+++ b/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityserviceclient/create/SyncCreateSetCredentialsProvider.java
@@ -16,8 +16,7 @@
package com.google.cloud.networkmanagement.v1beta1.samples;
-// [START
-// networkmanagement_v1beta1_generated_reachabilityserviceclient_create_setcredentialsprovider_sync]
+// [START networkmanagement_v1beta1_generated_reachabilityserviceclient_create_setcredentialsprovider_sync]
import com.google.api.gax.core.FixedCredentialsProvider;
import com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceClient;
import com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceSettings;
@@ -40,5 +39,4 @@ public static void syncCreateSetCredentialsProvider() throws Exception {
ReachabilityServiceClient.create(reachabilityServiceSettings);
}
}
-// [END
-// networkmanagement_v1beta1_generated_reachabilityserviceclient_create_setcredentialsprovider_sync]
+// [END networkmanagement_v1beta1_generated_reachabilityserviceclient_create_setcredentialsprovider_sync]
diff --git a/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityserviceclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityserviceclient/create/SyncCreateSetCredentialsProvider1.java
index 2cc39e8b..9aea1865 100644
--- a/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityserviceclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityserviceclient/create/SyncCreateSetCredentialsProvider1.java
@@ -16,8 +16,7 @@
package com.google.cloud.networkmanagement.v1beta1.samples;
-// [START
-// networkmanagement_v1beta1_generated_reachabilityserviceclient_create_setcredentialsprovider1_sync]
+// [START networkmanagement_v1beta1_generated_reachabilityserviceclient_create_setcredentialsprovider1_sync]
import com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceClient;
import com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceSettings;
@@ -39,5 +38,4 @@ public static void syncCreateSetCredentialsProvider1() throws Exception {
ReachabilityServiceClient.create(reachabilityServiceSettings);
}
}
-// [END
-// networkmanagement_v1beta1_generated_reachabilityserviceclient_create_setcredentialsprovider1_sync]
+// [END networkmanagement_v1beta1_generated_reachabilityserviceclient_create_setcredentialsprovider1_sync]
diff --git a/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityserviceclient/createconnectivitytest/AsyncCreateConnectivityTest.java b/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityserviceclient/createconnectivitytest/AsyncCreateConnectivityTest.java
index 78d17b65..f7170379 100644
--- a/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityserviceclient/createconnectivitytest/AsyncCreateConnectivityTest.java
+++ b/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityserviceclient/createconnectivitytest/AsyncCreateConnectivityTest.java
@@ -16,8 +16,7 @@
package com.google.cloud.networkmanagement.v1beta1.samples;
-// [START
-// networkmanagement_v1beta1_generated_reachabilityserviceclient_createconnectivitytest_async]
+// [START networkmanagement_v1beta1_generated_reachabilityserviceclient_createconnectivitytest_async]
import com.google.api.core.ApiFuture;
import com.google.cloud.networkmanagement.v1beta1.ConnectivityTest;
import com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest;
diff --git a/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityserviceclient/createconnectivitytest/AsyncCreateConnectivityTestLRO.java b/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityserviceclient/createconnectivitytest/AsyncCreateConnectivityTestLRO.java
index d8469ab0..6c389a50 100644
--- a/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityserviceclient/createconnectivitytest/AsyncCreateConnectivityTestLRO.java
+++ b/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityserviceclient/createconnectivitytest/AsyncCreateConnectivityTestLRO.java
@@ -16,8 +16,7 @@
package com.google.cloud.networkmanagement.v1beta1.samples;
-// [START
-// networkmanagement_v1beta1_generated_reachabilityserviceclient_createconnectivitytest_lro_async]
+// [START networkmanagement_v1beta1_generated_reachabilityserviceclient_createconnectivitytest_lro_async]
import com.google.api.gax.longrunning.OperationFuture;
import com.google.cloud.networkmanagement.v1beta1.ConnectivityTest;
import com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest;
@@ -47,5 +46,4 @@ public static void asyncCreateConnectivityTestLRO() throws Exception {
}
}
}
-// [END
-// networkmanagement_v1beta1_generated_reachabilityserviceclient_createconnectivitytest_lro_async]
+// [END networkmanagement_v1beta1_generated_reachabilityserviceclient_createconnectivitytest_lro_async]
diff --git a/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityserviceclient/deleteconnectivitytest/AsyncDeleteConnectivityTest.java b/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityserviceclient/deleteconnectivitytest/AsyncDeleteConnectivityTest.java
index c6aefd9d..6a70fa88 100644
--- a/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityserviceclient/deleteconnectivitytest/AsyncDeleteConnectivityTest.java
+++ b/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityserviceclient/deleteconnectivitytest/AsyncDeleteConnectivityTest.java
@@ -16,8 +16,7 @@
package com.google.cloud.networkmanagement.v1beta1.samples;
-// [START
-// networkmanagement_v1beta1_generated_reachabilityserviceclient_deleteconnectivitytest_async]
+// [START networkmanagement_v1beta1_generated_reachabilityserviceclient_deleteconnectivitytest_async]
import com.google.api.core.ApiFuture;
import com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest;
import com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceClient;
diff --git a/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityserviceclient/deleteconnectivitytest/AsyncDeleteConnectivityTestLRO.java b/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityserviceclient/deleteconnectivitytest/AsyncDeleteConnectivityTestLRO.java
index ab60fd6b..406640e6 100644
--- a/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityserviceclient/deleteconnectivitytest/AsyncDeleteConnectivityTestLRO.java
+++ b/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityserviceclient/deleteconnectivitytest/AsyncDeleteConnectivityTestLRO.java
@@ -16,8 +16,7 @@
package com.google.cloud.networkmanagement.v1beta1.samples;
-// [START
-// networkmanagement_v1beta1_generated_reachabilityserviceclient_deleteconnectivitytest_lro_async]
+// [START networkmanagement_v1beta1_generated_reachabilityserviceclient_deleteconnectivitytest_lro_async]
import com.google.api.gax.longrunning.OperationFuture;
import com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest;
import com.google.cloud.networkmanagement.v1beta1.OperationMetadata;
@@ -43,5 +42,4 @@ public static void asyncDeleteConnectivityTestLRO() throws Exception {
}
}
}
-// [END
-// networkmanagement_v1beta1_generated_reachabilityserviceclient_deleteconnectivitytest_lro_async]
+// [END networkmanagement_v1beta1_generated_reachabilityserviceclient_deleteconnectivitytest_lro_async]
diff --git a/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityserviceclient/deleteconnectivitytest/SyncDeleteConnectivityTest.java b/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityserviceclient/deleteconnectivitytest/SyncDeleteConnectivityTest.java
index 9888a861..ef51c9db 100644
--- a/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityserviceclient/deleteconnectivitytest/SyncDeleteConnectivityTest.java
+++ b/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityserviceclient/deleteconnectivitytest/SyncDeleteConnectivityTest.java
@@ -19,6 +19,7 @@
// [START networkmanagement_v1beta1_generated_reachabilityserviceclient_deleteconnectivitytest_sync]
import com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest;
import com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceClient;
+import com.google.protobuf.Empty;
public class SyncDeleteConnectivityTest {
diff --git a/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityserviceclient/listconnectivitytests/AsyncListConnectivityTestsPaged.java b/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityserviceclient/listconnectivitytests/AsyncListConnectivityTestsPaged.java
index f5fe1484..2ba55ede 100644
--- a/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityserviceclient/listconnectivitytests/AsyncListConnectivityTestsPaged.java
+++ b/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityserviceclient/listconnectivitytests/AsyncListConnectivityTestsPaged.java
@@ -16,8 +16,7 @@
package com.google.cloud.networkmanagement.v1beta1.samples;
-// [START
-// networkmanagement_v1beta1_generated_reachabilityserviceclient_listconnectivitytests_paged_async]
+// [START networkmanagement_v1beta1_generated_reachabilityserviceclient_listconnectivitytests_paged_async]
import com.google.cloud.networkmanagement.v1beta1.ConnectivityTest;
import com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest;
import com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse;
@@ -58,5 +57,4 @@ public static void asyncListConnectivityTestsPaged() throws Exception {
}
}
}
-// [END
-// networkmanagement_v1beta1_generated_reachabilityserviceclient_listconnectivitytests_paged_async]
+// [END networkmanagement_v1beta1_generated_reachabilityserviceclient_listconnectivitytests_paged_async]
diff --git a/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityserviceclient/rerunconnectivitytest/AsyncRerunConnectivityTestLRO.java b/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityserviceclient/rerunconnectivitytest/AsyncRerunConnectivityTestLRO.java
index 1e0959c2..94cece5d 100644
--- a/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityserviceclient/rerunconnectivitytest/AsyncRerunConnectivityTestLRO.java
+++ b/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityserviceclient/rerunconnectivitytest/AsyncRerunConnectivityTestLRO.java
@@ -16,8 +16,7 @@
package com.google.cloud.networkmanagement.v1beta1.samples;
-// [START
-// networkmanagement_v1beta1_generated_reachabilityserviceclient_rerunconnectivitytest_lro_async]
+// [START networkmanagement_v1beta1_generated_reachabilityserviceclient_rerunconnectivitytest_lro_async]
import com.google.api.gax.longrunning.OperationFuture;
import com.google.cloud.networkmanagement.v1beta1.ConnectivityTest;
import com.google.cloud.networkmanagement.v1beta1.OperationMetadata;
@@ -43,5 +42,4 @@ public static void asyncRerunConnectivityTestLRO() throws Exception {
}
}
}
-// [END
-// networkmanagement_v1beta1_generated_reachabilityserviceclient_rerunconnectivitytest_lro_async]
+// [END networkmanagement_v1beta1_generated_reachabilityserviceclient_rerunconnectivitytest_lro_async]
diff --git a/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityserviceclient/updateconnectivitytest/AsyncUpdateConnectivityTest.java b/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityserviceclient/updateconnectivitytest/AsyncUpdateConnectivityTest.java
index ed6cd688..7558cdbf 100644
--- a/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityserviceclient/updateconnectivitytest/AsyncUpdateConnectivityTest.java
+++ b/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityserviceclient/updateconnectivitytest/AsyncUpdateConnectivityTest.java
@@ -16,8 +16,7 @@
package com.google.cloud.networkmanagement.v1beta1.samples;
-// [START
-// networkmanagement_v1beta1_generated_reachabilityserviceclient_updateconnectivitytest_async]
+// [START networkmanagement_v1beta1_generated_reachabilityserviceclient_updateconnectivitytest_async]
import com.google.api.core.ApiFuture;
import com.google.cloud.networkmanagement.v1beta1.ConnectivityTest;
import com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceClient;
diff --git a/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityserviceclient/updateconnectivitytest/AsyncUpdateConnectivityTestLRO.java b/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityserviceclient/updateconnectivitytest/AsyncUpdateConnectivityTestLRO.java
index ec15c993..c61ab983 100644
--- a/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityserviceclient/updateconnectivitytest/AsyncUpdateConnectivityTestLRO.java
+++ b/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityserviceclient/updateconnectivitytest/AsyncUpdateConnectivityTestLRO.java
@@ -16,8 +16,7 @@
package com.google.cloud.networkmanagement.v1beta1.samples;
-// [START
-// networkmanagement_v1beta1_generated_reachabilityserviceclient_updateconnectivitytest_lro_async]
+// [START networkmanagement_v1beta1_generated_reachabilityserviceclient_updateconnectivitytest_lro_async]
import com.google.api.gax.longrunning.OperationFuture;
import com.google.cloud.networkmanagement.v1beta1.ConnectivityTest;
import com.google.cloud.networkmanagement.v1beta1.OperationMetadata;
@@ -47,5 +46,4 @@ public static void asyncUpdateConnectivityTestLRO() throws Exception {
}
}
}
-// [END
-// networkmanagement_v1beta1_generated_reachabilityserviceclient_updateconnectivitytest_lro_async]
+// [END networkmanagement_v1beta1_generated_reachabilityserviceclient_updateconnectivitytest_lro_async]
diff --git a/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/stub/reachabilityservicestubsettings/getconnectivitytest/SyncGetConnectivityTest.java b/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/stub/reachabilityservicestubsettings/getconnectivitytest/SyncGetConnectivityTest.java
index 6dea7659..9504b383 100644
--- a/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/stub/reachabilityservicestubsettings/getconnectivitytest/SyncGetConnectivityTest.java
+++ b/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/stub/reachabilityservicestubsettings/getconnectivitytest/SyncGetConnectivityTest.java
@@ -16,8 +16,7 @@
package com.google.cloud.networkmanagement.v1beta1.stub.samples;
-// [START
-// networkmanagement_v1beta1_generated_reachabilityservicestubsettings_getconnectivitytest_sync]
+// [START networkmanagement_v1beta1_generated_reachabilityservicestubsettings_getconnectivitytest_sync]
import com.google.cloud.networkmanagement.v1beta1.stub.ReachabilityServiceStubSettings;
import java.time.Duration;
@@ -45,5 +44,4 @@ public static void syncGetConnectivityTest() throws Exception {
reachabilityServiceSettingsBuilder.build();
}
}
-// [END
-// networkmanagement_v1beta1_generated_reachabilityservicestubsettings_getconnectivitytest_sync]
+// [END networkmanagement_v1beta1_generated_reachabilityservicestubsettings_getconnectivitytest_sync]