getRou
*
*
*
- * The VPC network associated with this hub's spokes. All of the VPN tunnels,
- * VLAN attachments, and router appliance instances referenced by this hub's
- * spokes must belong to this VPC network.
+ * The VPC networks associated with this hub's spokes.
* This field is read-only. Network Connectivity Center automatically
* populates it based on the set of spokes attached to the hub.
*
@@ -2292,9 +2282,7 @@ public int getRoutingVpcsCount() {
*
*
*
- * The VPC network associated with this hub's spokes. All of the VPN tunnels,
- * VLAN attachments, and router appliance instances referenced by this hub's
- * spokes must belong to this VPC network.
+ * The VPC networks associated with this hub's spokes.
* This field is read-only. Network Connectivity Center automatically
* populates it based on the set of spokes attached to the hub.
*
@@ -2312,9 +2300,7 @@ public com.google.cloud.networkconnectivity.v1.RoutingVPC getRoutingVpcs(int ind
*
*
*
- * The VPC network associated with this hub's spokes. All of the VPN tunnels,
- * VLAN attachments, and router appliance instances referenced by this hub's
- * spokes must belong to this VPC network.
+ * The VPC networks associated with this hub's spokes.
* This field is read-only. Network Connectivity Center automatically
* populates it based on the set of spokes attached to the hub.
*
@@ -2339,9 +2325,7 @@ public Builder setRoutingVpcs(
*
*
*
- * The VPC network associated with this hub's spokes. All of the VPN tunnels,
- * VLAN attachments, and router appliance instances referenced by this hub's
- * spokes must belong to this VPC network.
+ * The VPC networks associated with this hub's spokes.
* This field is read-only. Network Connectivity Center automatically
* populates it based on the set of spokes attached to the hub.
*
@@ -2363,9 +2347,7 @@ public Builder setRoutingVpcs(
*
*
*
- * The VPC network associated with this hub's spokes. All of the VPN tunnels,
- * VLAN attachments, and router appliance instances referenced by this hub's
- * spokes must belong to this VPC network.
+ * The VPC networks associated with this hub's spokes.
* This field is read-only. Network Connectivity Center automatically
* populates it based on the set of spokes attached to the hub.
*
@@ -2389,9 +2371,7 @@ public Builder addRoutingVpcs(com.google.cloud.networkconnectivity.v1.RoutingVPC
*
*
*
- * The VPC network associated with this hub's spokes. All of the VPN tunnels,
- * VLAN attachments, and router appliance instances referenced by this hub's
- * spokes must belong to this VPC network.
+ * The VPC networks associated with this hub's spokes.
* This field is read-only. Network Connectivity Center automatically
* populates it based on the set of spokes attached to the hub.
*
@@ -2416,9 +2396,7 @@ public Builder addRoutingVpcs(
*
*
*
- * The VPC network associated with this hub's spokes. All of the VPN tunnels,
- * VLAN attachments, and router appliance instances referenced by this hub's
- * spokes must belong to this VPC network.
+ * The VPC networks associated with this hub's spokes.
* This field is read-only. Network Connectivity Center automatically
* populates it based on the set of spokes attached to the hub.
*
@@ -2440,9 +2418,7 @@ public Builder addRoutingVpcs(
*
*
*
- * The VPC network associated with this hub's spokes. All of the VPN tunnels,
- * VLAN attachments, and router appliance instances referenced by this hub's
- * spokes must belong to this VPC network.
+ * The VPC networks associated with this hub's spokes.
* This field is read-only. Network Connectivity Center automatically
* populates it based on the set of spokes attached to the hub.
*
@@ -2464,9 +2440,7 @@ public Builder addRoutingVpcs(
*
*
*
- * The VPC network associated with this hub's spokes. All of the VPN tunnels,
- * VLAN attachments, and router appliance instances referenced by this hub's
- * spokes must belong to this VPC network.
+ * The VPC networks associated with this hub's spokes.
* This field is read-only. Network Connectivity Center automatically
* populates it based on the set of spokes attached to the hub.
*
@@ -2488,9 +2462,7 @@ public Builder addAllRoutingVpcs(
*
*
*
- * The VPC network associated with this hub's spokes. All of the VPN tunnels,
- * VLAN attachments, and router appliance instances referenced by this hub's
- * spokes must belong to this VPC network.
+ * The VPC networks associated with this hub's spokes.
* This field is read-only. Network Connectivity Center automatically
* populates it based on the set of spokes attached to the hub.
*
@@ -2511,9 +2483,7 @@ public Builder clearRoutingVpcs() {
*
*
*
- * The VPC network associated with this hub's spokes. All of the VPN tunnels,
- * VLAN attachments, and router appliance instances referenced by this hub's
- * spokes must belong to this VPC network.
+ * The VPC networks associated with this hub's spokes.
* This field is read-only. Network Connectivity Center automatically
* populates it based on the set of spokes attached to the hub.
*
@@ -2534,9 +2504,7 @@ public Builder removeRoutingVpcs(int index) {
*
*
*
- * The VPC network associated with this hub's spokes. All of the VPN tunnels,
- * VLAN attachments, and router appliance instances referenced by this hub's
- * spokes must belong to this VPC network.
+ * The VPC networks associated with this hub's spokes.
* This field is read-only. Network Connectivity Center automatically
* populates it based on the set of spokes attached to the hub.
*
@@ -2551,9 +2519,7 @@ public com.google.cloud.networkconnectivity.v1.RoutingVPC.Builder getRoutingVpcs
*
*
*
- * The VPC network associated with this hub's spokes. All of the VPN tunnels,
- * VLAN attachments, and router appliance instances referenced by this hub's
- * spokes must belong to this VPC network.
+ * The VPC networks associated with this hub's spokes.
* This field is read-only. Network Connectivity Center automatically
* populates it based on the set of spokes attached to the hub.
*
@@ -2572,9 +2538,7 @@ public com.google.cloud.networkconnectivity.v1.RoutingVPCOrBuilder getRoutingVpc
*
*
*
- * The VPC network associated with this hub's spokes. All of the VPN tunnels,
- * VLAN attachments, and router appliance instances referenced by this hub's
- * spokes must belong to this VPC network.
+ * The VPC networks associated with this hub's spokes.
* This field is read-only. Network Connectivity Center automatically
* populates it based on the set of spokes attached to the hub.
*
@@ -2593,9 +2557,7 @@ public com.google.cloud.networkconnectivity.v1.RoutingVPCOrBuilder getRoutingVpc
*
*
*
- * The VPC network associated with this hub's spokes. All of the VPN tunnels,
- * VLAN attachments, and router appliance instances referenced by this hub's
- * spokes must belong to this VPC network.
+ * The VPC networks associated with this hub's spokes.
* This field is read-only. Network Connectivity Center automatically
* populates it based on the set of spokes attached to the hub.
*
@@ -2610,9 +2572,7 @@ public com.google.cloud.networkconnectivity.v1.RoutingVPC.Builder addRoutingVpcs
*
*
*
- * The VPC network associated with this hub's spokes. All of the VPN tunnels,
- * VLAN attachments, and router appliance instances referenced by this hub's
- * spokes must belong to this VPC network.
+ * The VPC networks associated with this hub's spokes.
* This field is read-only. Network Connectivity Center automatically
* populates it based on the set of spokes attached to the hub.
*
@@ -2629,9 +2589,7 @@ public com.google.cloud.networkconnectivity.v1.RoutingVPC.Builder addRoutingVpcs
*
*
*
- * The VPC network associated with this hub's spokes. All of the VPN tunnels,
- * VLAN attachments, and router appliance instances referenced by this hub's
- * spokes must belong to this VPC network.
+ * The VPC networks associated with this hub's spokes.
* This field is read-only. Network Connectivity Center automatically
* populates it based on the set of spokes attached to the hub.
*
diff --git a/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/HubOrBuilder.java b/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/HubOrBuilder.java
index 497ad3a5..a64d318d 100644
--- a/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/HubOrBuilder.java
+++ b/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/HubOrBuilder.java
@@ -279,9 +279,7 @@ public interface HubOrBuilder
*
*
*
- * The VPC network associated with this hub's spokes. All of the VPN tunnels,
- * VLAN attachments, and router appliance instances referenced by this hub's
- * spokes must belong to this VPC network.
+ * The VPC networks associated with this hub's spokes.
* This field is read-only. Network Connectivity Center automatically
* populates it based on the set of spokes attached to the hub.
*
@@ -293,9 +291,7 @@ public interface HubOrBuilder
*
*
*
- * The VPC network associated with this hub's spokes. All of the VPN tunnels,
- * VLAN attachments, and router appliance instances referenced by this hub's
- * spokes must belong to this VPC network.
+ * The VPC networks associated with this hub's spokes.
* This field is read-only. Network Connectivity Center automatically
* populates it based on the set of spokes attached to the hub.
*
@@ -307,9 +303,7 @@ public interface HubOrBuilder
*
*
*
- * The VPC network associated with this hub's spokes. All of the VPN tunnels,
- * VLAN attachments, and router appliance instances referenced by this hub's
- * spokes must belong to this VPC network.
+ * The VPC networks associated with this hub's spokes.
* This field is read-only. Network Connectivity Center automatically
* populates it based on the set of spokes attached to the hub.
*
@@ -321,9 +315,7 @@ public interface HubOrBuilder
*
*
*
- * The VPC network associated with this hub's spokes. All of the VPN tunnels,
- * VLAN attachments, and router appliance instances referenced by this hub's
- * spokes must belong to this VPC network.
+ * The VPC networks associated with this hub's spokes.
* This field is read-only. Network Connectivity Center automatically
* populates it based on the set of spokes attached to the hub.
*
@@ -336,9 +328,7 @@ public interface HubOrBuilder
*
*
*
- * The VPC network associated with this hub's spokes. All of the VPN tunnels,
- * VLAN attachments, and router appliance instances referenced by this hub's
- * spokes must belong to this VPC network.
+ * The VPC networks associated with this hub's spokes.
* This field is read-only. Network Connectivity Center automatically
* populates it based on the set of spokes attached to the hub.
*
diff --git a/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/HubProto.java b/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/HubProto.java
index 6574e382..3a2324e1 100644
--- a/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/HubProto.java
+++ b/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/HubProto.java
@@ -111,6 +111,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_networkconnectivity_v1_RouterApplianceInstance_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_networkconnectivity_v1_RouterApplianceInstance_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_networkconnectivity_v1_LocationMetadata_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_networkconnectivity_v1_LocationMetadata_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
return descriptor;
@@ -140,154 +144,161 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "utingVPC\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005"
+ "value\030\002 \001(\t:\0028\001:[\352AX\n&networkconnectivit"
+ "y.googleapis.com/Hub\022.projects/{project}"
- + "/locations/global/hubs/{hub}\">\n\nRoutingV"
+ + "/locations/global/hubs/{hub}\"\177\n\nRoutingV"
+ "PC\0220\n\003uri\030\001 \001(\tB#\372A \n\036compute.googleapis"
- + ".com/Network\"\276\006\n\005Spoke\022\021\n\004name\030\001 \001(\tB\003\340A"
- + "\005\0224\n\013create_time\030\002 \001(\0132\032.google.protobuf"
- + ".TimestampB\003\340A\003\0224\n\013update_time\030\003 \001(\0132\032.g"
- + "oogle.protobuf.TimestampB\003\340A\003\022F\n\006labels\030"
- + "\004 \003(\01326.google.cloud.networkconnectivity"
- + ".v1.Spoke.LabelsEntry\022\023\n\013description\030\005 \001"
- + "(\t\022;\n\003hub\030\006 \001(\tB.\340A\005\372A(\n&networkconnecti"
- + "vity.googleapis.com/Hub\022Q\n\022linked_vpn_tu"
- + "nnels\030\021 \001(\01325.google.cloud.networkconnec"
- + "tivity.v1.LinkedVpnTunnels\022k\n\037linked_int"
- + "erconnect_attachments\030\022 \001(\0132B.google.clo"
- + "ud.networkconnectivity.v1.LinkedIntercon"
- + "nectAttachments\022n\n!linked_router_applian"
- + "ce_instances\030\023 \001(\0132C.google.cloud.networ"
- + "kconnectivity.v1.LinkedRouterApplianceIn"
- + "stances\022\026\n\tunique_id\030\013 \001(\tB\003\340A\003\022>\n\005state"
- + "\030\017 \001(\0162*.google.cloud.networkconnectivit"
- + "y.v1.StateB\003\340A\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 "
- + "\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:e\352Ab\n(networkconn"
- + "ectivity.googleapis.com/Spoke\0226projects/"
- + "{project}/locations/{location}/spokes/{s"
- + "poke}\"\225\001\n\017ListHubsRequest\0229\n\006parent\030\001 \001("
- + "\tB)\340A\002\372A#\n!locations.googleapis.com/Loca"
- + "tion\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\010order_by\030\005 \001(\t\"x\n"
- + "\020ListHubsResponse\0226\n\004hubs\030\001 \003(\0132(.google"
- + ".cloud.networkconnectivity.v1.Hub\022\027\n\017nex"
- + "t_page_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\""
- + "M\n\rGetHubRequest\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&"
- + "networkconnectivity.googleapis.com/Hub\"\267"
- + "\001\n\020CreateHubRequest\0229\n\006parent\030\001 \001(\tB)\340A\002"
- + "\372A#\n!locations.googleapis.com/Location\022\023"
- + "\n\006hub_id\030\002 \001(\tB\003\340A\002\022:\n\003hub\030\003 \001(\0132(.googl"
- + "e.cloud.networkconnectivity.v1.HubB\003\340A\002\022"
- + "\027\n\nrequest_id\030\004 \001(\tB\003\340A\001\"\235\001\n\020UpdateHubRe"
- + "quest\0224\n\013update_mask\030\001 \001(\0132\032.google.prot"
- + "obuf.FieldMaskB\003\340A\001\022:\n\003hub\030\002 \001(\0132(.googl"
- + "e.cloud.networkconnectivity.v1.HubB\003\340A\002\022"
- + "\027\n\nrequest_id\030\003 \001(\tB\003\340A\001\"i\n\020DeleteHubReq"
- + "uest\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&networkconne"
- + "ctivity.googleapis.com/Hub\022\027\n\nrequest_id"
- + "\030\002 \001(\tB\003\340A\001\"\227\001\n\021ListSpokesRequest\0229\n\006par"
- + "ent\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapis."
- + "com/Location\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\010order_by\030"
- + "\005 \001(\t\"~\n\022ListSpokesResponse\022:\n\006spokes\030\001 "
- + "\003(\0132*.google.cloud.networkconnectivity.v"
- + "1.Spoke\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unre"
- + "achable\030\003 \003(\t\"Q\n\017GetSpokeRequest\022>\n\004name"
- + "\030\001 \001(\tB0\340A\002\372A*\n(networkconnectivity.goog"
- + "leapis.com/Spoke\"\277\001\n\022CreateSpokeRequest\022"
- + "9\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations.googl"
- + "eapis.com/Location\022\025\n\010spoke_id\030\002 \001(\tB\003\340A"
- + "\002\022>\n\005spoke\030\003 \001(\0132*.google.cloud.networkc"
- + "onnectivity.v1.SpokeB\003\340A\002\022\027\n\nrequest_id\030"
- + "\004 \001(\tB\003\340A\001\"\243\001\n\022UpdateSpokeRequest\0224\n\013upd"
- + "ate_mask\030\001 \001(\0132\032.google.protobuf.FieldMa"
- + "skB\003\340A\001\022>\n\005spoke\030\002 \001(\0132*.google.cloud.ne"
- + "tworkconnectivity.v1.SpokeB\003\340A\002\022\027\n\nreque"
- + "st_id\030\003 \001(\tB\003\340A\001\"m\n\022DeleteSpokeRequest\022>"
- + "\n\004name\030\001 \001(\tB0\340A\002\372A*\n(networkconnectivit"
- + "y.googleapis.com/Spoke\022\027\n\nrequest_id\030\002 \001"
- + "(\tB\003\340A\001\"k\n\020LinkedVpnTunnels\0223\n\004uris\030\001 \003("
- + "\tB%\372A\"\n compute.googleapis.com/VpnTunnel"
- + "\022\"\n\032site_to_site_data_transfer\030\002 \001(\010\"\205\001\n"
- + "\035LinkedInterconnectAttachments\022@\n\004uris\030\001"
- + " \003(\tB2\372A/\n-compute.googleapis.com/Interc"
- + "onnectAttachment\022\"\n\032site_to_site_data_tr"
- + "ansfer\030\002 \001(\010\"\225\001\n\036LinkedRouterApplianceIn"
- + "stances\022O\n\tinstances\030\001 \003(\0132<.google.clou"
- + "d.networkconnectivity.v1.RouterAppliance"
- + "Instance\022\"\n\032site_to_site_data_transfer\030\002"
- + " \001(\010\"l\n\027RouterApplianceInstance\022=\n\017virtu"
- + "al_machine\030\001 \001(\tB$\372A!\n\037compute.googleapi"
- + "s.com/Instance\022\022\n\nip_address\030\003 \001(\t*F\n\005St"
- + "ate\022\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010CREATING\020\001"
- + "\022\n\n\006ACTIVE\020\002\022\014\n\010DELETING\020\0032\235\020\n\nHubServic"
- + "e\022\267\001\n\010ListHubs\0224.google.cloud.networkcon"
- + "nectivity.v1.ListHubsRequest\0325.google.cl"
- + "oud.networkconnectivity.v1.ListHubsRespo"
- + "nse\">\202\323\344\223\002/\022-/v1/{parent=projects/*/loca"
- + "tions/global}/hubs\332A\006parent\022\244\001\n\006GetHub\0222"
- + ".google.cloud.networkconnectivity.v1.Get"
- + "HubRequest\032(.google.cloud.networkconnect"
- + "ivity.v1.Hub\"<\202\323\344\223\002/\022-/v1/{name=projects"
- + "/*/locations/global/hubs/*}\332A\004name\022\314\001\n\tC"
- + "reateHub\0225.google.cloud.networkconnectiv"
- + "ity.v1.CreateHubRequest\032\035.google.longrun"
- + "ning.Operation\"i\202\323\344\223\0024\"-/v1/{parent=proj"
- + "ects/*/locations/global}/hubs:\003hub\332A\021par"
- + "ent,hub,hub_id\312A\030\n\003Hub\022\021OperationMetadat"
- + "a\022\316\001\n\tUpdateHub\0225.google.cloud.networkco"
- + "nnectivity.v1.UpdateHubRequest\032\035.google."
- + "longrunning.Operation\"k\202\323\344\223\002821/v1/{hub."
- + "name=projects/*/locations/global/hubs/*}"
- + ":\003hub\332A\017hub,update_mask\312A\030\n\003Hub\022\021Operati"
- + "onMetadata\022\314\001\n\tDeleteHub\0225.google.cloud."
- + "networkconnectivity.v1.DeleteHubRequest\032"
- + "\035.google.longrunning.Operation\"i\202\323\344\223\002/*-"
- + "/v1/{name=projects/*/locations/global/hu"
- + "bs/*}\332A\004name\312A*\n\025google.protobuf.Empty\022\021"
- + "OperationMetadata\022\272\001\n\nListSpokes\0226.googl"
- + "e.cloud.networkconnectivity.v1.ListSpoke"
- + "sRequest\0327.google.cloud.networkconnectiv"
- + "ity.v1.ListSpokesResponse\";\202\323\344\223\002,\022*/v1/{"
- + "parent=projects/*/locations/*}/spokes\332A\006"
- + "parent\022\247\001\n\010GetSpoke\0224.google.cloud.netwo"
- + "rkconnectivity.v1.GetSpokeRequest\032*.goog"
- + "le.cloud.networkconnectivity.v1.Spoke\"9\202"
- + "\323\344\223\002,\022*/v1/{name=projects/*/locations/*/"
- + "spokes/*}\332A\004name\022\325\001\n\013CreateSpoke\0227.googl"
- + "e.cloud.networkconnectivity.v1.CreateSpo"
- + "keRequest\032\035.google.longrunning.Operation"
- + "\"n\202\323\344\223\0023\"*/v1/{parent=projects/*/locatio"
- + "ns/*}/spokes:\005spoke\332A\025parent,spoke,spoke"
- + "_id\312A\032\n\005Spoke\022\021OperationMetadata\022\327\001\n\013Upd"
- + "ateSpoke\0227.google.cloud.networkconnectiv"
- + "ity.v1.UpdateSpokeRequest\032\035.google.longr"
- + "unning.Operation\"p\202\323\344\223\002920/v1/{spoke.nam"
- + "e=projects/*/locations/*/spokes/*}:\005spok"
- + "e\332A\021spoke,update_mask\312A\032\n\005Spoke\022\021Operati"
- + "onMetadata\022\315\001\n\013DeleteSpoke\0227.google.clou"
- + "d.networkconnectivity.v1.DeleteSpokeRequ"
- + "est\032\035.google.longrunning.Operation\"f\202\323\344\223"
- + "\002,**/v1/{name=projects/*/locations/*/spo"
- + "kes/*}\332A\004name\312A*\n\025google.protobuf.Empty\022"
- + "\021OperationMetadata\032V\312A\"networkconnectivi"
- + "ty.googleapis.com\322A.https://www.googleap"
- + "is.com/auth/cloud-platformB\221\005\n\'com.googl"
- + "e.cloud.networkconnectivity.v1B\010HubProto"
- + "P\001ZVgoogle.golang.org/genproto/googleapi"
- + "s/cloud/networkconnectivity/v1;networkco"
- + "nnectivity\252\002#Google.Cloud.NetworkConnect"
- + "ivity.V1\312\002#Google\\Cloud\\NetworkConnectiv"
- + "ity\\V1\352\002&Google::Cloud::NetworkConnectiv"
- + "ity::V1\352A`\n compute.googleapis.com/VpnTu"
- + "nnel\022\n\005state\030\017 \001(\0162*.google"
+ + ".cloud.networkconnectivity.v1.StateB\003\340A\003"
+ + "\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 "
+ + "\001(\t:\0028\001:e\352Ab\n(networkconnectivity.google"
+ + "apis.com/Spoke\0226projects/{project}/locat"
+ + "ions/{location}/spokes/{spoke}\"\225\001\n\017ListH"
+ + "ubsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!loca"
+ + "tions.googleapis.com/Location\022\021\n\tpage_si"
+ + "ze\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\004"
+ + " \001(\t\022\020\n\010order_by\030\005 \001(\t\"x\n\020ListHubsRespon"
+ + "se\0226\n\004hubs\030\001 \003(\0132(.google.cloud.networkc"
+ + "onnectivity.v1.Hub\022\027\n\017next_page_token\030\002 "
+ + "\001(\t\022\023\n\013unreachable\030\003 \003(\t\"M\n\rGetHubReques"
+ + "t\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&networkconnecti"
+ + "vity.googleapis.com/Hub\"\267\001\n\020CreateHubReq"
+ + "uest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations."
+ + "googleapis.com/Location\022\023\n\006hub_id\030\002 \001(\tB"
+ + "\003\340A\002\022:\n\003hub\030\003 \001(\0132(.google.cloud.network"
+ + "connectivity.v1.HubB\003\340A\002\022\027\n\nrequest_id\030\004"
+ + " \001(\tB\003\340A\001\"\235\001\n\020UpdateHubRequest\0224\n\013update"
+ + "_mask\030\001 \001(\0132\032.google.protobuf.FieldMaskB"
+ + "\003\340A\001\022:\n\003hub\030\002 \001(\0132(.google.cloud.network"
+ + "connectivity.v1.HubB\003\340A\002\022\027\n\nrequest_id\030\003"
+ + " \001(\tB\003\340A\001\"i\n\020DeleteHubRequest\022<\n\004name\030\001 "
+ + "\001(\tB.\340A\002\372A(\n&networkconnectivity.googlea"
+ + "pis.com/Hub\022\027\n\nrequest_id\030\002 \001(\tB\003\340A\001\"\227\001\n"
+ + "\021ListSpokesRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372"
+ + "A#\n!locations.googleapis.com/Location\022\021\n"
+ + "\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006"
+ + "filter\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\"~\n\022ListSp"
+ + "okesResponse\022:\n\006spokes\030\001 \003(\0132*.google.cl"
+ + "oud.networkconnectivity.v1.Spoke\022\027\n\017next"
+ + "_page_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"Q"
+ + "\n\017GetSpokeRequest\022>\n\004name\030\001 \001(\tB0\340A\002\372A*\n"
+ + "(networkconnectivity.googleapis.com/Spok"
+ + "e\"\277\001\n\022CreateSpokeRequest\0229\n\006parent\030\001 \001(\t"
+ + "B)\340A\002\372A#\n!locations.googleapis.com/Locat"
+ + "ion\022\025\n\010spoke_id\030\002 \001(\tB\003\340A\002\022>\n\005spoke\030\003 \001("
+ + "\0132*.google.cloud.networkconnectivity.v1."
+ + "SpokeB\003\340A\002\022\027\n\nrequest_id\030\004 \001(\tB\003\340A\001\"\243\001\n\022"
+ + "UpdateSpokeRequest\0224\n\013update_mask\030\001 \001(\0132"
+ + "\032.google.protobuf.FieldMaskB\003\340A\001\022>\n\005spok"
+ + "e\030\002 \001(\0132*.google.cloud.networkconnectivi"
+ + "ty.v1.SpokeB\003\340A\002\022\027\n\nrequest_id\030\003 \001(\tB\003\340A"
+ + "\001\"m\n\022DeleteSpokeRequest\022>\n\004name\030\001 \001(\tB0\340"
+ + "A\002\372A*\n(networkconnectivity.googleapis.co"
+ + "m/Spoke\022\027\n\nrequest_id\030\002 \001(\tB\003\340A\001\"k\n\020Link"
+ + "edVpnTunnels\0223\n\004uris\030\001 \003(\tB%\372A\"\n compute"
+ + ".googleapis.com/VpnTunnel\022\"\n\032site_to_sit"
+ + "e_data_transfer\030\002 \001(\010\"\205\001\n\035LinkedIntercon"
+ + "nectAttachments\022@\n\004uris\030\001 \003(\tB2\372A/\n-comp"
+ + "ute.googleapis.com/InterconnectAttachmen"
+ + "t\022\"\n\032site_to_site_data_transfer\030\002 \001(\010\"\225\001"
+ + "\n\036LinkedRouterApplianceInstances\022O\n\tinst"
+ + "ances\030\001 \003(\0132<.google.cloud.networkconnec"
+ + "tivity.v1.RouterApplianceInstance\022\"\n\032sit"
+ + "e_to_site_data_transfer\030\002 \001(\010\"l\n\027RouterA"
+ + "pplianceInstance\022=\n\017virtual_machine\030\001 \001("
+ + "\tB$\372A!\n\037compute.googleapis.com/Instance\022"
+ + "\022\n\nip_address\030\003 \001(\t\"c\n\020LocationMetadata\022"
+ + "O\n\021location_features\030\001 \003(\01624.google.clou"
+ + "d.networkconnectivity.v1.LocationFeature"
+ + "*F\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010CREA"
+ + "TING\020\001\022\n\n\006ACTIVE\020\002\022\014\n\010DELETING\020\003*f\n\017Loca"
+ + "tionFeature\022 \n\034LOCATION_FEATURE_UNSPECIF"
+ + "IED\020\000\022\030\n\024SITE_TO_CLOUD_SPOKES\020\001\022\027\n\023SITE_"
+ + "TO_SITE_SPOKES\020\0022\235\020\n\nHubService\022\267\001\n\010List"
+ + "Hubs\0224.google.cloud.networkconnectivity."
+ + "v1.ListHubsRequest\0325.google.cloud.networ"
+ + "kconnectivity.v1.ListHubsResponse\">\202\323\344\223\002"
+ + "/\022-/v1/{parent=projects/*/locations/glob"
+ + "al}/hubs\332A\006parent\022\244\001\n\006GetHub\0222.google.cl"
+ + "oud.networkconnectivity.v1.GetHubRequest"
+ + "\032(.google.cloud.networkconnectivity.v1.H"
+ + "ub\"<\202\323\344\223\002/\022-/v1/{name=projects/*/locatio"
+ + "ns/global/hubs/*}\332A\004name\022\314\001\n\tCreateHub\0225"
+ + ".google.cloud.networkconnectivity.v1.Cre"
+ + "ateHubRequest\032\035.google.longrunning.Opera"
+ + "tion\"i\202\323\344\223\0024\"-/v1/{parent=projects/*/loc"
+ + "ations/global}/hubs:\003hub\332A\021parent,hub,hu"
+ + "b_id\312A\030\n\003Hub\022\021OperationMetadata\022\316\001\n\tUpda"
+ + "teHub\0225.google.cloud.networkconnectivity"
+ + ".v1.UpdateHubRequest\032\035.google.longrunnin"
+ + "g.Operation\"k\202\323\344\223\002821/v1/{hub.name=proje"
+ + "cts/*/locations/global/hubs/*}:\003hub\332A\017hu"
+ + "b,update_mask\312A\030\n\003Hub\022\021OperationMetadata"
+ + "\022\314\001\n\tDeleteHub\0225.google.cloud.networkcon"
+ + "nectivity.v1.DeleteHubRequest\032\035.google.l"
+ + "ongrunning.Operation\"i\202\323\344\223\002/*-/v1/{name="
+ + "projects/*/locations/global/hubs/*}\332A\004na"
+ + "me\312A*\n\025google.protobuf.Empty\022\021OperationM"
+ + "etadata\022\272\001\n\nListSpokes\0226.google.cloud.ne"
+ + "tworkconnectivity.v1.ListSpokesRequest\0327"
+ + ".google.cloud.networkconnectivity.v1.Lis"
+ + "tSpokesResponse\";\202\323\344\223\002,\022*/v1/{parent=pro"
+ + "jects/*/locations/*}/spokes\332A\006parent\022\247\001\n"
+ + "\010GetSpoke\0224.google.cloud.networkconnecti"
+ + "vity.v1.GetSpokeRequest\032*.google.cloud.n"
+ + "etworkconnectivity.v1.Spoke\"9\202\323\344\223\002,\022*/v1"
+ + "/{name=projects/*/locations/*/spokes/*}\332"
+ + "A\004name\022\325\001\n\013CreateSpoke\0227.google.cloud.ne"
+ + "tworkconnectivity.v1.CreateSpokeRequest\032"
+ + "\035.google.longrunning.Operation\"n\202\323\344\223\0023\"*"
+ + "/v1/{parent=projects/*/locations/*}/spok"
+ + "es:\005spoke\332A\025parent,spoke,spoke_id\312A\032\n\005Sp"
+ + "oke\022\021OperationMetadata\022\327\001\n\013UpdateSpoke\0227"
+ + ".google.cloud.networkconnectivity.v1.Upd"
+ + "ateSpokeRequest\032\035.google.longrunning.Ope"
+ + "ration\"p\202\323\344\223\002920/v1/{spoke.name=projects"
+ + "/*/locations/*/spokes/*}:\005spoke\332A\021spoke,"
+ + "update_mask\312A\032\n\005Spoke\022\021OperationMetadata"
+ + "\022\315\001\n\013DeleteSpoke\0227.google.cloud.networkc"
+ + "onnectivity.v1.DeleteSpokeRequest\032\035.goog"
+ + "le.longrunning.Operation\"f\202\323\344\223\002,**/v1/{n"
+ + "ame=projects/*/locations/*/spokes/*}\332A\004n"
+ + "ame\312A*\n\025google.protobuf.Empty\022\021Operation"
+ + "Metadata\032V\312A\"networkconnectivity.googlea"
+ + "pis.com\322A.https://www.googleapis.com/aut"
+ + "h/cloud-platformB\221\005\n\'com.google.cloud.ne"
+ + "tworkconnectivity.v1B\010HubProtoP\001ZVgoogle"
+ + ".golang.org/genproto/googleapis/cloud/ne"
+ + "tworkconnectivity/v1;networkconnectivity"
+ + "\252\002#Google.Cloud.NetworkConnectivity.V1\312\002"
+ + "#Google\\Cloud\\NetworkConnectivity\\V1\352\002&G"
+ + "oogle::Cloud::NetworkConnectivity::V1\352A`"
+ + "\n compute.googleapis.com/VpnTunnel\022
* A value that controls whether site-to-site data transfer is enabled for
- * these resources. This field is set to false by default, but you must set it
- * to true. Note that data transfer is available only in supported locations.
+ * these resources. Data transfer is available only in [supported
+ * locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
*
*
* bool site_to_site_data_transfer = 2;
@@ -746,8 +746,8 @@ public Builder addUrisBytes(com.google.protobuf.ByteString value) {
*
*
* A value that controls whether site-to-site data transfer is enabled for
- * these resources. This field is set to false by default, but you must set it
- * to true. Note that data transfer is available only in supported locations.
+ * these resources. Data transfer is available only in [supported
+ * locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
*
*
* bool site_to_site_data_transfer = 2;
@@ -763,8 +763,8 @@ public boolean getSiteToSiteDataTransfer() {
*
*
* A value that controls whether site-to-site data transfer is enabled for
- * these resources. This field is set to false by default, but you must set it
- * to true. Note that data transfer is available only in supported locations.
+ * these resources. Data transfer is available only in [supported
+ * locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
*
*
* bool site_to_site_data_transfer = 2;
@@ -783,8 +783,8 @@ public Builder setSiteToSiteDataTransfer(boolean value) {
*
*
* A value that controls whether site-to-site data transfer is enabled for
- * these resources. This field is set to false by default, but you must set it
- * to true. Note that data transfer is available only in supported locations.
+ * these resources. Data transfer is available only in [supported
+ * locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
*
*
* bool site_to_site_data_transfer = 2;
diff --git a/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/LinkedInterconnectAttachmentsOrBuilder.java b/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/LinkedInterconnectAttachmentsOrBuilder.java
index e609e787..c4da8cd9 100644
--- a/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/LinkedInterconnectAttachmentsOrBuilder.java
+++ b/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/LinkedInterconnectAttachmentsOrBuilder.java
@@ -79,8 +79,8 @@ public interface LinkedInterconnectAttachmentsOrBuilder
*
*
* A value that controls whether site-to-site data transfer is enabled for
- * these resources. This field is set to false by default, but you must set it
- * to true. Note that data transfer is available only in supported locations.
+ * these resources. Data transfer is available only in [supported
+ * locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
*
*
* bool site_to_site_data_transfer = 2;
diff --git a/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/LinkedRouterApplianceInstances.java b/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/LinkedRouterApplianceInstances.java
index ed326c17..fc742551 100644
--- a/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/LinkedRouterApplianceInstances.java
+++ b/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/LinkedRouterApplianceInstances.java
@@ -22,9 +22,10 @@
*
*
*
- * A collection of router appliance instances. If you have multiple router
- * appliance instances connected to the same site, they should all be attached
- * to the same spoke.
+ * A collection of router appliance instances. If you configure multiple router
+ * appliance instances to receive data from the same set of sites outside of
+ * Google Cloud, we recommend that you associate those instances with the same
+ * spoke.
*
*
* Protobuf type {@code google.cloud.networkconnectivity.v1.LinkedRouterApplianceInstances}
@@ -215,8 +216,8 @@ public com.google.cloud.networkconnectivity.v1.RouterApplianceInstance getInstan
*
*
* A value that controls whether site-to-site data transfer is enabled for
- * these resources. This field is set to false by default, but you must set it
- * to true. Note that data transfer is available only in supported locations.
+ * these resources. Data transfer is available only in [supported
+ * locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
*
*
* bool site_to_site_data_transfer = 2;
@@ -404,9 +405,10 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * A collection of router appliance instances. If you have multiple router
- * appliance instances connected to the same site, they should all be attached
- * to the same spoke.
+ * A collection of router appliance instances. If you configure multiple router
+ * appliance instances to receive data from the same set of sites outside of
+ * Google Cloud, we recommend that you associate those instances with the same
+ * spoke.
*
*
* Protobuf type {@code google.cloud.networkconnectivity.v1.LinkedRouterApplianceInstances}
@@ -1007,8 +1009,8 @@ public Builder removeInstances(int index) {
*
*
* A value that controls whether site-to-site data transfer is enabled for
- * these resources. This field is set to false by default, but you must set it
- * to true. Note that data transfer is available only in supported locations.
+ * these resources. Data transfer is available only in [supported
+ * locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
*
*
* bool site_to_site_data_transfer = 2;
@@ -1024,8 +1026,8 @@ public boolean getSiteToSiteDataTransfer() {
*
*
* A value that controls whether site-to-site data transfer is enabled for
- * these resources. This field is set to false by default, but you must set it
- * to true. Note that data transfer is available only in supported locations.
+ * these resources. Data transfer is available only in [supported
+ * locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
*
*
* bool site_to_site_data_transfer = 2;
@@ -1044,8 +1046,8 @@ public Builder setSiteToSiteDataTransfer(boolean value) {
*
*
* A value that controls whether site-to-site data transfer is enabled for
- * these resources. This field is set to false by default, but you must set it
- * to true. Note that data transfer is available only in supported locations.
+ * these resources. Data transfer is available only in [supported
+ * locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
*
*
* bool site_to_site_data_transfer = 2;
diff --git a/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/LinkedRouterApplianceInstancesOrBuilder.java b/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/LinkedRouterApplianceInstancesOrBuilder.java
index ef614366..00638da4 100644
--- a/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/LinkedRouterApplianceInstancesOrBuilder.java
+++ b/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/LinkedRouterApplianceInstancesOrBuilder.java
@@ -87,8 +87,8 @@ com.google.cloud.networkconnectivity.v1.RouterApplianceInstanceOrBuilder getInst
*
*
* A value that controls whether site-to-site data transfer is enabled for
- * these resources. This field is set to false by default, but you must set it
- * to true. Note that data transfer is available only in supported locations.
+ * these resources. Data transfer is available only in [supported
+ * locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
*
*
* bool site_to_site_data_transfer = 2;
diff --git a/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/LinkedVpnTunnels.java b/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/LinkedVpnTunnels.java
index fcd89349..e1869e58 100644
--- a/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/LinkedVpnTunnels.java
+++ b/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/LinkedVpnTunnels.java
@@ -194,8 +194,8 @@ public com.google.protobuf.ByteString getUrisBytes(int index) {
*
*
* A value that controls whether site-to-site data transfer is enabled for
- * these resources. This field is set to false by default, but you must set it
- * to true. Note that data transfer is available only in supported locations.
+ * these resources. Data transfer is available only in [supported
+ * locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
*
*
* bool site_to_site_data_transfer = 2;
@@ -738,8 +738,8 @@ public Builder addUrisBytes(com.google.protobuf.ByteString value) {
*
*
* A value that controls whether site-to-site data transfer is enabled for
- * these resources. This field is set to false by default, but you must set it
- * to true. Note that data transfer is available only in supported locations.
+ * these resources. Data transfer is available only in [supported
+ * locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
*
*
* bool site_to_site_data_transfer = 2;
@@ -755,8 +755,8 @@ public boolean getSiteToSiteDataTransfer() {
*
*
* A value that controls whether site-to-site data transfer is enabled for
- * these resources. This field is set to false by default, but you must set it
- * to true. Note that data transfer is available only in supported locations.
+ * these resources. Data transfer is available only in [supported
+ * locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
*
*
* bool site_to_site_data_transfer = 2;
@@ -775,8 +775,8 @@ public Builder setSiteToSiteDataTransfer(boolean value) {
*
*
* A value that controls whether site-to-site data transfer is enabled for
- * these resources. This field is set to false by default, but you must set it
- * to true. Note that data transfer is available only in supported locations.
+ * these resources. Data transfer is available only in [supported
+ * locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
*
*
* bool site_to_site_data_transfer = 2;
diff --git a/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/LinkedVpnTunnelsOrBuilder.java b/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/LinkedVpnTunnelsOrBuilder.java
index a7e22138..83929e45 100644
--- a/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/LinkedVpnTunnelsOrBuilder.java
+++ b/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/LinkedVpnTunnelsOrBuilder.java
@@ -79,8 +79,8 @@ public interface LinkedVpnTunnelsOrBuilder
*
*
* A value that controls whether site-to-site data transfer is enabled for
- * these resources. This field is set to false by default, but you must set it
- * to true. Note that data transfer is available only in supported locations.
+ * these resources. Data transfer is available only in [supported
+ * locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
*
*
* bool site_to_site_data_transfer = 2;
diff --git a/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/LocationFeature.java b/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/LocationFeature.java
new file mode 100644
index 00000000..6aa822e0
--- /dev/null
+++ b/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/LocationFeature.java
@@ -0,0 +1,176 @@
+/*
+ * 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/networkconnectivity/v1/hub.proto
+
+package com.google.cloud.networkconnectivity.v1;
+
+/**
+ *
+ *
+ *
+ * Supported features for a location
+ *
+ *
+ * Protobuf enum {@code google.cloud.networkconnectivity.v1.LocationFeature}
+ */
+public enum LocationFeature implements com.google.protobuf.ProtocolMessageEnum {
+ /**
+ *
+ *
+ *
+ * No publicly supported feature in this location
+ *
+ *
+ * LOCATION_FEATURE_UNSPECIFIED = 0;
+ */
+ LOCATION_FEATURE_UNSPECIFIED(0),
+ /**
+ *
+ *
+ *
+ * Site-to-cloud spokes are supported in this location
+ *
+ *
+ * SITE_TO_CLOUD_SPOKES = 1;
+ */
+ SITE_TO_CLOUD_SPOKES(1),
+ /**
+ *
+ *
+ *
+ * Site-to-site spokes are supported in this location
+ *
+ *
+ * SITE_TO_SITE_SPOKES = 2;
+ */
+ SITE_TO_SITE_SPOKES(2),
+ UNRECOGNIZED(-1),
+ ;
+
+ /**
+ *
+ *
+ *
+ * No publicly supported feature in this location
+ *
+ *
+ * LOCATION_FEATURE_UNSPECIFIED = 0;
+ */
+ public static final int LOCATION_FEATURE_UNSPECIFIED_VALUE = 0;
+ /**
+ *
+ *
+ *
+ * Site-to-cloud spokes are supported in this location
+ *
+ *
+ * SITE_TO_CLOUD_SPOKES = 1;
+ */
+ public static final int SITE_TO_CLOUD_SPOKES_VALUE = 1;
+ /**
+ *
+ *
+ *
+ * Site-to-site spokes are supported in this location
+ *
+ *
+ * SITE_TO_SITE_SPOKES = 2;
+ */
+ public static final int SITE_TO_SITE_SPOKES_VALUE = 2;
+
+ public final int getNumber() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalArgumentException(
+ "Can't get the number of an unknown enum value.");
+ }
+ return value;
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
+ @java.lang.Deprecated
+ public static LocationFeature valueOf(int value) {
+ return forNumber(value);
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
+ public static LocationFeature forNumber(int value) {
+ switch (value) {
+ case 0:
+ return LOCATION_FEATURE_UNSPECIFIED;
+ case 1:
+ return SITE_TO_CLOUD_SPOKES;
+ case 2:
+ return SITE_TO_SITE_SPOKES;
+ default:
+ return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+ return internalValueMap;
+ }
+
+ private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+ new com.google.protobuf.Internal.EnumLiteMap() {
+ public LocationFeature findValueByNumber(int number) {
+ return LocationFeature.forNumber(number);
+ }
+ };
+
+ public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalStateException(
+ "Can't get the descriptor of an unrecognized enum value.");
+ }
+ return getDescriptor().getValues().get(ordinal());
+ }
+
+ public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+ return getDescriptor();
+ }
+
+ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+ return com.google.cloud.networkconnectivity.v1.HubProto.getDescriptor().getEnumTypes().get(1);
+ }
+
+ private static final LocationFeature[] VALUES = values();
+
+ public static LocationFeature valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+ if (desc.getType() != getDescriptor()) {
+ throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+ }
+ if (desc.getIndex() == -1) {
+ return UNRECOGNIZED;
+ }
+ return VALUES[desc.getIndex()];
+ }
+
+ private final int value;
+
+ private LocationFeature(int value) {
+ this.value = value;
+ }
+
+ // @@protoc_insertion_point(enum_scope:google.cloud.networkconnectivity.v1.LocationFeature)
+}
diff --git a/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/LocationMetadata.java b/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/LocationMetadata.java
new file mode 100644
index 00000000..c1f74e6a
--- /dev/null
+++ b/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/LocationMetadata.java
@@ -0,0 +1,876 @@
+/*
+ * 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/networkconnectivity/v1/hub.proto
+
+package com.google.cloud.networkconnectivity.v1;
+
+/**
+ *
+ *
+ *
+ * Metadata about locations
+ *
+ *
+ * Protobuf type {@code google.cloud.networkconnectivity.v1.LocationMetadata}
+ */
+public final class LocationMetadata extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.networkconnectivity.v1.LocationMetadata)
+ LocationMetadataOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use LocationMetadata.newBuilder() to construct.
+ private LocationMetadata(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private LocationMetadata() {
+ locationFeatures_ = java.util.Collections.emptyList();
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new LocationMetadata();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
+ }
+
+ private LocationMetadata(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ int mutable_bitField0_ = 0;
+ 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 8:
+ {
+ int rawValue = input.readEnum();
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+ locationFeatures_ = new java.util.ArrayList();
+ mutable_bitField0_ |= 0x00000001;
+ }
+ locationFeatures_.add(rawValue);
+ break;
+ }
+ case 10:
+ {
+ int length = input.readRawVarint32();
+ int oldLimit = input.pushLimit(length);
+ while (input.getBytesUntilLimit() > 0) {
+ int rawValue = input.readEnum();
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+ locationFeatures_ = new java.util.ArrayList();
+ mutable_bitField0_ |= 0x00000001;
+ }
+ locationFeatures_.add(rawValue);
+ }
+ input.popLimit(oldLimit);
+ break;
+ }
+ default:
+ {
+ if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+ } finally {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
+ locationFeatures_ = java.util.Collections.unmodifiableList(locationFeatures_);
+ }
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.networkconnectivity.v1.HubProto
+ .internal_static_google_cloud_networkconnectivity_v1_LocationMetadata_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.networkconnectivity.v1.HubProto
+ .internal_static_google_cloud_networkconnectivity_v1_LocationMetadata_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.networkconnectivity.v1.LocationMetadata.class,
+ com.google.cloud.networkconnectivity.v1.LocationMetadata.Builder.class);
+ }
+
+ public static final int LOCATION_FEATURES_FIELD_NUMBER = 1;
+ private java.util.List locationFeatures_;
+ private static final com.google.protobuf.Internal.ListAdapter.Converter<
+ java.lang.Integer, com.google.cloud.networkconnectivity.v1.LocationFeature>
+ locationFeatures_converter_ =
+ new com.google.protobuf.Internal.ListAdapter.Converter<
+ java.lang.Integer, com.google.cloud.networkconnectivity.v1.LocationFeature>() {
+ public com.google.cloud.networkconnectivity.v1.LocationFeature convert(
+ java.lang.Integer from) {
+ @SuppressWarnings("deprecation")
+ com.google.cloud.networkconnectivity.v1.LocationFeature result =
+ com.google.cloud.networkconnectivity.v1.LocationFeature.valueOf(from);
+ return result == null
+ ? com.google.cloud.networkconnectivity.v1.LocationFeature.UNRECOGNIZED
+ : result;
+ }
+ };
+ /**
+ *
+ *
+ *
+ * List of supported features
+ *
+ *
+ * repeated .google.cloud.networkconnectivity.v1.LocationFeature location_features = 1;
+ *
+ *
+ * @return A list containing the locationFeatures.
+ */
+ @java.lang.Override
+ public java.util.List
+ getLocationFeaturesList() {
+ return new com.google.protobuf.Internal.ListAdapter<
+ java.lang.Integer, com.google.cloud.networkconnectivity.v1.LocationFeature>(
+ locationFeatures_, locationFeatures_converter_);
+ }
+ /**
+ *
+ *
+ *
+ * List of supported features
+ *
+ *
+ * repeated .google.cloud.networkconnectivity.v1.LocationFeature location_features = 1;
+ *
+ *
+ * @return The count of locationFeatures.
+ */
+ @java.lang.Override
+ public int getLocationFeaturesCount() {
+ return locationFeatures_.size();
+ }
+ /**
+ *
+ *
+ *
+ * List of supported features
+ *
+ *
+ * repeated .google.cloud.networkconnectivity.v1.LocationFeature location_features = 1;
+ *
+ *
+ * @param index The index of the element to return.
+ * @return The locationFeatures at the given index.
+ */
+ @java.lang.Override
+ public com.google.cloud.networkconnectivity.v1.LocationFeature getLocationFeatures(int index) {
+ return locationFeatures_converter_.convert(locationFeatures_.get(index));
+ }
+ /**
+ *
+ *
+ *
+ * List of supported features
+ *
+ *
+ * repeated .google.cloud.networkconnectivity.v1.LocationFeature location_features = 1;
+ *
+ *
+ * @return A list containing the enum numeric values on the wire for locationFeatures.
+ */
+ @java.lang.Override
+ public java.util.List getLocationFeaturesValueList() {
+ return locationFeatures_;
+ }
+ /**
+ *
+ *
+ *
+ * List of supported features
+ *
+ *
+ * repeated .google.cloud.networkconnectivity.v1.LocationFeature location_features = 1;
+ *
+ *
+ * @param index The index of the value to return.
+ * @return The enum numeric value on the wire of locationFeatures at the given index.
+ */
+ @java.lang.Override
+ public int getLocationFeaturesValue(int index) {
+ return locationFeatures_.get(index);
+ }
+
+ private int locationFeaturesMemoizedSerializedSize;
+
+ 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 {
+ getSerializedSize();
+ if (getLocationFeaturesList().size() > 0) {
+ output.writeUInt32NoTag(10);
+ output.writeUInt32NoTag(locationFeaturesMemoizedSerializedSize);
+ }
+ for (int i = 0; i < locationFeatures_.size(); i++) {
+ output.writeEnumNoTag(locationFeatures_.get(i));
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ {
+ int dataSize = 0;
+ for (int i = 0; i < locationFeatures_.size(); i++) {
+ dataSize +=
+ com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(locationFeatures_.get(i));
+ }
+ size += dataSize;
+ if (!getLocationFeaturesList().isEmpty()) {
+ size += 1;
+ size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize);
+ }
+ locationFeaturesMemoizedSerializedSize = dataSize;
+ }
+ 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.networkconnectivity.v1.LocationMetadata)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.networkconnectivity.v1.LocationMetadata other =
+ (com.google.cloud.networkconnectivity.v1.LocationMetadata) obj;
+
+ if (!locationFeatures_.equals(other.locationFeatures_)) 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();
+ if (getLocationFeaturesCount() > 0) {
+ hash = (37 * hash) + LOCATION_FEATURES_FIELD_NUMBER;
+ hash = (53 * hash) + locationFeatures_.hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.networkconnectivity.v1.LocationMetadata parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.networkconnectivity.v1.LocationMetadata 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.networkconnectivity.v1.LocationMetadata parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.networkconnectivity.v1.LocationMetadata 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.networkconnectivity.v1.LocationMetadata parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.networkconnectivity.v1.LocationMetadata parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.networkconnectivity.v1.LocationMetadata parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.networkconnectivity.v1.LocationMetadata 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.networkconnectivity.v1.LocationMetadata parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.networkconnectivity.v1.LocationMetadata 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.networkconnectivity.v1.LocationMetadata parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.networkconnectivity.v1.LocationMetadata 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.networkconnectivity.v1.LocationMetadata 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;
+ }
+ /**
+ *
+ *
+ *
+ * Metadata about locations
+ *
+ *
+ * Protobuf type {@code google.cloud.networkconnectivity.v1.LocationMetadata}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.cloud.networkconnectivity.v1.LocationMetadata)
+ com.google.cloud.networkconnectivity.v1.LocationMetadataOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.networkconnectivity.v1.HubProto
+ .internal_static_google_cloud_networkconnectivity_v1_LocationMetadata_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.networkconnectivity.v1.HubProto
+ .internal_static_google_cloud_networkconnectivity_v1_LocationMetadata_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.networkconnectivity.v1.LocationMetadata.class,
+ com.google.cloud.networkconnectivity.v1.LocationMetadata.Builder.class);
+ }
+
+ // Construct using com.google.cloud.networkconnectivity.v1.LocationMetadata.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();
+ locationFeatures_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.cloud.networkconnectivity.v1.HubProto
+ .internal_static_google_cloud_networkconnectivity_v1_LocationMetadata_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.networkconnectivity.v1.LocationMetadata getDefaultInstanceForType() {
+ return com.google.cloud.networkconnectivity.v1.LocationMetadata.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.cloud.networkconnectivity.v1.LocationMetadata build() {
+ com.google.cloud.networkconnectivity.v1.LocationMetadata result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.networkconnectivity.v1.LocationMetadata buildPartial() {
+ com.google.cloud.networkconnectivity.v1.LocationMetadata result =
+ new com.google.cloud.networkconnectivity.v1.LocationMetadata(this);
+ int from_bitField0_ = bitField0_;
+ if (((bitField0_ & 0x00000001) != 0)) {
+ locationFeatures_ = java.util.Collections.unmodifiableList(locationFeatures_);
+ bitField0_ = (bitField0_ & ~0x00000001);
+ }
+ result.locationFeatures_ = locationFeatures_;
+ 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.networkconnectivity.v1.LocationMetadata) {
+ return mergeFrom((com.google.cloud.networkconnectivity.v1.LocationMetadata) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(com.google.cloud.networkconnectivity.v1.LocationMetadata other) {
+ if (other == com.google.cloud.networkconnectivity.v1.LocationMetadata.getDefaultInstance())
+ return this;
+ if (!other.locationFeatures_.isEmpty()) {
+ if (locationFeatures_.isEmpty()) {
+ locationFeatures_ = other.locationFeatures_;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ } else {
+ ensureLocationFeaturesIsMutable();
+ locationFeatures_.addAll(other.locationFeatures_);
+ }
+ 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.networkconnectivity.v1.LocationMetadata parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage =
+ (com.google.cloud.networkconnectivity.v1.LocationMetadata) e.getUnfinishedMessage();
+ throw e.unwrapIOException();
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+
+ private int bitField0_;
+
+ private java.util.List locationFeatures_ = java.util.Collections.emptyList();
+
+ private void ensureLocationFeaturesIsMutable() {
+ if (!((bitField0_ & 0x00000001) != 0)) {
+ locationFeatures_ = new java.util.ArrayList(locationFeatures_);
+ bitField0_ |= 0x00000001;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * List of supported features
+ *
+ *
+ * repeated .google.cloud.networkconnectivity.v1.LocationFeature location_features = 1;
+ *
+ *
+ * @return A list containing the locationFeatures.
+ */
+ public java.util.List
+ getLocationFeaturesList() {
+ return new com.google.protobuf.Internal.ListAdapter<
+ java.lang.Integer, com.google.cloud.networkconnectivity.v1.LocationFeature>(
+ locationFeatures_, locationFeatures_converter_);
+ }
+ /**
+ *
+ *
+ *
+ * List of supported features
+ *
+ *
+ * repeated .google.cloud.networkconnectivity.v1.LocationFeature location_features = 1;
+ *
+ *
+ * @return The count of locationFeatures.
+ */
+ public int getLocationFeaturesCount() {
+ return locationFeatures_.size();
+ }
+ /**
+ *
+ *
+ *
+ * List of supported features
+ *
+ *
+ * repeated .google.cloud.networkconnectivity.v1.LocationFeature location_features = 1;
+ *
+ *
+ * @param index The index of the element to return.
+ * @return The locationFeatures at the given index.
+ */
+ public com.google.cloud.networkconnectivity.v1.LocationFeature getLocationFeatures(int index) {
+ return locationFeatures_converter_.convert(locationFeatures_.get(index));
+ }
+ /**
+ *
+ *
+ *
+ * List of supported features
+ *
+ *
+ * repeated .google.cloud.networkconnectivity.v1.LocationFeature location_features = 1;
+ *
+ *
+ * @param index The index to set the value at.
+ * @param value The locationFeatures to set.
+ * @return This builder for chaining.
+ */
+ public Builder setLocationFeatures(
+ int index, com.google.cloud.networkconnectivity.v1.LocationFeature value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureLocationFeaturesIsMutable();
+ locationFeatures_.set(index, value.getNumber());
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * List of supported features
+ *
+ *
+ * repeated .google.cloud.networkconnectivity.v1.LocationFeature location_features = 1;
+ *
+ *
+ * @param value The locationFeatures to add.
+ * @return This builder for chaining.
+ */
+ public Builder addLocationFeatures(
+ com.google.cloud.networkconnectivity.v1.LocationFeature value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureLocationFeaturesIsMutable();
+ locationFeatures_.add(value.getNumber());
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * List of supported features
+ *
+ *
+ * repeated .google.cloud.networkconnectivity.v1.LocationFeature location_features = 1;
+ *
+ *
+ * @param values The locationFeatures to add.
+ * @return This builder for chaining.
+ */
+ public Builder addAllLocationFeatures(
+ java.lang.Iterable extends com.google.cloud.networkconnectivity.v1.LocationFeature>
+ values) {
+ ensureLocationFeaturesIsMutable();
+ for (com.google.cloud.networkconnectivity.v1.LocationFeature value : values) {
+ locationFeatures_.add(value.getNumber());
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * List of supported features
+ *
+ *
+ * repeated .google.cloud.networkconnectivity.v1.LocationFeature location_features = 1;
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearLocationFeatures() {
+ locationFeatures_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * List of supported features
+ *
+ *
+ * repeated .google.cloud.networkconnectivity.v1.LocationFeature location_features = 1;
+ *
+ *
+ * @return A list containing the enum numeric values on the wire for locationFeatures.
+ */
+ public java.util.List getLocationFeaturesValueList() {
+ return java.util.Collections.unmodifiableList(locationFeatures_);
+ }
+ /**
+ *
+ *
+ *
+ * List of supported features
+ *
+ *
+ * repeated .google.cloud.networkconnectivity.v1.LocationFeature location_features = 1;
+ *
+ *
+ * @param index The index of the value to return.
+ * @return The enum numeric value on the wire of locationFeatures at the given index.
+ */
+ public int getLocationFeaturesValue(int index) {
+ return locationFeatures_.get(index);
+ }
+ /**
+ *
+ *
+ *
+ * List of supported features
+ *
+ *
+ * repeated .google.cloud.networkconnectivity.v1.LocationFeature location_features = 1;
+ *
+ *
+ * @param index The index of the value to return.
+ * @return The enum numeric value on the wire of locationFeatures at the given index.
+ * @return This builder for chaining.
+ */
+ public Builder setLocationFeaturesValue(int index, int value) {
+ ensureLocationFeaturesIsMutable();
+ locationFeatures_.set(index, value);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * List of supported features
+ *
+ *
+ * repeated .google.cloud.networkconnectivity.v1.LocationFeature location_features = 1;
+ *
+ *
+ * @param value The enum numeric value on the wire for locationFeatures to add.
+ * @return This builder for chaining.
+ */
+ public Builder addLocationFeaturesValue(int value) {
+ ensureLocationFeaturesIsMutable();
+ locationFeatures_.add(value);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * List of supported features
+ *
+ *
+ * repeated .google.cloud.networkconnectivity.v1.LocationFeature location_features = 1;
+ *
+ *
+ * @param values The enum numeric values on the wire for locationFeatures to add.
+ * @return This builder for chaining.
+ */
+ public Builder addAllLocationFeaturesValue(java.lang.Iterable values) {
+ ensureLocationFeaturesIsMutable();
+ for (int value : values) {
+ locationFeatures_.add(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.networkconnectivity.v1.LocationMetadata)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.networkconnectivity.v1.LocationMetadata)
+ private static final com.google.cloud.networkconnectivity.v1.LocationMetadata DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.networkconnectivity.v1.LocationMetadata();
+ }
+
+ public static com.google.cloud.networkconnectivity.v1.LocationMetadata getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public LocationMetadata parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new LocationMetadata(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.networkconnectivity.v1.LocationMetadata getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/LocationMetadataOrBuilder.java b/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/LocationMetadataOrBuilder.java
new file mode 100644
index 00000000..f42007f5
--- /dev/null
+++ b/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/LocationMetadataOrBuilder.java
@@ -0,0 +1,93 @@
+/*
+ * 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/networkconnectivity/v1/hub.proto
+
+package com.google.cloud.networkconnectivity.v1;
+
+public interface LocationMetadataOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.networkconnectivity.v1.LocationMetadata)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * List of supported features
+ *
+ *
+ * repeated .google.cloud.networkconnectivity.v1.LocationFeature location_features = 1;
+ *
+ *
+ * @return A list containing the locationFeatures.
+ */
+ java.util.List getLocationFeaturesList();
+ /**
+ *
+ *
+ *
+ * List of supported features
+ *
+ *
+ * repeated .google.cloud.networkconnectivity.v1.LocationFeature location_features = 1;
+ *
+ *
+ * @return The count of locationFeatures.
+ */
+ int getLocationFeaturesCount();
+ /**
+ *
+ *
+ *
+ * List of supported features
+ *
+ *
+ * repeated .google.cloud.networkconnectivity.v1.LocationFeature location_features = 1;
+ *
+ *
+ * @param index The index of the element to return.
+ * @return The locationFeatures at the given index.
+ */
+ com.google.cloud.networkconnectivity.v1.LocationFeature getLocationFeatures(int index);
+ /**
+ *
+ *
+ *
+ * List of supported features
+ *
+ *
+ * repeated .google.cloud.networkconnectivity.v1.LocationFeature location_features = 1;
+ *
+ *
+ * @return A list containing the enum numeric values on the wire for locationFeatures.
+ */
+ java.util.List getLocationFeaturesValueList();
+ /**
+ *
+ *
+ *
+ * List of supported features
+ *
+ *
+ * repeated .google.cloud.networkconnectivity.v1.LocationFeature location_features = 1;
+ *
+ *
+ * @param index The index of the value to return.
+ * @return The enum numeric value on the wire of locationFeatures at the given index.
+ */
+ int getLocationFeaturesValue(int index);
+}
diff --git a/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/RoutingVPC.java b/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/RoutingVPC.java
index d83ae8d6..d3ff0b12 100644
--- a/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/RoutingVPC.java
+++ b/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/RoutingVPC.java
@@ -22,8 +22,8 @@
*
*
*
- * RoutingVPC contains information about the VPC network that is associated with
- * a hub's spokes.
+ * RoutingVPC contains information about the VPC networks that are associated
+ * with a hub's spokes.
*
*
* Protobuf type {@code google.cloud.networkconnectivity.v1.RoutingVPC}
@@ -78,6 +78,11 @@ private RoutingVPC(
uri_ = s;
break;
}
+ case 16:
+ {
+ requiredForNewSiteToSiteDataTransferSpokes_ = input.readBool();
+ break;
+ }
default:
{
if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
@@ -161,6 +166,30 @@ public com.google.protobuf.ByteString getUriBytes() {
}
}
+ public static final int REQUIRED_FOR_NEW_SITE_TO_SITE_DATA_TRANSFER_SPOKES_FIELD_NUMBER = 2;
+ private boolean requiredForNewSiteToSiteDataTransferSpokes_;
+ /**
+ *
+ *
+ *
+ * Output only. If true, indicates that this VPC network is currently associated with
+ * spokes that use the data transfer feature (spokes where the
+ * site_to_site_data_transfer field is set to true). If you create new spokes
+ * that use data transfer, they must be associated with this VPC network. At
+ * most, one VPC network will have this field set to true.
+ *
+ *
+ *
+ * bool required_for_new_site_to_site_data_transfer_spokes = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The requiredForNewSiteToSiteDataTransferSpokes.
+ */
+ @java.lang.Override
+ public boolean getRequiredForNewSiteToSiteDataTransferSpokes() {
+ return requiredForNewSiteToSiteDataTransferSpokes_;
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -178,6 +207,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uri_);
}
+ if (requiredForNewSiteToSiteDataTransferSpokes_ != false) {
+ output.writeBool(2, requiredForNewSiteToSiteDataTransferSpokes_);
+ }
unknownFields.writeTo(output);
}
@@ -190,6 +222,11 @@ public int getSerializedSize() {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, uri_);
}
+ if (requiredForNewSiteToSiteDataTransferSpokes_ != false) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeBoolSize(
+ 2, requiredForNewSiteToSiteDataTransferSpokes_);
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -207,6 +244,8 @@ public boolean equals(final java.lang.Object obj) {
(com.google.cloud.networkconnectivity.v1.RoutingVPC) obj;
if (!getUri().equals(other.getUri())) return false;
+ if (getRequiredForNewSiteToSiteDataTransferSpokes()
+ != other.getRequiredForNewSiteToSiteDataTransferSpokes()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -220,6 +259,11 @@ public int hashCode() {
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + URI_FIELD_NUMBER;
hash = (53 * hash) + getUri().hashCode();
+ hash = (37 * hash) + REQUIRED_FOR_NEW_SITE_TO_SITE_DATA_TRANSFER_SPOKES_FIELD_NUMBER;
+ hash =
+ (53 * hash)
+ + com.google.protobuf.Internal.hashBoolean(
+ getRequiredForNewSiteToSiteDataTransferSpokes());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -324,8 +368,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * RoutingVPC contains information about the VPC network that is associated with
- * a hub's spokes.
+ * RoutingVPC contains information about the VPC networks that are associated
+ * with a hub's spokes.
*
*
* Protobuf type {@code google.cloud.networkconnectivity.v1.RoutingVPC}
@@ -368,6 +412,8 @@ public Builder clear() {
super.clear();
uri_ = "";
+ requiredForNewSiteToSiteDataTransferSpokes_ = false;
+
return this;
}
@@ -396,6 +442,8 @@ public com.google.cloud.networkconnectivity.v1.RoutingVPC buildPartial() {
com.google.cloud.networkconnectivity.v1.RoutingVPC result =
new com.google.cloud.networkconnectivity.v1.RoutingVPC(this);
result.uri_ = uri_;
+ result.requiredForNewSiteToSiteDataTransferSpokes_ =
+ requiredForNewSiteToSiteDataTransferSpokes_;
onBuilt();
return result;
}
@@ -450,6 +498,10 @@ public Builder mergeFrom(com.google.cloud.networkconnectivity.v1.RoutingVPC othe
uri_ = other.uri_;
onChanged();
}
+ if (other.getRequiredForNewSiteToSiteDataTransferSpokes() != false) {
+ setRequiredForNewSiteToSiteDataTransferSpokes(
+ other.getRequiredForNewSiteToSiteDataTransferSpokes());
+ }
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -586,6 +638,76 @@ public Builder setUriBytes(com.google.protobuf.ByteString value) {
return this;
}
+ private boolean requiredForNewSiteToSiteDataTransferSpokes_;
+ /**
+ *
+ *
+ *
+ * Output only. If true, indicates that this VPC network is currently associated with
+ * spokes that use the data transfer feature (spokes where the
+ * site_to_site_data_transfer field is set to true). If you create new spokes
+ * that use data transfer, they must be associated with this VPC network. At
+ * most, one VPC network will have this field set to true.
+ *
+ *
+ *
+ * bool required_for_new_site_to_site_data_transfer_spokes = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The requiredForNewSiteToSiteDataTransferSpokes.
+ */
+ @java.lang.Override
+ public boolean getRequiredForNewSiteToSiteDataTransferSpokes() {
+ return requiredForNewSiteToSiteDataTransferSpokes_;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. If true, indicates that this VPC network is currently associated with
+ * spokes that use the data transfer feature (spokes where the
+ * site_to_site_data_transfer field is set to true). If you create new spokes
+ * that use data transfer, they must be associated with this VPC network. At
+ * most, one VPC network will have this field set to true.
+ *
+ *
+ *
+ * bool required_for_new_site_to_site_data_transfer_spokes = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @param value The requiredForNewSiteToSiteDataTransferSpokes to set.
+ * @return This builder for chaining.
+ */
+ public Builder setRequiredForNewSiteToSiteDataTransferSpokes(boolean value) {
+
+ requiredForNewSiteToSiteDataTransferSpokes_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. If true, indicates that this VPC network is currently associated with
+ * spokes that use the data transfer feature (spokes where the
+ * site_to_site_data_transfer field is set to true). If you create new spokes
+ * that use data transfer, they must be associated with this VPC network. At
+ * most, one VPC network will have this field set to true.
+ *
+ *
+ *
+ * bool required_for_new_site_to_site_data_transfer_spokes = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearRequiredForNewSiteToSiteDataTransferSpokes() {
+
+ requiredForNewSiteToSiteDataTransferSpokes_ = false;
+ 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-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/RoutingVPCOrBuilder.java b/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/RoutingVPCOrBuilder.java
index dcefc8fd..017e8c5e 100644
--- a/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/RoutingVPCOrBuilder.java
+++ b/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/RoutingVPCOrBuilder.java
@@ -47,4 +47,23 @@ public interface RoutingVPCOrBuilder
* @return The bytes for uri.
*/
com.google.protobuf.ByteString getUriBytes();
+
+ /**
+ *
+ *
+ *
+ * Output only. If true, indicates that this VPC network is currently associated with
+ * spokes that use the data transfer feature (spokes where the
+ * site_to_site_data_transfer field is set to true). If you create new spokes
+ * that use data transfer, they must be associated with this VPC network. At
+ * most, one VPC network will have this field set to true.
+ *
+ *
+ *
+ * bool required_for_new_site_to_site_data_transfer_spokes = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The requiredForNewSiteToSiteDataTransferSpokes.
+ */
+ boolean getRequiredForNewSiteToSiteDataTransferSpokes();
}
diff --git a/proto-google-cloud-networkconnectivity-v1/src/main/proto/google/cloud/networkconnectivity/v1/common.proto b/proto-google-cloud-networkconnectivity-v1/src/main/proto/google/cloud/networkconnectivity/v1/common.proto
index 2d999b7e..ed96c8ea 100644
--- a/proto-google-cloud-networkconnectivity-v1/src/main/proto/google/cloud/networkconnectivity/v1/common.proto
+++ b/proto-google-cloud-networkconnectivity-v1/src/main/proto/google/cloud/networkconnectivity/v1/common.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,9 +16,9 @@ syntax = "proto3";
package google.cloud.networkconnectivity.v1;
+import "google/api/annotations.proto";
import "google/api/field_behavior.proto";
import "google/protobuf/timestamp.proto";
-import "google/api/annotations.proto";
option csharp_namespace = "Google.Cloud.NetworkConnectivity.V1";
option go_package = "google.golang.org/genproto/googleapis/cloud/networkconnectivity/v1;networkconnectivity";
diff --git a/proto-google-cloud-networkconnectivity-v1/src/main/proto/google/cloud/networkconnectivity/v1/hub.proto b/proto-google-cloud-networkconnectivity-v1/src/main/proto/google/cloud/networkconnectivity/v1/hub.proto
index 7fa76803..c28ca9a0 100644
--- a/proto-google-cloud-networkconnectivity-v1/src/main/proto/google/cloud/networkconnectivity/v1/hub.proto
+++ b/proto-google-cloud-networkconnectivity-v1/src/main/proto/google/cloud/networkconnectivity/v1/hub.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.
@@ -164,9 +164,39 @@ service HubService {
}
}
+// The State enum represents the lifecycle stage of a Network Connectivity
+// Center resource.
+enum State {
+ // No state information available
+ STATE_UNSPECIFIED = 0;
+
+ // The resource's create operation is in progress
+ CREATING = 1;
+
+ // The resource is active
+ ACTIVE = 2;
+
+ // The resource's Delete operation is in progress
+ DELETING = 3;
+}
+
+// Supported features for a location
+enum LocationFeature {
+ // No publicly supported feature in this location
+ LOCATION_FEATURE_UNSPECIFIED = 0;
+
+ // Site-to-cloud spokes are supported in this location
+ SITE_TO_CLOUD_SPOKES = 1;
+
+ // Site-to-site spokes are supported in this location
+ SITE_TO_SITE_SPOKES = 2;
+}
+
// A hub is a collection of spokes. A single hub can contain spokes from
-// multiple regions. However, all of a hub's spokes must be associated with
-// resources that reside in the same VPC network.
+// multiple regions. However, if any of a hub's spokes use the data transfer
+// feature, the resources associated with those spokes must all reside in the
+// same VPC network. Spokes that do not use data transfer can be associated
+// with any VPC network in your project.
message Hub {
option (google.api.resource) = {
type: "networkconnectivity.googleapis.com/Hub"
@@ -200,38 +230,27 @@ message Hub {
// Output only. The current lifecycle state of this hub.
State state = 9 [(google.api.field_behavior) = OUTPUT_ONLY];
- // The VPC network associated with this hub's spokes. All of the VPN tunnels,
- // VLAN attachments, and router appliance instances referenced by this hub's
- // spokes must belong to this VPC network.
+ // The VPC networks associated with this hub's spokes.
//
// This field is read-only. Network Connectivity Center automatically
// populates it based on the set of spokes attached to the hub.
repeated RoutingVPC routing_vpcs = 10;
}
-// The State enum represents the lifecycle stage of a Network Connectivity
-// Center resource.
-enum State {
- // No state information available
- STATE_UNSPECIFIED = 0;
-
- // The resource's create operation is in progress
- CREATING = 1;
-
- // The resource is active
- ACTIVE = 2;
-
- // The resource's Delete operation is in progress
- DELETING = 3;
-}
-
-// RoutingVPC contains information about the VPC network that is associated with
-// a hub's spokes.
+// RoutingVPC contains information about the VPC networks that are associated
+// with a hub's spokes.
message RoutingVPC {
// The URI of the VPC network.
string uri = 1 [(google.api.resource_reference) = {
type: "compute.googleapis.com/Network"
}];
+
+ // Output only. If true, indicates that this VPC network is currently associated with
+ // spokes that use the data transfer feature (spokes where the
+ // site_to_site_data_transfer field is set to true). If you create new spokes
+ // that use data transfer, they must be associated with this VPC network. At
+ // most, one VPC network will have this field set to true.
+ bool required_for_new_site_to_site_data_transfer_spokes = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
}
// A spoke represents a connection between your Google Cloud network resources
@@ -577,8 +596,8 @@ message LinkedVpnTunnels {
}];
// A value that controls whether site-to-site data transfer is enabled for
- // these resources. This field is set to false by default, but you must set it
- // to true. Note that data transfer is available only in supported locations.
+ // these resources. Data transfer is available only in [supported
+ // locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
bool site_to_site_data_transfer = 2;
}
@@ -593,21 +612,22 @@ message LinkedInterconnectAttachments {
}];
// A value that controls whether site-to-site data transfer is enabled for
- // these resources. This field is set to false by default, but you must set it
- // to true. Note that data transfer is available only in supported locations.
+ // these resources. Data transfer is available only in [supported
+ // locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
bool site_to_site_data_transfer = 2;
}
-// A collection of router appliance instances. If you have multiple router
-// appliance instances connected to the same site, they should all be attached
-// to the same spoke.
+// A collection of router appliance instances. If you configure multiple router
+// appliance instances to receive data from the same set of sites outside of
+// Google Cloud, we recommend that you associate those instances with the same
+// spoke.
message LinkedRouterApplianceInstances {
// The list of router appliance instances.
repeated RouterApplianceInstance instances = 1;
// A value that controls whether site-to-site data transfer is enabled for
- // these resources. This field is set to false by default, but you must set it
- // to true. Note that data transfer is available only in supported locations.
+ // these resources. Data transfer is available only in [supported
+ // locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
bool site_to_site_data_transfer = 2;
}
@@ -624,3 +644,9 @@ message RouterApplianceInstance {
// The IP address on the VM to use for peering.
string ip_address = 3;
}
+
+// Metadata about locations
+message LocationMetadata {
+ // List of supported features
+ repeated LocationFeature location_features = 1;
+}
From 079084e7b717364cb112fd9fca73690175df8ddb Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate
Date: Fri, 11 Feb 2022 21:13:07 +0100
Subject: [PATCH 07/20] deps: update actions/github-script action to v6 (#216)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [actions/github-script](https://togithub.com/actions/github-script) | action | major | `v5` -> `v6` |
---
### Release Notes
actions/github-script
### [`v6`](https://togithub.com/actions/github-script/compare/v5...v6)
[Compare Source](https://togithub.com/actions/github-script/compare/v5...v6)
---
### Configuration
📅 **Schedule**: At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] If you want to rebase/retry this PR, click this checkbox.
---
This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-networkconnectivity).
From d24d2e557403acc4cff22e82daad0b187332175f Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate
Date: Mon, 14 Feb 2022 22:53:01 +0100
Subject: [PATCH 08/20] build(deps): update dependency
org.sonatype.plugins:nexus-staging-maven-plugin to v1.6.9 (#217)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [org.sonatype.plugins:nexus-staging-maven-plugin](http://www.sonatype.com/) ([source](https://togithub.com/sonatype/nexus-maven-plugins)) | `1.6.8` -> `1.6.9` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
---
### Configuration
📅 **Schedule**: At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] If you want to rebase/retry this PR, click this checkbox.
---
This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-networkconnectivity).
---
samples/pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/samples/pom.xml b/samples/pom.xml
index d78b3358..86100f6e 100644
--- a/samples/pom.xml
+++ b/samples/pom.xml
@@ -46,7 +46,7 @@
org.sonatype.plugins
nexus-staging-maven-plugin
- 1.6.8
+ 1.6.9
true
From 009039571f7fae91223326a58d99c261dacd8c94 Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate
Date: Tue, 15 Feb 2022 17:49:19 +0100
Subject: [PATCH 09/20] build(deps): update dependency
org.sonatype.plugins:nexus-staging-maven-plugin to v1.6.10 (#218)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [org.sonatype.plugins:nexus-staging-maven-plugin](http://www.sonatype.com/) ([source](https://togithub.com/sonatype/nexus-maven-plugins)) | `1.6.9` -> `1.6.10` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
---
### Release Notes
sonatype/nexus-maven-plugins
### [`v1.6.10`](https://togithub.com/sonatype/nexus-maven-plugins/compare/release-1.6.9...release-1.6.10)
[Compare Source](https://togithub.com/sonatype/nexus-maven-plugins/compare/release-1.6.9...release-1.6.10)
---
### Configuration
📅 **Schedule**: At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] If you want to rebase/retry this PR, click this checkbox.
---
This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-networkconnectivity).
---
samples/pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/samples/pom.xml b/samples/pom.xml
index 86100f6e..c42f434d 100644
--- a/samples/pom.xml
+++ b/samples/pom.xml
@@ -46,7 +46,7 @@
org.sonatype.plugins
nexus-staging-maven-plugin
- 1.6.9
+ 1.6.10
true
From c3b45a8fa4fb032d3a8dfc4d740fca66efd9a55a Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate
Date: Tue, 15 Feb 2022 19:46:30 +0100
Subject: [PATCH 10/20] build(deps): update dependency
org.apache.maven.plugins:maven-javadoc-plugin to v3.3.2 (#215)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [org.apache.maven.plugins:maven-javadoc-plugin](https://maven.apache.org/plugins/) | `3.3.1` -> `3.3.2` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
---
### Configuration
📅 **Schedule**: At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] If you want to rebase/retry this PR, click this checkbox.
---
This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-networkconnectivity).
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 51221eaf..7bb441ae 100644
--- a/pom.xml
+++ b/pom.xml
@@ -152,7 +152,7 @@
org.apache.maven.plugins
maven-javadoc-plugin
- 3.3.1
+ 3.3.2
html
From ba28b57e332d39202cd5bf7d63f3c62dd2a22958 Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate
Date: Thu, 17 Feb 2022 15:11:03 +0100
Subject: [PATCH 11/20] build(deps): update dependency
org.sonatype.plugins:nexus-staging-maven-plugin to v1.6.11 (#219)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [org.sonatype.plugins:nexus-staging-maven-plugin](http://www.sonatype.com/) ([source](https://togithub.com/sonatype/nexus-maven-plugins)) | `1.6.10` -> `1.6.11` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
---
### Release Notes
sonatype/nexus-maven-plugins
### [`v1.6.11`](https://togithub.com/sonatype/nexus-maven-plugins/compare/release-1.6.10...release-1.6.11)
[Compare Source](https://togithub.com/sonatype/nexus-maven-plugins/compare/release-1.6.10...release-1.6.11)
---
### Configuration
📅 **Schedule**: At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] If you want to rebase/retry this PR, click this checkbox.
---
This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-networkconnectivity).
---
samples/pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/samples/pom.xml b/samples/pom.xml
index c42f434d..b3694bcc 100644
--- a/samples/pom.xml
+++ b/samples/pom.xml
@@ -46,7 +46,7 @@
org.sonatype.plugins
nexus-staging-maven-plugin
- 1.6.10
+ 1.6.11
true
From 750af78123d0f2e0200201261677410e02de0eb3 Mon Sep 17 00:00:00 2001
From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com>
Date: Fri, 25 Feb 2022 22:08:38 +0000
Subject: [PATCH 12/20] ci: pull request template includes sample format
(#1357) (#223)
Source-Link: https://github.com/googleapis/synthtool/commit/e122cb03ea37652946651346736d99b9dcc4311f
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:387835a1375a0049ec44e02542c844302854c732d8291bdf8e472c0ff70a8f67
---
.github/.OwlBot.lock.yaml | 2 +-
.github/PULL_REQUEST_TEMPLATE.md | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml
index 9786771c..9351fdfb 100644
--- a/.github/.OwlBot.lock.yaml
+++ b/.github/.OwlBot.lock.yaml
@@ -13,4 +13,4 @@
# limitations under the License.
docker:
image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest
- digest: sha256:3c950ed12391ebaffd1ee66d0374766a1c50144ebe6a7a0042300b2e6bb5856b
+ digest: sha256:387835a1375a0049ec44e02542c844302854c732d8291bdf8e472c0ff70a8f67
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
index 97c74d24..3d2f9d3d 100644
--- a/.github/PULL_REQUEST_TEMPLATE.md
+++ b/.github/PULL_REQUEST_TEMPLATE.md
@@ -5,3 +5,6 @@ Thank you for opening a Pull Request! Before submitting your PR, there are a few
- [ ] Appropriate docs were updated (if necessary)
Fixes # ☕️
+
+If you write sample code, please follow the [samples format](
+https://github.com/GoogleCloudPlatform/java-docs-samples/blob/main/SAMPLE_FORMAT.md).
From 68d2e1ed4ed223dee7129108615a305f4ff9abd6 Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate
Date: Mon, 28 Feb 2022 22:00:33 +0100
Subject: [PATCH 13/20] build(deps): update dependency
org.apache.maven.plugins:maven-project-info-reports-plugin to v3.2.2 (#222)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [org.apache.maven.plugins:maven-project-info-reports-plugin](https://maven.apache.org/plugins/) | `3.2.1` -> `3.2.2` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
---
### Configuration
📅 **Schedule**: At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] If you want to rebase/retry this PR, click this checkbox.
---
This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-networkconnectivity).
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 7bb441ae..bcbb93d2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -125,7 +125,7 @@
org.apache.maven.plugins
maven-project-info-reports-plugin
- 3.2.1
+ 3.2.2
From 729670966d090eb8de1e88bb90108198b0e1c1b3 Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate
Date: Mon, 28 Feb 2022 22:12:14 +0100
Subject: [PATCH 14/20] deps: update actions/setup-java action to v3 (#221)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [actions/setup-java](https://togithub.com/actions/setup-java) | action | major | `v1` -> `v3` |
| [actions/setup-java](https://togithub.com/actions/setup-java) | action | major | `v2` -> `v3` |
---
### Release Notes
actions/setup-java
### [`v3`](https://togithub.com/actions/setup-java/compare/v2...v3)
[Compare Source](https://togithub.com/actions/setup-java/compare/v2...v3)
### [`v2`](https://togithub.com/actions/setup-java/compare/v1...v2)
[Compare Source](https://togithub.com/actions/setup-java/compare/v1...v2)
---
### Configuration
📅 **Schedule**: At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found.
🔕 **Ignore**: Close this PR and you won't be reminded about these updates again.
---
- [ ] If you want to rebase/retry this PR, click this checkbox.
---
This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-networkconnectivity).
From 9d4e9086ca8743a4424aa906045938728b422c21 Mon Sep 17 00:00:00 2001
From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com>
Date: Tue, 1 Mar 2022 22:46:17 +0000
Subject: [PATCH 15/20] chore: update github actions (#1361) (#225)
* chore: update github actions
* chore: update
Source-Link: https://github.com/googleapis/synthtool/commit/1622741e6877d4b335b137ac7e07f7f32d4e5af7
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:e3746f84955528d0fe24bf2e4df89875d6ce5a036af01b9c326d61a38838523a
---
.github/.OwlBot.lock.yaml | 2 +-
.github/workflows/approve-readme.yaml | 2 +-
.github/workflows/auto-release.yaml | 2 +-
.github/workflows/ci.yaml | 20 ++++++++++----------
.github/workflows/samples.yaml | 4 ++--
5 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml
index 9351fdfb..53941094 100644
--- a/.github/.OwlBot.lock.yaml
+++ b/.github/.OwlBot.lock.yaml
@@ -13,4 +13,4 @@
# limitations under the License.
docker:
image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest
- digest: sha256:387835a1375a0049ec44e02542c844302854c732d8291bdf8e472c0ff70a8f67
+ digest: sha256:e3746f84955528d0fe24bf2e4df89875d6ce5a036af01b9c326d61a38838523a
diff --git a/.github/workflows/approve-readme.yaml b/.github/workflows/approve-readme.yaml
index 1bb18232..f5fc7d51 100644
--- a/.github/workflows/approve-readme.yaml
+++ b/.github/workflows/approve-readme.yaml
@@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-latest
if: github.repository_owner == 'googleapis' && github.head_ref == 'autosynth-readme'
steps:
- - uses: actions/github-script@v5
+ - uses: actions/github-script@v6
with:
github-token: ${{secrets.YOSHI_APPROVER_TOKEN}}
script: |
diff --git a/.github/workflows/auto-release.yaml b/.github/workflows/auto-release.yaml
index 18e23230..7a106d00 100644
--- a/.github/workflows/auto-release.yaml
+++ b/.github/workflows/auto-release.yaml
@@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-latest
if: contains(github.head_ref, 'release-please')
steps:
- - uses: actions/github-script@v5
+ - uses: actions/github-script@v6
with:
github-token: ${{secrets.YOSHI_APPROVER_TOKEN}}
debug: true
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 6b5e56aa..83ef7f9c 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -27,8 +27,8 @@ jobs:
matrix:
java: [8, 11, 17]
steps:
- - uses: actions/checkout@v2
- - uses: actions/setup-java@v2
+ - uses: actions/checkout@v3
+ - uses: actions/setup-java@v3
with:
distribution: zulu
java-version: ${{matrix.java}}
@@ -39,8 +39,8 @@ jobs:
windows:
runs-on: windows-latest
steps:
- - uses: actions/checkout@v2
- - uses: actions/setup-java@v2
+ - uses: actions/checkout@v3
+ - uses: actions/setup-java@v3
with:
distribution: zulu
java-version: 8
@@ -54,8 +54,8 @@ jobs:
matrix:
java: [8, 11, 17]
steps:
- - uses: actions/checkout@v2
- - uses: actions/setup-java@v2
+ - uses: actions/checkout@v3
+ - uses: actions/setup-java@v3
with:
distribution: zulu
java-version: ${{matrix.java}}
@@ -64,8 +64,8 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
- - uses: actions/setup-java@v2
+ - uses: actions/checkout@v3
+ - uses: actions/setup-java@v3
with:
distribution: zulu
java-version: 11
@@ -76,8 +76,8 @@ jobs:
clirr:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
- - uses: actions/setup-java@v2
+ - uses: actions/checkout@v3
+ - uses: actions/setup-java@v3
with:
distribution: zulu
java-version: 8
diff --git a/.github/workflows/samples.yaml b/.github/workflows/samples.yaml
index d5d964df..de737e92 100644
--- a/.github/workflows/samples.yaml
+++ b/.github/workflows/samples.yaml
@@ -20,8 +20,8 @@ jobs:
checkstyle:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
- - uses: actions/setup-java@v1
+ - uses: actions/checkout@v3
+ - uses: actions/setup-java@v3
with:
java-version: 8
- name: Run checkstyle
From a5120788d42c96f5ca17087eaed1ee3e8c206724 Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate
Date: Thu, 3 Mar 2022 02:20:41 +0100
Subject: [PATCH 16/20] deps: update dependency
com.google.cloud:google-cloud-shared-dependencies to v2.8.0 (#226)
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index bcbb93d2..5c5ada51 100644
--- a/pom.xml
+++ b/pom.xml
@@ -87,7 +87,7 @@
com.google.cloud
google-cloud-shared-dependencies
- 2.7.0
+ 2.8.0
pom
import
From dd010c3ad13a2bc83a6ffb7a73ebaef581ee35dd Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate
Date: Thu, 3 Mar 2022 02:20:56 +0100
Subject: [PATCH 17/20] chore(deps): update dependency
com.google.cloud:google-cloud-networkconnectivity to v1 (#208)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
* chore(deps): update dependency com.google.cloud:google-cloud-networkconnectivity to v1
* 🦉 Updates from OwlBot
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
Co-authored-by: Owl Bot
---
README.md | 2 +-
samples/install-without-bom/pom.xml | 2 +-
samples/snapshot/pom.xml | 2 +-
samples/snippets/pom.xml | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/README.md b/README.md
index 6e4adade..0c3122dd 100644
--- a/README.md
+++ b/README.md
@@ -19,7 +19,7 @@ If you are using Maven, add this to your pom.xml file:
com.google.cloud
google-cloud-networkconnectivity
- 0.5.0
+ 1.0.0
```
diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml
index e82e867b..fe21711b 100644
--- a/samples/install-without-bom/pom.xml
+++ b/samples/install-without-bom/pom.xml
@@ -29,7 +29,7 @@
com.google.cloud
google-cloud-networkconnectivity
- 0.5.0
+ 1.0.0
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index 9817db68..d78d287f 100644
--- a/samples/snapshot/pom.xml
+++ b/samples/snapshot/pom.xml
@@ -28,7 +28,7 @@
com.google.cloud
google-cloud-networkconnectivity
- 0.5.0
+ 1.0.0
diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml
index 122ddb3e..04bb1231 100644
--- a/samples/snippets/pom.xml
+++ b/samples/snippets/pom.xml
@@ -28,7 +28,7 @@
com.google.cloud
google-cloud-networkconnectivity
- 0.5.0
+ 1.0.0
From 46f1258ad48fcc8ba5f875c30e472dbc6c1d3946 Mon Sep 17 00:00:00 2001
From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com>
Date: Thu, 3 Mar 2022 01:26:24 +0000
Subject: [PATCH 18/20] chore: fix license header in build.bat (#1363) (#227)
* chore: fix license header in build.bat
* chore: add disctribution field for setup-java action
Source-Link: https://github.com/googleapis/synthtool/commit/4fea5f40a9075f3ba205ede0b453010cf080e194
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:df8d7b2cc0dbc65871e7edd86601901a0612b272fa3f7f0eb590c5c53aa5f92e
---
.github/.OwlBot.lock.yaml | 2 +-
.github/workflows/samples.yaml | 1 +
.kokoro/build.bat | 30 +++++++++++++++---------------
3 files changed, 17 insertions(+), 16 deletions(-)
diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml
index 53941094..3473042c 100644
--- a/.github/.OwlBot.lock.yaml
+++ b/.github/.OwlBot.lock.yaml
@@ -13,4 +13,4 @@
# limitations under the License.
docker:
image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest
- digest: sha256:e3746f84955528d0fe24bf2e4df89875d6ce5a036af01b9c326d61a38838523a
+ digest: sha256:df8d7b2cc0dbc65871e7edd86601901a0612b272fa3f7f0eb590c5c53aa5f92e
diff --git a/.github/workflows/samples.yaml b/.github/workflows/samples.yaml
index de737e92..912ed8b2 100644
--- a/.github/workflows/samples.yaml
+++ b/.github/workflows/samples.yaml
@@ -23,6 +23,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
+ distribution: zulu
java-version: 8
- name: Run checkstyle
run: mvn -P lint --quiet --batch-mode checkstyle:check
diff --git a/.kokoro/build.bat b/.kokoro/build.bat
index cc602c9e..067cf4a4 100644
--- a/.kokoro/build.bat
+++ b/.kokoro/build.bat
@@ -1,18 +1,18 @@
+:: 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.
+:: You may obtain a copy of the License at
+::
+:: http://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.
+:: Github action job to test core java library features on
+:: downstream client libraries before they are released.
:: See documentation in type-shell-output.bat
-# 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.
-# You may obtain a copy of the License at
-#
-# http://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.
-# Github action job to test core java library features on
-# downstream client libraries before they are released.
"C:\Program Files\Git\bin\bash.exe" %~dp0build.sh
From fed5ec372afa301c1173ed670f1d9732f7cb86a7 Mon Sep 17 00:00:00 2001
From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com>
Date: Mon, 7 Mar 2022 21:38:41 -0500
Subject: [PATCH 19/20] chore: update java template (#1367) (#228)
* chore: update java template
* chore: fix tests
* chore: fix tests
* chore: update project
Source-Link: https://github.com/googleapis/synthtool/commit/1155a97fed1c195d10ad406d483bc8ac2507f1d7
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:b0b1c1c89570e229b1026372a2b8989ba31495007055b8d30178b7648503eefa
Co-authored-by: Owl Bot
---
.github/.OwlBot.lock.yaml | 2 +-
.kokoro/nightly/integration.cfg | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml
index 3473042c..426cf83e 100644
--- a/.github/.OwlBot.lock.yaml
+++ b/.github/.OwlBot.lock.yaml
@@ -13,4 +13,4 @@
# limitations under the License.
docker:
image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest
- digest: sha256:df8d7b2cc0dbc65871e7edd86601901a0612b272fa3f7f0eb590c5c53aa5f92e
+ digest: sha256:b0b1c1c89570e229b1026372a2b8989ba31495007055b8d30178b7648503eefa
diff --git a/.kokoro/nightly/integration.cfg b/.kokoro/nightly/integration.cfg
index e51c7b4c..a2907a25 100644
--- a/.kokoro/nightly/integration.cfg
+++ b/.kokoro/nightly/integration.cfg
@@ -13,12 +13,12 @@ env_vars: {
# TODO: remove this after we've migrated all tests and scripts
env_vars: {
key: "GCLOUD_PROJECT"
- value: "gcloud-devel"
+ value: "java-docs-samples-testing"
}
env_vars: {
key: "GOOGLE_CLOUD_PROJECT"
- value: "gcloud-devel"
+ value: "java-docs-samples-testing"
}
env_vars: {
From c9aab92cb85b2601d4693e713dccfee52f67391b Mon Sep 17 00:00:00 2001
From: "release-please[bot]"
<55107282+release-please[bot]@users.noreply.github.com>
Date: Tue, 8 Mar 2022 14:18:51 -0500
Subject: [PATCH 20/20] chore(main): release 1.1.0 (#214)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
---
CHANGELOG.md | 14 ++++++++++++++
google-cloud-networkconnectivity-bom/pom.xml | 12 ++++++------
google-cloud-networkconnectivity/pom.xml | 4 ++--
grpc-google-cloud-networkconnectivity-v1/pom.xml | 4 ++--
.../pom.xml | 4 ++--
pom.xml | 12 ++++++------
proto-google-cloud-networkconnectivity-v1/pom.xml | 4 ++--
.../pom.xml | 4 ++--
versions.txt | 10 +++++-----
9 files changed, 41 insertions(+), 27 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 57e9af2e..4ceee126 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,19 @@
# Changelog
+## [1.1.0](https://github.com/googleapis/java-networkconnectivity/compare/v1.0.0...v1.1.0) (2022-03-08)
+
+
+### Features
+
+* Add LocationMetadata message feat: Add RoutingVPC.required_for_new_site_to_site_data_transfer_spokes field docs: Update comments to reflect that spokes can now be created with data transfer disabled ([#210](https://github.com/googleapis/java-networkconnectivity/issues/210)) ([0aa4c7d](https://github.com/googleapis/java-networkconnectivity/commit/0aa4c7da3b26eda85b4840d2ffee1f2a0b1e088c))
+
+
+### Dependencies
+
+* update actions/github-script action to v6 ([#216](https://github.com/googleapis/java-networkconnectivity/issues/216)) ([079084e](https://github.com/googleapis/java-networkconnectivity/commit/079084e7b717364cb112fd9fca73690175df8ddb))
+* update actions/setup-java action to v3 ([#221](https://github.com/googleapis/java-networkconnectivity/issues/221)) ([7296709](https://github.com/googleapis/java-networkconnectivity/commit/729670966d090eb8de1e88bb90108198b0e1c1b3))
+* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.8.0 ([#226](https://github.com/googleapis/java-networkconnectivity/issues/226)) ([a512078](https://github.com/googleapis/java-networkconnectivity/commit/a5120788d42c96f5ca17087eaed1ee3e8c206724))
+
## [1.0.0](https://github.com/googleapis/java-networkconnectivity/compare/v0.5.0...v1.0.0) (2022-02-03)
diff --git a/google-cloud-networkconnectivity-bom/pom.xml b/google-cloud-networkconnectivity-bom/pom.xml
index 611eb6e6..652bebd3 100644
--- a/google-cloud-networkconnectivity-bom/pom.xml
+++ b/google-cloud-networkconnectivity-bom/pom.xml
@@ -3,7 +3,7 @@
4.0.0
com.google.cloud
google-cloud-networkconnectivity-bom
- 1.0.1-SNAPSHOT
+ 1.1.0
pom
com.google.cloud
@@ -56,27 +56,27 @@
com.google.cloud
google-cloud-networkconnectivity
- 1.0.1-SNAPSHOT
+ 1.1.0
com.google.api.grpc
grpc-google-cloud-networkconnectivity-v1alpha1
- 0.6.1-SNAPSHOT
+ 0.7.0
com.google.api.grpc
grpc-google-cloud-networkconnectivity-v1
- 1.0.1-SNAPSHOT
+ 1.1.0
com.google.api.grpc
proto-google-cloud-networkconnectivity-v1alpha1
- 0.6.1-SNAPSHOT
+ 0.7.0
com.google.api.grpc
proto-google-cloud-networkconnectivity-v1
- 1.0.1-SNAPSHOT
+ 1.1.0