From a5f303b25638cf6cfd53fe29b28167bd826acdd8 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 9 Aug 2022 05:38:21 +0000 Subject: [PATCH 1/8] chore(main): release 1.2.4-SNAPSHOT (#280) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- 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 +++++----- 8 files changed, 27 insertions(+), 27 deletions(-) diff --git a/google-cloud-networkconnectivity-bom/pom.xml b/google-cloud-networkconnectivity-bom/pom.xml index 1171075d..80c1a432 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.2.3 + 1.2.4-SNAPSHOT pom com.google.cloud @@ -56,27 +56,27 @@ com.google.cloud google-cloud-networkconnectivity - 1.2.3 + 1.2.4-SNAPSHOT com.google.api.grpc grpc-google-cloud-networkconnectivity-v1alpha1 - 0.8.3 + 0.8.4-SNAPSHOT com.google.api.grpc grpc-google-cloud-networkconnectivity-v1 - 1.2.3 + 1.2.4-SNAPSHOT com.google.api.grpc proto-google-cloud-networkconnectivity-v1alpha1 - 0.8.3 + 0.8.4-SNAPSHOT com.google.api.grpc proto-google-cloud-networkconnectivity-v1 - 1.2.3 + 1.2.4-SNAPSHOT diff --git a/google-cloud-networkconnectivity/pom.xml b/google-cloud-networkconnectivity/pom.xml index acd6b08d..bc0450e1 100644 --- a/google-cloud-networkconnectivity/pom.xml +++ b/google-cloud-networkconnectivity/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-networkconnectivity - 1.2.3 + 1.2.4-SNAPSHOT jar Google Network Connectivity Center https://github.com/googleapis/java-networkconnectivity @@ -11,7 +11,7 @@ com.google.cloud google-cloud-networkconnectivity-parent - 1.2.3 + 1.2.4-SNAPSHOT google-cloud-networkconnectivity diff --git a/grpc-google-cloud-networkconnectivity-v1/pom.xml b/grpc-google-cloud-networkconnectivity-v1/pom.xml index 35abcccd..afef31b7 100644 --- a/grpc-google-cloud-networkconnectivity-v1/pom.xml +++ b/grpc-google-cloud-networkconnectivity-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-networkconnectivity-v1 - 1.2.3 + 1.2.4-SNAPSHOT grpc-google-cloud-networkconnectivity-v1 GRPC library for google-cloud-networkconnectivity com.google.cloud google-cloud-networkconnectivity-parent - 1.2.3 + 1.2.4-SNAPSHOT diff --git a/grpc-google-cloud-networkconnectivity-v1alpha1/pom.xml b/grpc-google-cloud-networkconnectivity-v1alpha1/pom.xml index 70f8489e..222ede82 100644 --- a/grpc-google-cloud-networkconnectivity-v1alpha1/pom.xml +++ b/grpc-google-cloud-networkconnectivity-v1alpha1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-networkconnectivity-v1alpha1 - 0.8.3 + 0.8.4-SNAPSHOT grpc-google-cloud-networkconnectivity-v1alpha1 GRPC library for google-cloud-networkconnectivity com.google.cloud google-cloud-networkconnectivity-parent - 1.2.3 + 1.2.4-SNAPSHOT diff --git a/pom.xml b/pom.xml index 0093749d..751a9f7c 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-networkconnectivity-parent pom - 1.2.3 + 1.2.4-SNAPSHOT Google Network Connectivity Center Parent https://github.com/googleapis/java- @@ -61,27 +61,27 @@ com.google.cloud google-cloud-networkconnectivity - 1.2.3 + 1.2.4-SNAPSHOT com.google.api.grpc proto-google-cloud-networkconnectivity-v1 - 1.2.3 + 1.2.4-SNAPSHOT com.google.api.grpc grpc-google-cloud-networkconnectivity-v1 - 1.2.3 + 1.2.4-SNAPSHOT com.google.api.grpc proto-google-cloud-networkconnectivity-v1alpha1 - 0.8.3 + 0.8.4-SNAPSHOT com.google.api.grpc grpc-google-cloud-networkconnectivity-v1alpha1 - 0.8.3 + 0.8.4-SNAPSHOT diff --git a/proto-google-cloud-networkconnectivity-v1/pom.xml b/proto-google-cloud-networkconnectivity-v1/pom.xml index dddb8a46..dfbebe3f 100644 --- a/proto-google-cloud-networkconnectivity-v1/pom.xml +++ b/proto-google-cloud-networkconnectivity-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-networkconnectivity-v1 - 1.2.3 + 1.2.4-SNAPSHOT proto-google-cloud-networkconnectivity-v1 Proto library for google-cloud-networkconnectivity com.google.cloud google-cloud-networkconnectivity-parent - 1.2.3 + 1.2.4-SNAPSHOT diff --git a/proto-google-cloud-networkconnectivity-v1alpha1/pom.xml b/proto-google-cloud-networkconnectivity-v1alpha1/pom.xml index 1576825d..3f42873e 100644 --- a/proto-google-cloud-networkconnectivity-v1alpha1/pom.xml +++ b/proto-google-cloud-networkconnectivity-v1alpha1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-networkconnectivity-v1alpha1 - 0.8.3 + 0.8.4-SNAPSHOT proto-google-cloud-networkconnectivity-v1alpha1 Proto library for google-cloud-networkconnectivity com.google.cloud google-cloud-networkconnectivity-parent - 1.2.3 + 1.2.4-SNAPSHOT diff --git a/versions.txt b/versions.txt index 0228a784..2ddc70bb 100644 --- a/versions.txt +++ b/versions.txt @@ -1,8 +1,8 @@ # Format: # module:released-version:current-version -google-cloud-networkconnectivity:1.2.3:1.2.3 -grpc-google-cloud-networkconnectivity-v1alpha1:0.8.3:0.8.3 -grpc-google-cloud-networkconnectivity-v1:1.2.3:1.2.3 -proto-google-cloud-networkconnectivity-v1alpha1:0.8.3:0.8.3 -proto-google-cloud-networkconnectivity-v1:1.2.3:1.2.3 +google-cloud-networkconnectivity:1.2.3:1.2.4-SNAPSHOT +grpc-google-cloud-networkconnectivity-v1alpha1:0.8.3:0.8.4-SNAPSHOT +grpc-google-cloud-networkconnectivity-v1:1.2.3:1.2.4-SNAPSHOT +proto-google-cloud-networkconnectivity-v1alpha1:0.8.3:0.8.4-SNAPSHOT +proto-google-cloud-networkconnectivity-v1:1.2.3:1.2.4-SNAPSHOT From 071c1f1d3297621bbb32bd2f7edf26ff39d0ff91 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 16 Aug 2022 21:32:28 +0200 Subject: [PATCH 2/8] build(deps): update dependency org.apache.maven.plugins:maven-javadoc-plugin to v3.4.1 (#282) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](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.4.0` -> `3.4.1` | [![age](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-javadoc-plugin/3.4.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-javadoc-plugin/3.4.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-javadoc-plugin/3.4.1/compatibility-slim/3.4.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-javadoc-plugin/3.4.1/confidence-slim/3.4.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - 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. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-networkconnectivity). --- README.md | 4 ++-- pom.xml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index fe29c27d..95f0fa8b 100644 --- a/README.md +++ b/README.md @@ -27,13 +27,13 @@ If you are using Maven, add this to your pom.xml file: If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-networkconnectivity:1.2.1' +implementation 'com.google.cloud:google-cloud-networkconnectivity:1.2.3' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-networkconnectivity" % "1.2.1" +libraryDependencies += "com.google.cloud" % "google-cloud-networkconnectivity" % "1.2.3" ``` ## Authentication diff --git a/pom.xml b/pom.xml index 751a9f7c..36eb103e 100644 --- a/pom.xml +++ b/pom.xml @@ -152,7 +152,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.4.0 + 3.4.1 html From e7db1b4a2d5ca33790dd54402a9af3c1498cd041 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 16 Aug 2022 21:34:12 +0200 Subject: [PATCH 3/8] chore(deps): update dependency com.google.cloud:google-cloud-networkconnectivity to v1.2.3 (#281) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-networkconnectivity](https://togithub.com/googleapis/java-) | `1.2.1` -> `1.2.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-networkconnectivity/1.2.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-networkconnectivity/1.2.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-networkconnectivity/1.2.3/compatibility-slim/1.2.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-networkconnectivity/1.2.3/confidence-slim/1.2.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - 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. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-networkconnectivity). --- 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 95f0fa8b..a216341b 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 - 1.2.1 + 1.2.3 ``` diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index 25fd9f6f..1fdd2d72 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 - 1.2.1 + 1.2.3 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index bca3842d..3024c281 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-networkconnectivity - 1.2.1 + 1.2.3 diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index f28fa66e..72b6723c 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-networkconnectivity - 1.2.1 + 1.2.3 From ebb2397ed964311000933ee7fc5a337ce1b78f27 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 16 Aug 2022 22:56:24 +0200 Subject: [PATCH 4/8] build(deps): update dependency org.apache.maven.plugins:maven-project-info-reports-plugin to v3.4.1 (#283) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](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.4.0` -> `3.4.1` | [![age](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.4.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.4.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.4.1/compatibility-slim/3.4.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.4.1/confidence-slim/3.4.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - 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. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). 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 36eb103e..0be4ced8 100644 --- a/pom.xml +++ b/pom.xml @@ -125,7 +125,7 @@ org.apache.maven.plugins maven-project-info-reports-plugin - 3.4.0 + 3.4.1 From 8be416f7384d97e8a044cb996611f437369807b5 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Mon, 22 Aug 2022 14:18:37 +0000 Subject: [PATCH 5/8] chore: remove unused proto imports (#284) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 468735472 Source-Link: https://github.com/googleapis/googleapis/commit/cfa1b3782da7ccae31673d45401a0b79d2d4a84b Source-Link: https://github.com/googleapis/googleapis-gen/commit/09b7666656510f5b00b893f003a0ba5766f9e250 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMDliNzY2NjY1NjUxMGY1YjAwYjg5M2YwMDNhMGJhNTc2NmY5ZTI1MCJ9 --- .../networkconnectivity/v1/CommonProto.java | 34 +++++++++---------- .../cloud/networkconnectivity/v1/common.proto | 1 - .../v1alpha1/CommonProto.java | 32 ++++++++--------- .../networkconnectivity/v1alpha1/common.proto | 1 - 4 files changed, 31 insertions(+), 37 deletions(-) diff --git a/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/CommonProto.java b/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/CommonProto.java index 0d7e91c5..30dbe31a 100644 --- a/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/CommonProto.java +++ b/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/CommonProto.java @@ -42,28 +42,27 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n0google/cloud/networkconnectivity/v1/co" + "mmon.proto\022#google.cloud.networkconnecti" - + "vity.v1\032\034google/api/annotations.proto\032\037g" - + "oogle/api/field_behavior.proto\032\037google/p" - + "rotobuf/timestamp.proto\"\200\002\n\021OperationMet" - + "adata\0224\n\013create_time\030\001 \001(\0132\032.google.prot" - + "obuf.TimestampB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032." - + "google.protobuf.TimestampB\003\340A\003\022\023\n\006target" - + "\030\003 \001(\tB\003\340A\003\022\021\n\004verb\030\004 \001(\tB\003\340A\003\022\033\n\016status" - + "_message\030\005 \001(\tB\003\340A\003\022#\n\026requested_cancell" - + "ation\030\006 \001(\010B\003\340A\003\022\030\n\013api_version\030\007 \001(\tB\003\340" - + "A\003B\205\002\n\'com.google.cloud.networkconnectiv" - + "ity.v1B\013CommonProtoP\001ZVgoogle.golang.org" - + "/genproto/googleapis/cloud/networkconnec" - + "tivity/v1;networkconnectivity\252\002#Google.C" - + "loud.NetworkConnectivity.V1\312\002#Google\\Clo" - + "ud\\NetworkConnectivity\\V1\352\002&Google::Clou" - + "d::NetworkConnectivity::V1b\006proto3" + + "vity.v1\032\037google/api/field_behavior.proto" + + "\032\037google/protobuf/timestamp.proto\"\200\002\n\021Op" + + "erationMetadata\0224\n\013create_time\030\001 \001(\0132\032.g" + + "oogle.protobuf.TimestampB\003\340A\003\0221\n\010end_tim" + + "e\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\003" + + "\022\023\n\006target\030\003 \001(\tB\003\340A\003\022\021\n\004verb\030\004 \001(\tB\003\340A\003" + + "\022\033\n\016status_message\030\005 \001(\tB\003\340A\003\022#\n\026request" + + "ed_cancellation\030\006 \001(\010B\003\340A\003\022\030\n\013api_versio" + + "n\030\007 \001(\tB\003\340A\003B\205\002\n\'com.google.cloud.networ" + + "kconnectivity.v1B\013CommonProtoP\001ZVgoogle." + + "golang.org/genproto/googleapis/cloud/net" + + "workconnectivity/v1;networkconnectivity\252" + + "\002#Google.Cloud.NetworkConnectivity.V1\312\002#" + + "Google\\Cloud\\NetworkConnectivity\\V1\352\002&Go" + + "ogle::Cloud::NetworkConnectivity::V1b\006pr" + + "oto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), }); @@ -86,7 +85,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); } 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 ed96c8ea..21999d59 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 @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.networkconnectivity.v1; -import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/protobuf/timestamp.proto"; diff --git a/proto-google-cloud-networkconnectivity-v1alpha1/src/main/java/com/google/cloud/networkconnectivity/v1alpha1/CommonProto.java b/proto-google-cloud-networkconnectivity-v1alpha1/src/main/java/com/google/cloud/networkconnectivity/v1alpha1/CommonProto.java index 4a09ed6f..e8e71eaf 100644 --- a/proto-google-cloud-networkconnectivity-v1alpha1/src/main/java/com/google/cloud/networkconnectivity/v1alpha1/CommonProto.java +++ b/proto-google-cloud-networkconnectivity-v1alpha1/src/main/java/com/google/cloud/networkconnectivity/v1alpha1/CommonProto.java @@ -44,21 +44,21 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ha1/common.proto\022)google.cloud.networkco" + "nnectivity.v1alpha1\032\037google/api/field_be" + "havior.proto\032\037google/protobuf/timestamp." - + "proto\032\034google/api/annotations.proto\"\200\002\n\021" - + "OperationMetadata\0224\n\013create_time\030\001 \001(\0132\032" - + ".google.protobuf.TimestampB\003\340A\003\0221\n\010end_t" - + "ime\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340" - + "A\003\022\023\n\006target\030\003 \001(\tB\003\340A\003\022\021\n\004verb\030\004 \001(\tB\003\340" - + "A\003\022\033\n\016status_message\030\005 \001(\tB\003\340A\003\022#\n\026reque" - + "sted_cancellation\030\006 \001(\010B\003\340A\003\022\030\n\013api_vers" - + "ion\030\007 \001(\tB\003\340A\003B\243\002\n-com.google.cloud.netw" - + "orkconnectivity.v1alpha1B\013CommonProtoP\001Z" - + "\\google.golang.org/genproto/googleapis/c" - + "loud/networkconnectivity/v1alpha1;networ" - + "kconnectivity\252\002)Google.Cloud.NetworkConn" - + "ectivity.V1Alpha1\312\002)Google\\Cloud\\Network" - + "Connectivity\\V1alpha1\352\002,Google::Cloud::N" - + "etworkConnectivity::V1alpha1b\006proto3" + + "proto\"\200\002\n\021OperationMetadata\0224\n\013create_ti" + + "me\030\001 \001(\0132\032.google.protobuf.TimestampB\003\340A" + + "\003\0221\n\010end_time\030\002 \001(\0132\032.google.protobuf.Ti" + + "mestampB\003\340A\003\022\023\n\006target\030\003 \001(\tB\003\340A\003\022\021\n\004ver" + + "b\030\004 \001(\tB\003\340A\003\022\033\n\016status_message\030\005 \001(\tB\003\340A" + + "\003\022#\n\026requested_cancellation\030\006 \001(\010B\003\340A\003\022\030" + + "\n\013api_version\030\007 \001(\tB\003\340A\003B\243\002\n-com.google." + + "cloud.networkconnectivity.v1alpha1B\013Comm" + + "onProtoP\001Z\\google.golang.org/genproto/go" + + "ogleapis/cloud/networkconnectivity/v1alp" + + "ha1;networkconnectivity\252\002)Google.Cloud.N" + + "etworkConnectivity.V1Alpha1\312\002)Google\\Clo" + + "ud\\NetworkConnectivity\\V1alpha1\352\002,Google" + + "::Cloud::NetworkConnectivity::V1alpha1b\006" + + "proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -66,7 +66,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.api.FieldBehaviorProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), }); internal_static_google_cloud_networkconnectivity_v1alpha1_OperationMetadata_descriptor = getDescriptor().getMessageTypes().get(0); @@ -89,7 +88,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { descriptor, registry); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-networkconnectivity-v1alpha1/src/main/proto/google/cloud/networkconnectivity/v1alpha1/common.proto b/proto-google-cloud-networkconnectivity-v1alpha1/src/main/proto/google/cloud/networkconnectivity/v1alpha1/common.proto index 88c3fe58..bdd9df63 100644 --- a/proto-google-cloud-networkconnectivity-v1alpha1/src/main/proto/google/cloud/networkconnectivity/v1alpha1/common.proto +++ b/proto-google-cloud-networkconnectivity-v1alpha1/src/main/proto/google/cloud/networkconnectivity/v1alpha1/common.proto @@ -18,7 +18,6 @@ package google.cloud.networkconnectivity.v1alpha1; import "google/api/field_behavior.proto"; import "google/protobuf/timestamp.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.NetworkConnectivity.V1Alpha1"; option go_package = "google.golang.org/genproto/googleapis/cloud/networkconnectivity/v1alpha1;networkconnectivity"; From 353566ed05fd38314bbe076682879ea436afa657 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 8 Sep 2022 20:26:23 +0000 Subject: [PATCH 6/8] chore(bazel): Update WORKSPACE files for rules_gapic, gax_java, generator_java versions (#285) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 472750037 Source-Link: https://github.com/googleapis/googleapis/commit/88f2ea3f53b9712f2e04f28f06210f6f77fa7e24 Source-Link: https://github.com/googleapis/googleapis-gen/commit/230a5588306aae18fe8f2a57f14d4039ad72c901 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjMwYTU1ODgzMDZhYWUxOGZlOGYyYTU3ZjE0ZDQwMzlhZDcyYzkwMSJ9 --- .../v1/HubServiceClient.java | 343 +++++++++++++----- .../v1/HubServiceSettings.java | 12 +- .../networkconnectivity/v1/package-info.java | 7 +- .../v1/stub/HubServiceStubSettings.java | 12 +- .../v1alpha1/HubServiceClient.java | 343 +++++++++++++----- .../v1alpha1/HubServiceSettings.java | 12 +- .../v1alpha1/package-info.java | 7 +- .../v1alpha1/stub/HubServiceStubSettings.java | 12 +- .../SyncCreateSetCredentialsProvider.java | 7 +- .../create/SyncCreateSetEndpoint.java | 7 +- .../createhub/AsyncCreateHub.java | 7 +- .../createhub/AsyncCreateHubLRO.java | 7 +- .../createhub/SyncCreateHub.java | 7 +- .../SyncCreateHubLocationnameHubString.java | 7 +- .../SyncCreateHubStringHubString.java | 7 +- .../createspoke/AsyncCreateSpoke.java | 7 +- .../createspoke/AsyncCreateSpokeLRO.java | 7 +- .../createspoke/SyncCreateSpoke.java | 7 +- ...yncCreateSpokeLocationnameSpokeString.java | 7 +- .../SyncCreateSpokeStringSpokeString.java | 7 +- .../deletehub/AsyncDeleteHub.java | 7 +- .../deletehub/AsyncDeleteHubLRO.java | 7 +- .../deletehub/SyncDeleteHub.java | 7 +- .../deletehub/SyncDeleteHubHubname.java | 7 +- .../deletehub/SyncDeleteHubString.java | 7 +- .../deletespoke/AsyncDeleteSpoke.java | 7 +- .../deletespoke/AsyncDeleteSpokeLRO.java | 7 +- .../deletespoke/SyncDeleteSpoke.java | 7 +- .../deletespoke/SyncDeleteSpokeSpokename.java | 7 +- .../deletespoke/SyncDeleteSpokeString.java | 7 +- .../hubserviceclient/gethub/AsyncGetHub.java | 7 +- .../hubserviceclient/gethub/SyncGetHub.java | 7 +- .../gethub/SyncGetHubHubname.java | 7 +- .../gethub/SyncGetHubString.java | 7 +- .../getspoke/AsyncGetSpoke.java | 7 +- .../getspoke/SyncGetSpoke.java | 7 +- .../getspoke/SyncGetSpokeSpokename.java | 7 +- .../getspoke/SyncGetSpokeString.java | 7 +- .../listhubs/AsyncListHubs.java | 7 +- .../listhubs/AsyncListHubsPaged.java | 7 +- .../listhubs/SyncListHubs.java | 7 +- .../listhubs/SyncListHubsLocationname.java | 7 +- .../listhubs/SyncListHubsString.java | 7 +- .../listspokes/AsyncListSpokes.java | 7 +- .../listspokes/AsyncListSpokesPaged.java | 7 +- .../listspokes/SyncListSpokes.java | 7 +- .../SyncListSpokesLocationname.java | 7 +- .../listspokes/SyncListSpokesString.java | 7 +- .../updatehub/AsyncUpdateHub.java | 7 +- .../updatehub/AsyncUpdateHubLRO.java | 7 +- .../updatehub/SyncUpdateHub.java | 7 +- .../updatehub/SyncUpdateHubHubFieldmask.java | 7 +- .../updatespoke/AsyncUpdateSpoke.java | 7 +- .../updatespoke/AsyncUpdateSpokeLRO.java | 7 +- .../updatespoke/SyncUpdateSpoke.java | 7 +- .../SyncUpdateSpokeSpokeFieldmask.java | 7 +- .../hubservicesettings/gethub/SyncGetHub.java | 12 +- .../gethub/SyncGetHub.java | 12 +- .../SyncCreateSetCredentialsProvider.java | 7 +- .../create/SyncCreateSetEndpoint.java | 7 +- .../createhub/AsyncCreateHub.java | 7 +- .../createhub/AsyncCreateHubLRO.java | 7 +- .../createhub/SyncCreateHub.java | 7 +- .../SyncCreateHubLocationnameHubString.java | 7 +- .../SyncCreateHubStringHubString.java | 7 +- .../createspoke/AsyncCreateSpoke.java | 7 +- .../createspoke/AsyncCreateSpokeLRO.java | 7 +- .../createspoke/SyncCreateSpoke.java | 7 +- ...yncCreateSpokeLocationnameSpokeString.java | 7 +- .../SyncCreateSpokeStringSpokeString.java | 7 +- .../deletehub/AsyncDeleteHub.java | 7 +- .../deletehub/AsyncDeleteHubLRO.java | 7 +- .../deletehub/SyncDeleteHub.java | 7 +- .../deletehub/SyncDeleteHubHubname.java | 7 +- .../deletehub/SyncDeleteHubString.java | 7 +- .../deletespoke/AsyncDeleteSpoke.java | 7 +- .../deletespoke/AsyncDeleteSpokeLRO.java | 7 +- .../deletespoke/SyncDeleteSpoke.java | 7 +- .../deletespoke/SyncDeleteSpokeSpokename.java | 7 +- .../deletespoke/SyncDeleteSpokeString.java | 7 +- .../hubserviceclient/gethub/AsyncGetHub.java | 7 +- .../hubserviceclient/gethub/SyncGetHub.java | 7 +- .../gethub/SyncGetHubHubname.java | 7 +- .../gethub/SyncGetHubString.java | 7 +- .../getspoke/AsyncGetSpoke.java | 7 +- .../getspoke/SyncGetSpoke.java | 7 +- .../getspoke/SyncGetSpokeSpokename.java | 7 +- .../getspoke/SyncGetSpokeString.java | 7 +- .../listhubs/AsyncListHubs.java | 7 +- .../listhubs/AsyncListHubsPaged.java | 7 +- .../listhubs/SyncListHubs.java | 7 +- .../listhubs/SyncListHubsLocationname.java | 7 +- .../listhubs/SyncListHubsString.java | 7 +- .../listspokes/AsyncListSpokes.java | 7 +- .../listspokes/AsyncListSpokesPaged.java | 7 +- .../listspokes/SyncListSpokes.java | 7 +- .../SyncListSpokesLocationname.java | 7 +- .../listspokes/SyncListSpokesString.java | 7 +- .../updatehub/AsyncUpdateHub.java | 7 +- .../updatehub/AsyncUpdateHubLRO.java | 7 +- .../updatehub/SyncUpdateHub.java | 7 +- .../updatehub/SyncUpdateHubHubFieldmask.java | 7 +- .../updatespoke/AsyncUpdateSpoke.java | 7 +- .../updatespoke/AsyncUpdateSpokeLRO.java | 7 +- .../updatespoke/SyncUpdateSpoke.java | 7 +- .../SyncUpdateSpokeSpokeFieldmask.java | 7 +- .../hubservicesettings/gethub/SyncGetHub.java | 12 +- .../gethub/SyncGetHub.java | 12 +- 108 files changed, 1028 insertions(+), 440 deletions(-) diff --git a/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1/HubServiceClient.java b/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1/HubServiceClient.java index 94ef41d5..efc7947c 100644 --- a/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1/HubServiceClient.java +++ b/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1/HubServiceClient.java @@ -48,8 +48,11 @@ * calls that map to API methods. Sample code to get started: * *
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
  *   HubName name = HubName.of("[PROJECT]", "[HUB]");
  *   Hub response = hubServiceClient.getHub(name);
@@ -85,8 +88,11 @@
  * 

To customize credentials: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * HubServiceSettings hubServiceSettings =
  *     HubServiceSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -97,8 +103,11 @@
  * 

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * HubServiceSettings hubServiceSettings =
  *     HubServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
  * HubServiceClient hubServiceClient = HubServiceClient.create(hubServiceSettings);
@@ -172,8 +181,11 @@ public final OperationsClient getOperationsClient() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (Hub element : hubServiceClient.listHubs(parent).iterateAll()) {
@@ -198,8 +210,11 @@ public final ListHubsPagedResponse listHubs(LocationName parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   for (Hub element : hubServiceClient.listHubs(parent).iterateAll()) {
@@ -223,8 +238,11 @@ public final ListHubsPagedResponse listHubs(String parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   ListHubsRequest request =
    *       ListHubsRequest.newBuilder()
@@ -254,8 +272,11 @@ public final ListHubsPagedResponse listHubs(ListHubsRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   ListHubsRequest request =
    *       ListHubsRequest.newBuilder()
@@ -284,8 +305,11 @@ public final UnaryCallable listHubsPaged
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   ListHubsRequest request =
    *       ListHubsRequest.newBuilder()
@@ -321,8 +345,11 @@ public final UnaryCallable listHubsCallable()
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   HubName name = HubName.of("[PROJECT]", "[HUB]");
    *   Hub response = hubServiceClient.getHub(name);
@@ -345,8 +372,11 @@ public final Hub getHub(HubName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   String name = HubName.of("[PROJECT]", "[HUB]").toString();
    *   Hub response = hubServiceClient.getHub(name);
@@ -368,8 +398,11 @@ public final Hub getHub(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   GetHubRequest request =
    *       GetHubRequest.newBuilder().setName(HubName.of("[PROJECT]", "[HUB]").toString()).build();
@@ -391,8 +424,11 @@ public final Hub getHub(GetHubRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   GetHubRequest request =
    *       GetHubRequest.newBuilder().setName(HubName.of("[PROJECT]", "[HUB]").toString()).build();
@@ -413,8 +449,11 @@ public final UnaryCallable getHubCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   Hub hub = Hub.newBuilder().build();
@@ -446,8 +485,11 @@ public final OperationFuture createHubAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   Hub hub = Hub.newBuilder().build();
@@ -475,8 +517,11 @@ public final OperationFuture createHubAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   CreateHubRequest request =
    *       CreateHubRequest.newBuilder()
@@ -503,8 +548,11 @@ public final OperationFuture createHubAsync(CreateHubReq
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   CreateHubRequest request =
    *       CreateHubRequest.newBuilder()
@@ -532,8 +580,11 @@ public final OperationFuture createHubAsync(CreateHubReq
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   CreateHubRequest request =
    *       CreateHubRequest.newBuilder()
@@ -559,8 +610,11 @@ public final UnaryCallable createHubCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   Hub hub = Hub.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -589,8 +643,11 @@ public final OperationFuture updateHubAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   UpdateHubRequest request =
    *       UpdateHubRequest.newBuilder()
@@ -616,8 +673,11 @@ public final OperationFuture updateHubAsync(UpdateHubReq
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   UpdateHubRequest request =
    *       UpdateHubRequest.newBuilder()
@@ -644,8 +704,11 @@ public final OperationFuture updateHubAsync(UpdateHubReq
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   UpdateHubRequest request =
    *       UpdateHubRequest.newBuilder()
@@ -670,8 +733,11 @@ public final UnaryCallable updateHubCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   HubName name = HubName.of("[PROJECT]", "[HUB]");
    *   hubServiceClient.deleteHubAsync(name).get();
@@ -694,8 +760,11 @@ public final OperationFuture deleteHubAsync(HubName na
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   String name = HubName.of("[PROJECT]", "[HUB]").toString();
    *   hubServiceClient.deleteHubAsync(name).get();
@@ -717,8 +786,11 @@ public final OperationFuture deleteHubAsync(String nam
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   DeleteHubRequest request =
    *       DeleteHubRequest.newBuilder()
@@ -743,8 +815,11 @@ public final OperationFuture deleteHubAsync(DeleteHubR
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   DeleteHubRequest request =
    *       DeleteHubRequest.newBuilder()
@@ -770,8 +845,11 @@ public final OperationFuture deleteHubAsync(DeleteHubR
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   DeleteHubRequest request =
    *       DeleteHubRequest.newBuilder()
@@ -795,8 +873,11 @@ public final UnaryCallable deleteHubCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (Spoke element : hubServiceClient.listSpokes(parent).iterateAll()) {
@@ -821,8 +902,11 @@ public final ListSpokesPagedResponse listSpokes(LocationName parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   for (Spoke element : hubServiceClient.listSpokes(parent).iterateAll()) {
@@ -846,8 +930,11 @@ public final ListSpokesPagedResponse listSpokes(String parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   ListSpokesRequest request =
    *       ListSpokesRequest.newBuilder()
@@ -877,8 +964,11 @@ public final ListSpokesPagedResponse listSpokes(ListSpokesRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   ListSpokesRequest request =
    *       ListSpokesRequest.newBuilder()
@@ -907,8 +997,11 @@ public final UnaryCallable listSpoke
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   ListSpokesRequest request =
    *       ListSpokesRequest.newBuilder()
@@ -944,8 +1037,11 @@ public final UnaryCallable listSpokesCall
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   SpokeName name = SpokeName.of("[PROJECT]", "[LOCATION]", "[SPOKE]");
    *   Spoke response = hubServiceClient.getSpoke(name);
@@ -968,8 +1064,11 @@ public final Spoke getSpoke(SpokeName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   String name = SpokeName.of("[PROJECT]", "[LOCATION]", "[SPOKE]").toString();
    *   Spoke response = hubServiceClient.getSpoke(name);
@@ -991,8 +1090,11 @@ public final Spoke getSpoke(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   GetSpokeRequest request =
    *       GetSpokeRequest.newBuilder()
@@ -1016,8 +1118,11 @@ public final Spoke getSpoke(GetSpokeRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   GetSpokeRequest request =
    *       GetSpokeRequest.newBuilder()
@@ -1040,8 +1145,11 @@ public final UnaryCallable getSpokeCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   Spoke spoke = Spoke.newBuilder().build();
@@ -1073,8 +1181,11 @@ public final OperationFuture createSpokeAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   Spoke spoke = Spoke.newBuilder().build();
@@ -1106,8 +1217,11 @@ public final OperationFuture createSpokeAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   CreateSpokeRequest request =
    *       CreateSpokeRequest.newBuilder()
@@ -1135,8 +1249,11 @@ public final OperationFuture createSpokeAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   CreateSpokeRequest request =
    *       CreateSpokeRequest.newBuilder()
@@ -1164,8 +1281,11 @@ public final OperationFuture createSpokeAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   CreateSpokeRequest request =
    *       CreateSpokeRequest.newBuilder()
@@ -1191,8 +1311,11 @@ public final UnaryCallable createSpokeCallable()
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   Spoke spoke = Spoke.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -1221,8 +1344,11 @@ public final OperationFuture updateSpokeAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   UpdateSpokeRequest request =
    *       UpdateSpokeRequest.newBuilder()
@@ -1249,8 +1375,11 @@ public final OperationFuture updateSpokeAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   UpdateSpokeRequest request =
    *       UpdateSpokeRequest.newBuilder()
@@ -1277,8 +1406,11 @@ public final OperationFuture updateSpokeAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   UpdateSpokeRequest request =
    *       UpdateSpokeRequest.newBuilder()
@@ -1303,8 +1435,11 @@ public final UnaryCallable updateSpokeCallable()
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   SpokeName name = SpokeName.of("[PROJECT]", "[LOCATION]", "[SPOKE]");
    *   hubServiceClient.deleteSpokeAsync(name).get();
@@ -1327,8 +1462,11 @@ public final OperationFuture deleteSpokeAsync(SpokeNam
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   String name = SpokeName.of("[PROJECT]", "[LOCATION]", "[SPOKE]").toString();
    *   hubServiceClient.deleteSpokeAsync(name).get();
@@ -1350,8 +1488,11 @@ public final OperationFuture deleteSpokeAsync(String n
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   DeleteSpokeRequest request =
    *       DeleteSpokeRequest.newBuilder()
@@ -1377,8 +1518,11 @@ public final OperationFuture deleteSpokeAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   DeleteSpokeRequest request =
    *       DeleteSpokeRequest.newBuilder()
@@ -1404,8 +1548,11 @@ public final OperationFuture deleteSpokeAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   DeleteSpokeRequest request =
    *       DeleteSpokeRequest.newBuilder()
diff --git a/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1/HubServiceSettings.java b/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1/HubServiceSettings.java
index 1494c9f0..e33fae23 100644
--- a/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1/HubServiceSettings.java
+++ b/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1/HubServiceSettings.java
@@ -57,16 +57,16 @@
  * 

For example, to set the total timeout of getHub to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * HubServiceSettings.Builder hubServiceSettingsBuilder = HubServiceSettings.newBuilder();
  * hubServiceSettingsBuilder
  *     .getHubSettings()
  *     .setRetrySettings(
- *         hubServiceSettingsBuilder
- *             .getHubSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         hubServiceSettingsBuilder.getHubSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * HubServiceSettings hubServiceSettings = hubServiceSettingsBuilder.build();
diff --git a/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1/package-info.java b/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1/package-info.java
index 55d9a476..0aa0afcf 100644
--- a/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1/package-info.java
+++ b/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1/package-info.java
@@ -28,8 +28,11 @@
  * 

Sample for HubServiceClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
  *   HubName name = HubName.of("[PROJECT]", "[HUB]");
  *   Hub response = hubServiceClient.getHub(name);
diff --git a/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1/stub/HubServiceStubSettings.java b/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1/stub/HubServiceStubSettings.java
index da5cf6d6..d1eac02c 100644
--- a/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1/stub/HubServiceStubSettings.java
+++ b/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1/stub/HubServiceStubSettings.java
@@ -90,16 +90,16 @@
  * 

For example, to set the total timeout of getHub to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * HubServiceStubSettings.Builder hubServiceSettingsBuilder = HubServiceStubSettings.newBuilder();
  * hubServiceSettingsBuilder
  *     .getHubSettings()
  *     .setRetrySettings(
- *         hubServiceSettingsBuilder
- *             .getHubSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         hubServiceSettingsBuilder.getHubSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * HubServiceStubSettings hubServiceSettings = hubServiceSettingsBuilder.build();
diff --git a/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1alpha1/HubServiceClient.java b/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1alpha1/HubServiceClient.java
index c535ed31..c549dac3 100644
--- a/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1alpha1/HubServiceClient.java
+++ b/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1alpha1/HubServiceClient.java
@@ -49,8 +49,11 @@
  * calls that map to API methods. Sample code to get started:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
  *   HubName name = HubName.of("[PROJECT]", "[HUB]");
  *   Hub response = hubServiceClient.getHub(name);
@@ -86,8 +89,11 @@
  * 

To customize credentials: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * HubServiceSettings hubServiceSettings =
  *     HubServiceSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -98,8 +104,11 @@
  * 

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * HubServiceSettings hubServiceSettings =
  *     HubServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
  * HubServiceClient hubServiceClient = HubServiceClient.create(hubServiceSettings);
@@ -174,8 +183,11 @@ public final OperationsClient getOperationsClient() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (Hub element : hubServiceClient.listHubs(parent).iterateAll()) {
@@ -200,8 +212,11 @@ public final ListHubsPagedResponse listHubs(LocationName parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   for (Hub element : hubServiceClient.listHubs(parent).iterateAll()) {
@@ -225,8 +240,11 @@ public final ListHubsPagedResponse listHubs(String parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   ListHubsRequest request =
    *       ListHubsRequest.newBuilder()
@@ -256,8 +274,11 @@ public final ListHubsPagedResponse listHubs(ListHubsRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   ListHubsRequest request =
    *       ListHubsRequest.newBuilder()
@@ -286,8 +307,11 @@ public final UnaryCallable listHubsPaged
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   ListHubsRequest request =
    *       ListHubsRequest.newBuilder()
@@ -323,8 +347,11 @@ public final UnaryCallable listHubsCallable()
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   HubName name = HubName.of("[PROJECT]", "[HUB]");
    *   Hub response = hubServiceClient.getHub(name);
@@ -347,8 +374,11 @@ public final Hub getHub(HubName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   String name = HubName.of("[PROJECT]", "[HUB]").toString();
    *   Hub response = hubServiceClient.getHub(name);
@@ -370,8 +400,11 @@ public final Hub getHub(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   GetHubRequest request =
    *       GetHubRequest.newBuilder().setName(HubName.of("[PROJECT]", "[HUB]").toString()).build();
@@ -393,8 +426,11 @@ public final Hub getHub(GetHubRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   GetHubRequest request =
    *       GetHubRequest.newBuilder().setName(HubName.of("[PROJECT]", "[HUB]").toString()).build();
@@ -415,8 +451,11 @@ public final UnaryCallable getHubCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   Hub hub = Hub.newBuilder().build();
@@ -448,8 +487,11 @@ public final OperationFuture createHubAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   Hub hub = Hub.newBuilder().build();
@@ -477,8 +519,11 @@ public final OperationFuture createHubAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   CreateHubRequest request =
    *       CreateHubRequest.newBuilder()
@@ -505,8 +550,11 @@ public final OperationFuture createHubAsync(CreateHubReq
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   CreateHubRequest request =
    *       CreateHubRequest.newBuilder()
@@ -534,8 +582,11 @@ public final OperationFuture createHubAsync(CreateHubReq
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   CreateHubRequest request =
    *       CreateHubRequest.newBuilder()
@@ -561,8 +612,11 @@ public final UnaryCallable createHubCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   Hub hub = Hub.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -591,8 +645,11 @@ public final OperationFuture updateHubAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   UpdateHubRequest request =
    *       UpdateHubRequest.newBuilder()
@@ -618,8 +675,11 @@ public final OperationFuture updateHubAsync(UpdateHubReq
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   UpdateHubRequest request =
    *       UpdateHubRequest.newBuilder()
@@ -646,8 +706,11 @@ public final OperationFuture updateHubAsync(UpdateHubReq
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   UpdateHubRequest request =
    *       UpdateHubRequest.newBuilder()
@@ -672,8 +735,11 @@ public final UnaryCallable updateHubCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   HubName name = HubName.of("[PROJECT]", "[HUB]");
    *   hubServiceClient.deleteHubAsync(name).get();
@@ -696,8 +762,11 @@ public final OperationFuture deleteHubAsync(HubName na
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   String name = HubName.of("[PROJECT]", "[HUB]").toString();
    *   hubServiceClient.deleteHubAsync(name).get();
@@ -719,8 +788,11 @@ public final OperationFuture deleteHubAsync(String nam
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   DeleteHubRequest request =
    *       DeleteHubRequest.newBuilder()
@@ -745,8 +817,11 @@ public final OperationFuture deleteHubAsync(DeleteHubR
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   DeleteHubRequest request =
    *       DeleteHubRequest.newBuilder()
@@ -772,8 +847,11 @@ public final OperationFuture deleteHubAsync(DeleteHubR
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   DeleteHubRequest request =
    *       DeleteHubRequest.newBuilder()
@@ -797,8 +875,11 @@ public final UnaryCallable deleteHubCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (Spoke element : hubServiceClient.listSpokes(parent).iterateAll()) {
@@ -823,8 +904,11 @@ public final ListSpokesPagedResponse listSpokes(LocationName parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   for (Spoke element : hubServiceClient.listSpokes(parent).iterateAll()) {
@@ -848,8 +932,11 @@ public final ListSpokesPagedResponse listSpokes(String parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   ListSpokesRequest request =
    *       ListSpokesRequest.newBuilder()
@@ -879,8 +966,11 @@ public final ListSpokesPagedResponse listSpokes(ListSpokesRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   ListSpokesRequest request =
    *       ListSpokesRequest.newBuilder()
@@ -909,8 +999,11 @@ public final UnaryCallable listSpoke
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   ListSpokesRequest request =
    *       ListSpokesRequest.newBuilder()
@@ -946,8 +1039,11 @@ public final UnaryCallable listSpokesCall
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   SpokeName name = SpokeName.of("[PROJECT]", "[LOCATION]", "[SPOKE]");
    *   Spoke response = hubServiceClient.getSpoke(name);
@@ -970,8 +1066,11 @@ public final Spoke getSpoke(SpokeName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   String name = SpokeName.of("[PROJECT]", "[LOCATION]", "[SPOKE]").toString();
    *   Spoke response = hubServiceClient.getSpoke(name);
@@ -993,8 +1092,11 @@ public final Spoke getSpoke(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   GetSpokeRequest request =
    *       GetSpokeRequest.newBuilder()
@@ -1018,8 +1120,11 @@ public final Spoke getSpoke(GetSpokeRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   GetSpokeRequest request =
    *       GetSpokeRequest.newBuilder()
@@ -1042,8 +1147,11 @@ public final UnaryCallable getSpokeCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   Spoke spoke = Spoke.newBuilder().build();
@@ -1075,8 +1183,11 @@ public final OperationFuture createSpokeAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   Spoke spoke = Spoke.newBuilder().build();
@@ -1108,8 +1219,11 @@ public final OperationFuture createSpokeAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   CreateSpokeRequest request =
    *       CreateSpokeRequest.newBuilder()
@@ -1137,8 +1251,11 @@ public final OperationFuture createSpokeAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   CreateSpokeRequest request =
    *       CreateSpokeRequest.newBuilder()
@@ -1166,8 +1283,11 @@ public final OperationFuture createSpokeAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   CreateSpokeRequest request =
    *       CreateSpokeRequest.newBuilder()
@@ -1193,8 +1313,11 @@ public final UnaryCallable createSpokeCallable()
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   Spoke spoke = Spoke.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -1223,8 +1346,11 @@ public final OperationFuture updateSpokeAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   UpdateSpokeRequest request =
    *       UpdateSpokeRequest.newBuilder()
@@ -1251,8 +1377,11 @@ public final OperationFuture updateSpokeAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   UpdateSpokeRequest request =
    *       UpdateSpokeRequest.newBuilder()
@@ -1279,8 +1408,11 @@ public final OperationFuture updateSpokeAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   UpdateSpokeRequest request =
    *       UpdateSpokeRequest.newBuilder()
@@ -1305,8 +1437,11 @@ public final UnaryCallable updateSpokeCallable()
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   SpokeName name = SpokeName.of("[PROJECT]", "[LOCATION]", "[SPOKE]");
    *   hubServiceClient.deleteSpokeAsync(name).get();
@@ -1329,8 +1464,11 @@ public final OperationFuture deleteSpokeAsync(SpokeNam
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   String name = SpokeName.of("[PROJECT]", "[LOCATION]", "[SPOKE]").toString();
    *   hubServiceClient.deleteSpokeAsync(name).get();
@@ -1352,8 +1490,11 @@ public final OperationFuture deleteSpokeAsync(String n
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   DeleteSpokeRequest request =
    *       DeleteSpokeRequest.newBuilder()
@@ -1379,8 +1520,11 @@ public final OperationFuture deleteSpokeAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   DeleteSpokeRequest request =
    *       DeleteSpokeRequest.newBuilder()
@@ -1406,8 +1550,11 @@ public final OperationFuture deleteSpokeAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
    *   DeleteSpokeRequest request =
    *       DeleteSpokeRequest.newBuilder()
diff --git a/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1alpha1/HubServiceSettings.java b/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1alpha1/HubServiceSettings.java
index 127727c7..fbd6e3be 100644
--- a/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1alpha1/HubServiceSettings.java
+++ b/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1alpha1/HubServiceSettings.java
@@ -57,16 +57,16 @@
  * 

For example, to set the total timeout of getHub to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * HubServiceSettings.Builder hubServiceSettingsBuilder = HubServiceSettings.newBuilder();
  * hubServiceSettingsBuilder
  *     .getHubSettings()
  *     .setRetrySettings(
- *         hubServiceSettingsBuilder
- *             .getHubSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         hubServiceSettingsBuilder.getHubSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * HubServiceSettings hubServiceSettings = hubServiceSettingsBuilder.build();
diff --git a/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1alpha1/package-info.java b/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1alpha1/package-info.java
index 214f5db5..00833f1a 100644
--- a/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1alpha1/package-info.java
+++ b/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1alpha1/package-info.java
@@ -26,8 +26,11 @@
  * 

Sample for HubServiceClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
  *   HubName name = HubName.of("[PROJECT]", "[HUB]");
  *   Hub response = hubServiceClient.getHub(name);
diff --git a/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1alpha1/stub/HubServiceStubSettings.java b/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1alpha1/stub/HubServiceStubSettings.java
index fc1ffa23..7701122e 100644
--- a/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1alpha1/stub/HubServiceStubSettings.java
+++ b/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1alpha1/stub/HubServiceStubSettings.java
@@ -90,16 +90,16 @@
  * 

For example, to set the total timeout of getHub to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * HubServiceStubSettings.Builder hubServiceSettingsBuilder = HubServiceStubSettings.newBuilder();
  * hubServiceSettingsBuilder
  *     .getHubSettings()
  *     .setRetrySettings(
- *         hubServiceSettingsBuilder
- *             .getHubSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         hubServiceSettingsBuilder.getHubSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * HubServiceStubSettings hubServiceSettings = hubServiceSettingsBuilder.build();
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/create/SyncCreateSetCredentialsProvider.java
index 4bdfb33d..f8b5135c 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/create/SyncCreateSetCredentialsProvider.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/create/SyncCreateSetCredentialsProvider.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSetCredentialsProvider() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     HubServiceSettings hubServiceSettings =
         HubServiceSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/create/SyncCreateSetEndpoint.java
index ee46a923..5317f939 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/create/SyncCreateSetEndpoint.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/create/SyncCreateSetEndpoint.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSetEndpoint() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     HubServiceSettings hubServiceSettings =
         HubServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
     HubServiceClient hubServiceClient = HubServiceClient.create(hubServiceSettings);
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/createhub/AsyncCreateHub.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/createhub/AsyncCreateHub.java
index 6c329fad..60bbf1a6 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/createhub/AsyncCreateHub.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/createhub/AsyncCreateHub.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateHub() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       CreateHubRequest request =
           CreateHubRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/createhub/AsyncCreateHubLRO.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/createhub/AsyncCreateHubLRO.java
index 45185c6e..aa86c991 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/createhub/AsyncCreateHubLRO.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/createhub/AsyncCreateHubLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateHubLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       CreateHubRequest request =
           CreateHubRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/createhub/SyncCreateHub.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/createhub/SyncCreateHub.java
index c0ae57fb..9075e0f0 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/createhub/SyncCreateHub.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/createhub/SyncCreateHub.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateHub() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       CreateHubRequest request =
           CreateHubRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/createhub/SyncCreateHubLocationnameHubString.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/createhub/SyncCreateHubLocationnameHubString.java
index 6cd04d36..eaf469bd 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/createhub/SyncCreateHubLocationnameHubString.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/createhub/SyncCreateHubLocationnameHubString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateHubLocationnameHubString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       Hub hub = Hub.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/createhub/SyncCreateHubStringHubString.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/createhub/SyncCreateHubStringHubString.java
index 0e662bd0..810ceedb 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/createhub/SyncCreateHubStringHubString.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/createhub/SyncCreateHubStringHubString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateHubStringHubString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       Hub hub = Hub.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/createspoke/AsyncCreateSpoke.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/createspoke/AsyncCreateSpoke.java
index ab671a24..2ea92518 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/createspoke/AsyncCreateSpoke.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/createspoke/AsyncCreateSpoke.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateSpoke() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       CreateSpokeRequest request =
           CreateSpokeRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/createspoke/AsyncCreateSpokeLRO.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/createspoke/AsyncCreateSpokeLRO.java
index 051c8b96..520b03f4 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/createspoke/AsyncCreateSpokeLRO.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/createspoke/AsyncCreateSpokeLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateSpokeLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       CreateSpokeRequest request =
           CreateSpokeRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/createspoke/SyncCreateSpoke.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/createspoke/SyncCreateSpoke.java
index 9262500d..c21f43d3 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/createspoke/SyncCreateSpoke.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/createspoke/SyncCreateSpoke.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSpoke() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       CreateSpokeRequest request =
           CreateSpokeRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/createspoke/SyncCreateSpokeLocationnameSpokeString.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/createspoke/SyncCreateSpokeLocationnameSpokeString.java
index 9572f31f..5f6b7795 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/createspoke/SyncCreateSpokeLocationnameSpokeString.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/createspoke/SyncCreateSpokeLocationnameSpokeString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSpokeLocationnameSpokeString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       Spoke spoke = Spoke.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/createspoke/SyncCreateSpokeStringSpokeString.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/createspoke/SyncCreateSpokeStringSpokeString.java
index b7a9e696..a6bc33ff 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/createspoke/SyncCreateSpokeStringSpokeString.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/createspoke/SyncCreateSpokeStringSpokeString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSpokeStringSpokeString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       Spoke spoke = Spoke.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/deletehub/AsyncDeleteHub.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/deletehub/AsyncDeleteHub.java
index 77cf7fd3..d6ee581a 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/deletehub/AsyncDeleteHub.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/deletehub/AsyncDeleteHub.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteHub() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       DeleteHubRequest request =
           DeleteHubRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/deletehub/AsyncDeleteHubLRO.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/deletehub/AsyncDeleteHubLRO.java
index 2d564c24..4fbe5876 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/deletehub/AsyncDeleteHubLRO.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/deletehub/AsyncDeleteHubLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteHubLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       DeleteHubRequest request =
           DeleteHubRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/deletehub/SyncDeleteHub.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/deletehub/SyncDeleteHub.java
index 05a90b6d..45faffe5 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/deletehub/SyncDeleteHub.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/deletehub/SyncDeleteHub.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteHub() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       DeleteHubRequest request =
           DeleteHubRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/deletehub/SyncDeleteHubHubname.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/deletehub/SyncDeleteHubHubname.java
index 6ebacdd1..1ed03bec 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/deletehub/SyncDeleteHubHubname.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/deletehub/SyncDeleteHubHubname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteHubHubname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       HubName name = HubName.of("[PROJECT]", "[HUB]");
       hubServiceClient.deleteHubAsync(name).get();
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/deletehub/SyncDeleteHubString.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/deletehub/SyncDeleteHubString.java
index d9cb608d..2a9551ee 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/deletehub/SyncDeleteHubString.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/deletehub/SyncDeleteHubString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteHubString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       String name = HubName.of("[PROJECT]", "[HUB]").toString();
       hubServiceClient.deleteHubAsync(name).get();
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/deletespoke/AsyncDeleteSpoke.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/deletespoke/AsyncDeleteSpoke.java
index db59f9cc..20212b8b 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/deletespoke/AsyncDeleteSpoke.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/deletespoke/AsyncDeleteSpoke.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteSpoke() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       DeleteSpokeRequest request =
           DeleteSpokeRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/deletespoke/AsyncDeleteSpokeLRO.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/deletespoke/AsyncDeleteSpokeLRO.java
index d99e0da1..73c31191 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/deletespoke/AsyncDeleteSpokeLRO.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/deletespoke/AsyncDeleteSpokeLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteSpokeLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       DeleteSpokeRequest request =
           DeleteSpokeRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/deletespoke/SyncDeleteSpoke.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/deletespoke/SyncDeleteSpoke.java
index aec30d43..45186074 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/deletespoke/SyncDeleteSpoke.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/deletespoke/SyncDeleteSpoke.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteSpoke() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       DeleteSpokeRequest request =
           DeleteSpokeRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/deletespoke/SyncDeleteSpokeSpokename.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/deletespoke/SyncDeleteSpokeSpokename.java
index 9fa1415f..370d3d55 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/deletespoke/SyncDeleteSpokeSpokename.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/deletespoke/SyncDeleteSpokeSpokename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteSpokeSpokename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       SpokeName name = SpokeName.of("[PROJECT]", "[LOCATION]", "[SPOKE]");
       hubServiceClient.deleteSpokeAsync(name).get();
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/deletespoke/SyncDeleteSpokeString.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/deletespoke/SyncDeleteSpokeString.java
index 5d181d95..219a79b9 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/deletespoke/SyncDeleteSpokeString.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/deletespoke/SyncDeleteSpokeString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteSpokeString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       String name = SpokeName.of("[PROJECT]", "[LOCATION]", "[SPOKE]").toString();
       hubServiceClient.deleteSpokeAsync(name).get();
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/gethub/AsyncGetHub.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/gethub/AsyncGetHub.java
index 60e2932c..ee682735 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/gethub/AsyncGetHub.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/gethub/AsyncGetHub.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetHub() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       GetHubRequest request =
           GetHubRequest.newBuilder().setName(HubName.of("[PROJECT]", "[HUB]").toString()).build();
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/gethub/SyncGetHub.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/gethub/SyncGetHub.java
index ad933292..9de6ac14 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/gethub/SyncGetHub.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/gethub/SyncGetHub.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetHub() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       GetHubRequest request =
           GetHubRequest.newBuilder().setName(HubName.of("[PROJECT]", "[HUB]").toString()).build();
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/gethub/SyncGetHubHubname.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/gethub/SyncGetHubHubname.java
index 9cf29887..feed66e0 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/gethub/SyncGetHubHubname.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/gethub/SyncGetHubHubname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetHubHubname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       HubName name = HubName.of("[PROJECT]", "[HUB]");
       Hub response = hubServiceClient.getHub(name);
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/gethub/SyncGetHubString.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/gethub/SyncGetHubString.java
index 5d9aae8c..d97b0da0 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/gethub/SyncGetHubString.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/gethub/SyncGetHubString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetHubString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       String name = HubName.of("[PROJECT]", "[HUB]").toString();
       Hub response = hubServiceClient.getHub(name);
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/getspoke/AsyncGetSpoke.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/getspoke/AsyncGetSpoke.java
index 620e4463..c5425a9b 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/getspoke/AsyncGetSpoke.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/getspoke/AsyncGetSpoke.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetSpoke() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       GetSpokeRequest request =
           GetSpokeRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/getspoke/SyncGetSpoke.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/getspoke/SyncGetSpoke.java
index 03832e7e..bf6c6898 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/getspoke/SyncGetSpoke.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/getspoke/SyncGetSpoke.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetSpoke() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       GetSpokeRequest request =
           GetSpokeRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/getspoke/SyncGetSpokeSpokename.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/getspoke/SyncGetSpokeSpokename.java
index d05dca84..a849e75d 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/getspoke/SyncGetSpokeSpokename.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/getspoke/SyncGetSpokeSpokename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetSpokeSpokename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       SpokeName name = SpokeName.of("[PROJECT]", "[LOCATION]", "[SPOKE]");
       Spoke response = hubServiceClient.getSpoke(name);
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/getspoke/SyncGetSpokeString.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/getspoke/SyncGetSpokeString.java
index 8d331c68..6f4a3202 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/getspoke/SyncGetSpokeString.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/getspoke/SyncGetSpokeString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetSpokeString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       String name = SpokeName.of("[PROJECT]", "[LOCATION]", "[SPOKE]").toString();
       Spoke response = hubServiceClient.getSpoke(name);
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/listhubs/AsyncListHubs.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/listhubs/AsyncListHubs.java
index 0211d1b8..b15e467d 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/listhubs/AsyncListHubs.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/listhubs/AsyncListHubs.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListHubs() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       ListHubsRequest request =
           ListHubsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/listhubs/AsyncListHubsPaged.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/listhubs/AsyncListHubsPaged.java
index a3577d4b..bb9969f6 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/listhubs/AsyncListHubsPaged.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/listhubs/AsyncListHubsPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListHubsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       ListHubsRequest request =
           ListHubsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/listhubs/SyncListHubs.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/listhubs/SyncListHubs.java
index 68c02c8b..306ed83f 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/listhubs/SyncListHubs.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/listhubs/SyncListHubs.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListHubs() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       ListHubsRequest request =
           ListHubsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/listhubs/SyncListHubsLocationname.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/listhubs/SyncListHubsLocationname.java
index dbccad6d..b8a017e9 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/listhubs/SyncListHubsLocationname.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/listhubs/SyncListHubsLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListHubsLocationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       for (Hub element : hubServiceClient.listHubs(parent).iterateAll()) {
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/listhubs/SyncListHubsString.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/listhubs/SyncListHubsString.java
index d97c331a..97056f65 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/listhubs/SyncListHubsString.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/listhubs/SyncListHubsString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListHubsString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       for (Hub element : hubServiceClient.listHubs(parent).iterateAll()) {
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/listspokes/AsyncListSpokes.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/listspokes/AsyncListSpokes.java
index 0c3a20c5..6e169543 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/listspokes/AsyncListSpokes.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/listspokes/AsyncListSpokes.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListSpokes() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       ListSpokesRequest request =
           ListSpokesRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/listspokes/AsyncListSpokesPaged.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/listspokes/AsyncListSpokesPaged.java
index 969de725..be51683a 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/listspokes/AsyncListSpokesPaged.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/listspokes/AsyncListSpokesPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListSpokesPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       ListSpokesRequest request =
           ListSpokesRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/listspokes/SyncListSpokes.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/listspokes/SyncListSpokes.java
index 2f923d08..40d92b58 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/listspokes/SyncListSpokes.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/listspokes/SyncListSpokes.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListSpokes() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       ListSpokesRequest request =
           ListSpokesRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/listspokes/SyncListSpokesLocationname.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/listspokes/SyncListSpokesLocationname.java
index 1fd0f919..313d989f 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/listspokes/SyncListSpokesLocationname.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/listspokes/SyncListSpokesLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListSpokesLocationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       for (Spoke element : hubServiceClient.listSpokes(parent).iterateAll()) {
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/listspokes/SyncListSpokesString.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/listspokes/SyncListSpokesString.java
index 0edfee90..1a5f3bb6 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/listspokes/SyncListSpokesString.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/listspokes/SyncListSpokesString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListSpokesString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       for (Spoke element : hubServiceClient.listSpokes(parent).iterateAll()) {
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/updatehub/AsyncUpdateHub.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/updatehub/AsyncUpdateHub.java
index 990cd67f..c5b4b094 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/updatehub/AsyncUpdateHub.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/updatehub/AsyncUpdateHub.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateHub() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       UpdateHubRequest request =
           UpdateHubRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/updatehub/AsyncUpdateHubLRO.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/updatehub/AsyncUpdateHubLRO.java
index 795f3454..4987c0f5 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/updatehub/AsyncUpdateHubLRO.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/updatehub/AsyncUpdateHubLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateHubLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       UpdateHubRequest request =
           UpdateHubRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/updatehub/SyncUpdateHub.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/updatehub/SyncUpdateHub.java
index 7f788f47..304328be 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/updatehub/SyncUpdateHub.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/updatehub/SyncUpdateHub.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateHub() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       UpdateHubRequest request =
           UpdateHubRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/updatehub/SyncUpdateHubHubFieldmask.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/updatehub/SyncUpdateHubHubFieldmask.java
index 01dd40fc..5b2fa0cb 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/updatehub/SyncUpdateHubHubFieldmask.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/updatehub/SyncUpdateHubHubFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateHubHubFieldmask() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       Hub hub = Hub.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/updatespoke/AsyncUpdateSpoke.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/updatespoke/AsyncUpdateSpoke.java
index 7acdbb41..7977f8dc 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/updatespoke/AsyncUpdateSpoke.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/updatespoke/AsyncUpdateSpoke.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateSpoke() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       UpdateSpokeRequest request =
           UpdateSpokeRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/updatespoke/AsyncUpdateSpokeLRO.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/updatespoke/AsyncUpdateSpokeLRO.java
index a6c86b7b..deb3367a 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/updatespoke/AsyncUpdateSpokeLRO.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/updatespoke/AsyncUpdateSpokeLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateSpokeLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       UpdateSpokeRequest request =
           UpdateSpokeRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/updatespoke/SyncUpdateSpoke.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/updatespoke/SyncUpdateSpoke.java
index f928773e..e42c0f1a 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/updatespoke/SyncUpdateSpoke.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/updatespoke/SyncUpdateSpoke.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateSpoke() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       UpdateSpokeRequest request =
           UpdateSpokeRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/updatespoke/SyncUpdateSpokeSpokeFieldmask.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/updatespoke/SyncUpdateSpokeSpokeFieldmask.java
index f58902ae..e319c2e7 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/updatespoke/SyncUpdateSpokeSpokeFieldmask.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/updatespoke/SyncUpdateSpokeSpokeFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateSpokeSpokeFieldmask() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       Spoke spoke = Spoke.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubservicesettings/gethub/SyncGetHub.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubservicesettings/gethub/SyncGetHub.java
index 3f3e1b58..bf744459 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubservicesettings/gethub/SyncGetHub.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubservicesettings/gethub/SyncGetHub.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetHub() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     HubServiceSettings.Builder hubServiceSettingsBuilder = HubServiceSettings.newBuilder();
     hubServiceSettingsBuilder
         .getHubSettings()
         .setRetrySettings(
-            hubServiceSettingsBuilder
-                .getHubSettings()
-                .getRetrySettings()
-                .toBuilder()
+            hubServiceSettingsBuilder.getHubSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     HubServiceSettings hubServiceSettings = hubServiceSettingsBuilder.build();
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/stub/hubservicestubsettings/gethub/SyncGetHub.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/stub/hubservicestubsettings/gethub/SyncGetHub.java
index 44b97354..81120152 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/stub/hubservicestubsettings/gethub/SyncGetHub.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/stub/hubservicestubsettings/gethub/SyncGetHub.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetHub() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     HubServiceStubSettings.Builder hubServiceSettingsBuilder = HubServiceStubSettings.newBuilder();
     hubServiceSettingsBuilder
         .getHubSettings()
         .setRetrySettings(
-            hubServiceSettingsBuilder
-                .getHubSettings()
-                .getRetrySettings()
-                .toBuilder()
+            hubServiceSettingsBuilder.getHubSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     HubServiceStubSettings hubServiceSettings = hubServiceSettingsBuilder.build();
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/create/SyncCreateSetCredentialsProvider.java
index 02788a62..0e1b5fe4 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/create/SyncCreateSetCredentialsProvider.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/create/SyncCreateSetCredentialsProvider.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSetCredentialsProvider() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     HubServiceSettings hubServiceSettings =
         HubServiceSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/create/SyncCreateSetEndpoint.java
index 71396ab4..d3225134 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/create/SyncCreateSetEndpoint.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/create/SyncCreateSetEndpoint.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSetEndpoint() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     HubServiceSettings hubServiceSettings =
         HubServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
     HubServiceClient hubServiceClient = HubServiceClient.create(hubServiceSettings);
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/createhub/AsyncCreateHub.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/createhub/AsyncCreateHub.java
index 6e2b7d34..1cc79b9e 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/createhub/AsyncCreateHub.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/createhub/AsyncCreateHub.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateHub() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       CreateHubRequest request =
           CreateHubRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/createhub/AsyncCreateHubLRO.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/createhub/AsyncCreateHubLRO.java
index 4f015352..8f582759 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/createhub/AsyncCreateHubLRO.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/createhub/AsyncCreateHubLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateHubLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       CreateHubRequest request =
           CreateHubRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/createhub/SyncCreateHub.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/createhub/SyncCreateHub.java
index 0f0cfdb1..21b618b9 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/createhub/SyncCreateHub.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/createhub/SyncCreateHub.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateHub() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       CreateHubRequest request =
           CreateHubRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/createhub/SyncCreateHubLocationnameHubString.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/createhub/SyncCreateHubLocationnameHubString.java
index b85a2e83..2a150571 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/createhub/SyncCreateHubLocationnameHubString.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/createhub/SyncCreateHubLocationnameHubString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateHubLocationnameHubString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       Hub hub = Hub.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/createhub/SyncCreateHubStringHubString.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/createhub/SyncCreateHubStringHubString.java
index f8a9b04b..b1aa014b 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/createhub/SyncCreateHubStringHubString.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/createhub/SyncCreateHubStringHubString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateHubStringHubString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       Hub hub = Hub.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/createspoke/AsyncCreateSpoke.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/createspoke/AsyncCreateSpoke.java
index 3105c5e5..c91af166 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/createspoke/AsyncCreateSpoke.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/createspoke/AsyncCreateSpoke.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateSpoke() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       CreateSpokeRequest request =
           CreateSpokeRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/createspoke/AsyncCreateSpokeLRO.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/createspoke/AsyncCreateSpokeLRO.java
index f67f956b..dd461261 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/createspoke/AsyncCreateSpokeLRO.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/createspoke/AsyncCreateSpokeLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateSpokeLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       CreateSpokeRequest request =
           CreateSpokeRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/createspoke/SyncCreateSpoke.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/createspoke/SyncCreateSpoke.java
index e9892e98..07936cb2 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/createspoke/SyncCreateSpoke.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/createspoke/SyncCreateSpoke.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSpoke() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       CreateSpokeRequest request =
           CreateSpokeRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/createspoke/SyncCreateSpokeLocationnameSpokeString.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/createspoke/SyncCreateSpokeLocationnameSpokeString.java
index 0b7b40da..f18a5fae 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/createspoke/SyncCreateSpokeLocationnameSpokeString.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/createspoke/SyncCreateSpokeLocationnameSpokeString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSpokeLocationnameSpokeString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       Spoke spoke = Spoke.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/createspoke/SyncCreateSpokeStringSpokeString.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/createspoke/SyncCreateSpokeStringSpokeString.java
index c1e2c156..5984477d 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/createspoke/SyncCreateSpokeStringSpokeString.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/createspoke/SyncCreateSpokeStringSpokeString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSpokeStringSpokeString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       Spoke spoke = Spoke.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/deletehub/AsyncDeleteHub.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/deletehub/AsyncDeleteHub.java
index 3e8d5055..3828b5e3 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/deletehub/AsyncDeleteHub.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/deletehub/AsyncDeleteHub.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteHub() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       DeleteHubRequest request =
           DeleteHubRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/deletehub/AsyncDeleteHubLRO.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/deletehub/AsyncDeleteHubLRO.java
index 3bdef483..f34e36ef 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/deletehub/AsyncDeleteHubLRO.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/deletehub/AsyncDeleteHubLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteHubLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       DeleteHubRequest request =
           DeleteHubRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/deletehub/SyncDeleteHub.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/deletehub/SyncDeleteHub.java
index 72c4bba0..e8633a57 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/deletehub/SyncDeleteHub.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/deletehub/SyncDeleteHub.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteHub() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       DeleteHubRequest request =
           DeleteHubRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/deletehub/SyncDeleteHubHubname.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/deletehub/SyncDeleteHubHubname.java
index 263da65c..2cfedfaf 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/deletehub/SyncDeleteHubHubname.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/deletehub/SyncDeleteHubHubname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteHubHubname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       HubName name = HubName.of("[PROJECT]", "[HUB]");
       hubServiceClient.deleteHubAsync(name).get();
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/deletehub/SyncDeleteHubString.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/deletehub/SyncDeleteHubString.java
index c67e0613..e30bae82 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/deletehub/SyncDeleteHubString.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/deletehub/SyncDeleteHubString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteHubString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       String name = HubName.of("[PROJECT]", "[HUB]").toString();
       hubServiceClient.deleteHubAsync(name).get();
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/deletespoke/AsyncDeleteSpoke.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/deletespoke/AsyncDeleteSpoke.java
index 0a2b31d5..dbea0826 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/deletespoke/AsyncDeleteSpoke.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/deletespoke/AsyncDeleteSpoke.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteSpoke() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       DeleteSpokeRequest request =
           DeleteSpokeRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/deletespoke/AsyncDeleteSpokeLRO.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/deletespoke/AsyncDeleteSpokeLRO.java
index e68fe3aa..9c991be6 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/deletespoke/AsyncDeleteSpokeLRO.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/deletespoke/AsyncDeleteSpokeLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteSpokeLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       DeleteSpokeRequest request =
           DeleteSpokeRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/deletespoke/SyncDeleteSpoke.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/deletespoke/SyncDeleteSpoke.java
index 60ef478a..0ab8a379 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/deletespoke/SyncDeleteSpoke.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/deletespoke/SyncDeleteSpoke.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteSpoke() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       DeleteSpokeRequest request =
           DeleteSpokeRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/deletespoke/SyncDeleteSpokeSpokename.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/deletespoke/SyncDeleteSpokeSpokename.java
index 90319586..1e08c0ef 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/deletespoke/SyncDeleteSpokeSpokename.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/deletespoke/SyncDeleteSpokeSpokename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteSpokeSpokename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       SpokeName name = SpokeName.of("[PROJECT]", "[LOCATION]", "[SPOKE]");
       hubServiceClient.deleteSpokeAsync(name).get();
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/deletespoke/SyncDeleteSpokeString.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/deletespoke/SyncDeleteSpokeString.java
index 3ca21840..62240b81 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/deletespoke/SyncDeleteSpokeString.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/deletespoke/SyncDeleteSpokeString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteSpokeString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       String name = SpokeName.of("[PROJECT]", "[LOCATION]", "[SPOKE]").toString();
       hubServiceClient.deleteSpokeAsync(name).get();
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/gethub/AsyncGetHub.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/gethub/AsyncGetHub.java
index 623ae49d..942c6fc2 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/gethub/AsyncGetHub.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/gethub/AsyncGetHub.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetHub() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       GetHubRequest request =
           GetHubRequest.newBuilder().setName(HubName.of("[PROJECT]", "[HUB]").toString()).build();
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/gethub/SyncGetHub.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/gethub/SyncGetHub.java
index e32c1239..083ef9ae 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/gethub/SyncGetHub.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/gethub/SyncGetHub.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetHub() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       GetHubRequest request =
           GetHubRequest.newBuilder().setName(HubName.of("[PROJECT]", "[HUB]").toString()).build();
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/gethub/SyncGetHubHubname.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/gethub/SyncGetHubHubname.java
index 28e89f6f..e2ed1102 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/gethub/SyncGetHubHubname.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/gethub/SyncGetHubHubname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetHubHubname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       HubName name = HubName.of("[PROJECT]", "[HUB]");
       Hub response = hubServiceClient.getHub(name);
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/gethub/SyncGetHubString.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/gethub/SyncGetHubString.java
index f0016ed6..b25dcc37 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/gethub/SyncGetHubString.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/gethub/SyncGetHubString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetHubString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       String name = HubName.of("[PROJECT]", "[HUB]").toString();
       Hub response = hubServiceClient.getHub(name);
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/getspoke/AsyncGetSpoke.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/getspoke/AsyncGetSpoke.java
index 095e30d9..554c0e0f 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/getspoke/AsyncGetSpoke.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/getspoke/AsyncGetSpoke.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetSpoke() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       GetSpokeRequest request =
           GetSpokeRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/getspoke/SyncGetSpoke.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/getspoke/SyncGetSpoke.java
index 39098970..64070ffa 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/getspoke/SyncGetSpoke.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/getspoke/SyncGetSpoke.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetSpoke() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       GetSpokeRequest request =
           GetSpokeRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/getspoke/SyncGetSpokeSpokename.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/getspoke/SyncGetSpokeSpokename.java
index 24c20d58..d2eca005 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/getspoke/SyncGetSpokeSpokename.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/getspoke/SyncGetSpokeSpokename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetSpokeSpokename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       SpokeName name = SpokeName.of("[PROJECT]", "[LOCATION]", "[SPOKE]");
       Spoke response = hubServiceClient.getSpoke(name);
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/getspoke/SyncGetSpokeString.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/getspoke/SyncGetSpokeString.java
index e396a135..54138f77 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/getspoke/SyncGetSpokeString.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/getspoke/SyncGetSpokeString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetSpokeString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       String name = SpokeName.of("[PROJECT]", "[LOCATION]", "[SPOKE]").toString();
       Spoke response = hubServiceClient.getSpoke(name);
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/listhubs/AsyncListHubs.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/listhubs/AsyncListHubs.java
index 64e88473..07478f56 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/listhubs/AsyncListHubs.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/listhubs/AsyncListHubs.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListHubs() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       ListHubsRequest request =
           ListHubsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/listhubs/AsyncListHubsPaged.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/listhubs/AsyncListHubsPaged.java
index a2b6a184..655e499e 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/listhubs/AsyncListHubsPaged.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/listhubs/AsyncListHubsPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListHubsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       ListHubsRequest request =
           ListHubsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/listhubs/SyncListHubs.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/listhubs/SyncListHubs.java
index a74c8ed0..c8755a0f 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/listhubs/SyncListHubs.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/listhubs/SyncListHubs.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListHubs() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       ListHubsRequest request =
           ListHubsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/listhubs/SyncListHubsLocationname.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/listhubs/SyncListHubsLocationname.java
index 6f11aa8c..3a3bd6ec 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/listhubs/SyncListHubsLocationname.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/listhubs/SyncListHubsLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListHubsLocationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       for (Hub element : hubServiceClient.listHubs(parent).iterateAll()) {
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/listhubs/SyncListHubsString.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/listhubs/SyncListHubsString.java
index fddea0d6..c0e5b366 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/listhubs/SyncListHubsString.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/listhubs/SyncListHubsString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListHubsString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       for (Hub element : hubServiceClient.listHubs(parent).iterateAll()) {
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/listspokes/AsyncListSpokes.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/listspokes/AsyncListSpokes.java
index e9bab3fd..b851c97b 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/listspokes/AsyncListSpokes.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/listspokes/AsyncListSpokes.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListSpokes() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       ListSpokesRequest request =
           ListSpokesRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/listspokes/AsyncListSpokesPaged.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/listspokes/AsyncListSpokesPaged.java
index cf62491f..384ea632 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/listspokes/AsyncListSpokesPaged.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/listspokes/AsyncListSpokesPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListSpokesPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       ListSpokesRequest request =
           ListSpokesRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/listspokes/SyncListSpokes.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/listspokes/SyncListSpokes.java
index f1a48606..ad83204f 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/listspokes/SyncListSpokes.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/listspokes/SyncListSpokes.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListSpokes() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       ListSpokesRequest request =
           ListSpokesRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/listspokes/SyncListSpokesLocationname.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/listspokes/SyncListSpokesLocationname.java
index c248998b..94c61efd 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/listspokes/SyncListSpokesLocationname.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/listspokes/SyncListSpokesLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListSpokesLocationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       for (Spoke element : hubServiceClient.listSpokes(parent).iterateAll()) {
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/listspokes/SyncListSpokesString.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/listspokes/SyncListSpokesString.java
index a0b5f2f3..59cce52a 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/listspokes/SyncListSpokesString.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/listspokes/SyncListSpokesString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListSpokesString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       for (Spoke element : hubServiceClient.listSpokes(parent).iterateAll()) {
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/updatehub/AsyncUpdateHub.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/updatehub/AsyncUpdateHub.java
index 6376e418..f167a3a2 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/updatehub/AsyncUpdateHub.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/updatehub/AsyncUpdateHub.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateHub() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       UpdateHubRequest request =
           UpdateHubRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/updatehub/AsyncUpdateHubLRO.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/updatehub/AsyncUpdateHubLRO.java
index 860fa82f..b2fe33e4 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/updatehub/AsyncUpdateHubLRO.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/updatehub/AsyncUpdateHubLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateHubLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       UpdateHubRequest request =
           UpdateHubRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/updatehub/SyncUpdateHub.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/updatehub/SyncUpdateHub.java
index 89bb0164..bb990e25 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/updatehub/SyncUpdateHub.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/updatehub/SyncUpdateHub.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateHub() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       UpdateHubRequest request =
           UpdateHubRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/updatehub/SyncUpdateHubHubFieldmask.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/updatehub/SyncUpdateHubHubFieldmask.java
index 5e8021d3..ec278674 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/updatehub/SyncUpdateHubHubFieldmask.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/updatehub/SyncUpdateHubHubFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateHubHubFieldmask() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       Hub hub = Hub.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/updatespoke/AsyncUpdateSpoke.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/updatespoke/AsyncUpdateSpoke.java
index c87a1dfb..a660a891 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/updatespoke/AsyncUpdateSpoke.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/updatespoke/AsyncUpdateSpoke.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateSpoke() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       UpdateSpokeRequest request =
           UpdateSpokeRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/updatespoke/AsyncUpdateSpokeLRO.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/updatespoke/AsyncUpdateSpokeLRO.java
index fb779239..e21ffbae 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/updatespoke/AsyncUpdateSpokeLRO.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/updatespoke/AsyncUpdateSpokeLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateSpokeLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       UpdateSpokeRequest request =
           UpdateSpokeRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/updatespoke/SyncUpdateSpoke.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/updatespoke/SyncUpdateSpoke.java
index 6f73e417..f0307a99 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/updatespoke/SyncUpdateSpoke.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/updatespoke/SyncUpdateSpoke.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateSpoke() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       UpdateSpokeRequest request =
           UpdateSpokeRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/updatespoke/SyncUpdateSpokeSpokeFieldmask.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/updatespoke/SyncUpdateSpokeSpokeFieldmask.java
index e8d03127..d931f1df 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/updatespoke/SyncUpdateSpokeSpokeFieldmask.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubserviceclient/updatespoke/SyncUpdateSpokeSpokeFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateSpokeSpokeFieldmask() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
       Spoke spoke = Spoke.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubservicesettings/gethub/SyncGetHub.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubservicesettings/gethub/SyncGetHub.java
index 1a609680..7d8e06a0 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubservicesettings/gethub/SyncGetHub.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/hubservicesettings/gethub/SyncGetHub.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetHub() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     HubServiceSettings.Builder hubServiceSettingsBuilder = HubServiceSettings.newBuilder();
     hubServiceSettingsBuilder
         .getHubSettings()
         .setRetrySettings(
-            hubServiceSettingsBuilder
-                .getHubSettings()
-                .getRetrySettings()
-                .toBuilder()
+            hubServiceSettingsBuilder.getHubSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     HubServiceSettings hubServiceSettings = hubServiceSettingsBuilder.build();
diff --git a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/stub/hubservicestubsettings/gethub/SyncGetHub.java b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/stub/hubservicestubsettings/gethub/SyncGetHub.java
index 09d608b4..7e054f5d 100644
--- a/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/stub/hubservicestubsettings/gethub/SyncGetHub.java
+++ b/samples/snippets/generated/com/google/cloud/networkconnectivity/v1alpha1/stub/hubservicestubsettings/gethub/SyncGetHub.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetHub() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     HubServiceStubSettings.Builder hubServiceSettingsBuilder = HubServiceStubSettings.newBuilder();
     hubServiceSettingsBuilder
         .getHubSettings()
         .setRetrySettings(
-            hubServiceSettingsBuilder
-                .getHubSettings()
-                .getRetrySettings()
-                .toBuilder()
+            hubServiceSettingsBuilder.getHubSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     HubServiceStubSettings hubServiceSettings = hubServiceSettingsBuilder.build();

From 90faa73359027547537aef8f58d4c3be31c9fa54 Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate 
Date: Thu, 8 Sep 2022 22:56:14 +0200
Subject: [PATCH 7/8] deps: update dependency
 com.google.cloud:google-cloud-shared-dependencies to v3.0.2 (#286)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | `3.0.1` -> `3.0.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.2/compatibility-slim/3.0.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.2/confidence-slim/3.0.1)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

googleapis/java-shared-dependencies ### [`v3.0.2`](https://togithub.com/googleapis/java-shared-dependencies/blob/HEAD/CHANGELOG.md#​302-httpsgithubcomgoogleapisjava-shared-dependenciescomparev301v302-2022-09-08) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v3.0.1...v3.0.2) ##### Dependencies - Update dependency com.fasterxml.jackson:jackson-bom to v2.13.4 ([#​789](https://togithub.com/googleapis/java-shared-dependencies/issues/789)) ([6cf91a9](https://togithub.com/googleapis/java-shared-dependencies/commit/6cf91a96b9ea6af0fb845b50582dac7aa2892cab)) - Update dependency com.google.auth:google-auth-library-bom to v1.10.0 ([#​781](https://togithub.com/googleapis/java-shared-dependencies/issues/781)) ([8859e61](https://togithub.com/googleapis/java-shared-dependencies/commit/8859e61808bfc5cd9546e27e945fc855b36d2554)) - Update dependency com.google.auth:google-auth-library-bom to v1.11.0 ([#​790](https://togithub.com/googleapis/java-shared-dependencies/issues/790)) ([3431a47](https://togithub.com/googleapis/java-shared-dependencies/commit/3431a471cbf874a67a4f1a42e31f0ed891dedc92)) - Update dependency com.google.auth:google-auth-library-bom to v1.9.0 ([#​773](https://togithub.com/googleapis/java-shared-dependencies/issues/773)) ([27fc79f](https://togithub.com/googleapis/java-shared-dependencies/commit/27fc79f00ee70011df6a368bb8fcfad7f0ce41f0)) - Update dependency com.google.errorprone:error_prone_annotations to v2.15.0 ([#​776](https://togithub.com/googleapis/java-shared-dependencies/issues/776)) ([bf333b8](https://togithub.com/googleapis/java-shared-dependencies/commit/bf333b8c88072d21cb959db4d3328bbb55d9ef5c)) - Update dependency com.google.protobuf:protobuf-bom to v3.21.5 ([#​780](https://togithub.com/googleapis/java-shared-dependencies/issues/780)) ([da7f44d](https://togithub.com/googleapis/java-shared-dependencies/commit/da7f44d71d6d7f372b5313dab68ce220308614d4)) - Update dependency io.grpc:grpc-bom to v1.48.1 ([#​768](https://togithub.com/googleapis/java-shared-dependencies/issues/768)) ([5c7768d](https://togithub.com/googleapis/java-shared-dependencies/commit/5c7768d3c9665dd356de6c39c0a6a5fa6e992f2e)) - Update dependency io.grpc:grpc-bom to v1.49.0 ([#​786](https://togithub.com/googleapis/java-shared-dependencies/issues/786)) ([8734812](https://togithub.com/googleapis/java-shared-dependencies/commit/8734812f1b4e2faaa48caf41eff59a85892ae344)) - Update dependency org.checkerframework:checker-qual to v3.24.0 ([#​775](https://togithub.com/googleapis/java-shared-dependencies/issues/775)) ([df74b7b](https://togithub.com/googleapis/java-shared-dependencies/commit/df74b7b0dd5dd592523f302d9fb36adb5991cb0b)) - Update dependency org.checkerframework:checker-qual to v3.25.0 ([#​788](https://togithub.com/googleapis/java-shared-dependencies/issues/788)) ([207035b](https://togithub.com/googleapis/java-shared-dependencies/commit/207035bd04c9305899eea540acbefaf06a7b1ec9)) - Update dependency org.threeten:threetenbp to v1.6.1 ([#​782](https://togithub.com/googleapis/java-shared-dependencies/issues/782)) ([0f218ae](https://togithub.com/googleapis/java-shared-dependencies/commit/0f218aeb6aa33cf1da4a8b1d6c82bbf87946dab9)) - Update gax.version to v2.19.0 ([#​785](https://togithub.com/googleapis/java-shared-dependencies/issues/785)) ([4448331](https://togithub.com/googleapis/java-shared-dependencies/commit/4448331c4c6d88ea8076260776d1d47d24aa19fa)) - Update google.core.version to v2.8.10 ([#​787](https://togithub.com/googleapis/java-shared-dependencies/issues/787)) ([3c344d5](https://togithub.com/googleapis/java-shared-dependencies/commit/3c344d515e3b9215db5a1f8ef550d800d974e558)) - Update google.core.version to v2.8.7 ([#​774](https://togithub.com/googleapis/java-shared-dependencies/issues/774)) ([d0cd5e8](https://togithub.com/googleapis/java-shared-dependencies/commit/d0cd5e8f6ca88787fe0dbf7f30c849cb4c4fae5e)) - Update google.core.version to v2.8.8 ([#​777](https://togithub.com/googleapis/java-shared-dependencies/issues/777)) ([f00571c](https://togithub.com/googleapis/java-shared-dependencies/commit/f00571cd1e9f1c4e011fba4a1e1674c1d8d60200)) - Update google.core.version to v2.8.9 ([#​784](https://togithub.com/googleapis/java-shared-dependencies/issues/784)) ([aa8e505](https://togithub.com/googleapis/java-shared-dependencies/commit/aa8e505dbb1214b2239e55d5ac83b00c167d77e4))
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - 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 [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). 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 0be4ced8..c0c4f021 100644 --- a/pom.xml +++ b/pom.xml @@ -87,7 +87,7 @@ com.google.cloud google-cloud-shared-dependencies - 3.0.1 + 3.0.2 pom import From 673b87669edd1cb1c80de13e66a1c9eeb47d32c7 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 8 Sep 2022 21:26:15 +0000 Subject: [PATCH 8/8] chore(main): release 1.2.4 (#287) :robot: I have created a release *beep* *boop* --- ## [1.2.4](https://github.com/googleapis/java-networkconnectivity/compare/v1.2.3...v1.2.4) (2022-09-08) ### Dependencies * Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.2 ([#286](https://github.com/googleapis/java-networkconnectivity/issues/286)) ([90faa73](https://github.com/googleapis/java-networkconnectivity/commit/90faa73359027547537aef8f58d4c3be31c9fa54)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- CHANGELOG.md | 7 +++++++ 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, 34 insertions(+), 27 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5ec662af..e3a1df2f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [1.2.4](https://github.com/googleapis/java-networkconnectivity/compare/v1.2.3...v1.2.4) (2022-09-08) + + +### Dependencies + +* Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.2 ([#286](https://github.com/googleapis/java-networkconnectivity/issues/286)) ([90faa73](https://github.com/googleapis/java-networkconnectivity/commit/90faa73359027547537aef8f58d4c3be31c9fa54)) + ## [1.2.3](https://github.com/googleapis/java-networkconnectivity/compare/v1.2.2...v1.2.3) (2022-08-09) diff --git a/google-cloud-networkconnectivity-bom/pom.xml b/google-cloud-networkconnectivity-bom/pom.xml index 80c1a432..5c77a0a8 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.2.4-SNAPSHOT + 1.2.4 pom com.google.cloud @@ -56,27 +56,27 @@ com.google.cloud google-cloud-networkconnectivity - 1.2.4-SNAPSHOT + 1.2.4 com.google.api.grpc grpc-google-cloud-networkconnectivity-v1alpha1 - 0.8.4-SNAPSHOT + 0.8.4 com.google.api.grpc grpc-google-cloud-networkconnectivity-v1 - 1.2.4-SNAPSHOT + 1.2.4 com.google.api.grpc proto-google-cloud-networkconnectivity-v1alpha1 - 0.8.4-SNAPSHOT + 0.8.4 com.google.api.grpc proto-google-cloud-networkconnectivity-v1 - 1.2.4-SNAPSHOT + 1.2.4 diff --git a/google-cloud-networkconnectivity/pom.xml b/google-cloud-networkconnectivity/pom.xml index bc0450e1..4bc3325e 100644 --- a/google-cloud-networkconnectivity/pom.xml +++ b/google-cloud-networkconnectivity/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-networkconnectivity - 1.2.4-SNAPSHOT + 1.2.4 jar Google Network Connectivity Center https://github.com/googleapis/java-networkconnectivity @@ -11,7 +11,7 @@ com.google.cloud google-cloud-networkconnectivity-parent - 1.2.4-SNAPSHOT + 1.2.4 google-cloud-networkconnectivity diff --git a/grpc-google-cloud-networkconnectivity-v1/pom.xml b/grpc-google-cloud-networkconnectivity-v1/pom.xml index afef31b7..2c7d25c3 100644 --- a/grpc-google-cloud-networkconnectivity-v1/pom.xml +++ b/grpc-google-cloud-networkconnectivity-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-networkconnectivity-v1 - 1.2.4-SNAPSHOT + 1.2.4 grpc-google-cloud-networkconnectivity-v1 GRPC library for google-cloud-networkconnectivity com.google.cloud google-cloud-networkconnectivity-parent - 1.2.4-SNAPSHOT + 1.2.4 diff --git a/grpc-google-cloud-networkconnectivity-v1alpha1/pom.xml b/grpc-google-cloud-networkconnectivity-v1alpha1/pom.xml index 222ede82..75e1d519 100644 --- a/grpc-google-cloud-networkconnectivity-v1alpha1/pom.xml +++ b/grpc-google-cloud-networkconnectivity-v1alpha1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-networkconnectivity-v1alpha1 - 0.8.4-SNAPSHOT + 0.8.4 grpc-google-cloud-networkconnectivity-v1alpha1 GRPC library for google-cloud-networkconnectivity com.google.cloud google-cloud-networkconnectivity-parent - 1.2.4-SNAPSHOT + 1.2.4 diff --git a/pom.xml b/pom.xml index c0c4f021..1c0d9466 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-networkconnectivity-parent pom - 1.2.4-SNAPSHOT + 1.2.4 Google Network Connectivity Center Parent https://github.com/googleapis/java- @@ -61,27 +61,27 @@ com.google.cloud google-cloud-networkconnectivity - 1.2.4-SNAPSHOT + 1.2.4 com.google.api.grpc proto-google-cloud-networkconnectivity-v1 - 1.2.4-SNAPSHOT + 1.2.4 com.google.api.grpc grpc-google-cloud-networkconnectivity-v1 - 1.2.4-SNAPSHOT + 1.2.4 com.google.api.grpc proto-google-cloud-networkconnectivity-v1alpha1 - 0.8.4-SNAPSHOT + 0.8.4 com.google.api.grpc grpc-google-cloud-networkconnectivity-v1alpha1 - 0.8.4-SNAPSHOT + 0.8.4 diff --git a/proto-google-cloud-networkconnectivity-v1/pom.xml b/proto-google-cloud-networkconnectivity-v1/pom.xml index dfbebe3f..0755b2c3 100644 --- a/proto-google-cloud-networkconnectivity-v1/pom.xml +++ b/proto-google-cloud-networkconnectivity-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-networkconnectivity-v1 - 1.2.4-SNAPSHOT + 1.2.4 proto-google-cloud-networkconnectivity-v1 Proto library for google-cloud-networkconnectivity com.google.cloud google-cloud-networkconnectivity-parent - 1.2.4-SNAPSHOT + 1.2.4 diff --git a/proto-google-cloud-networkconnectivity-v1alpha1/pom.xml b/proto-google-cloud-networkconnectivity-v1alpha1/pom.xml index 3f42873e..3677ca3a 100644 --- a/proto-google-cloud-networkconnectivity-v1alpha1/pom.xml +++ b/proto-google-cloud-networkconnectivity-v1alpha1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-networkconnectivity-v1alpha1 - 0.8.4-SNAPSHOT + 0.8.4 proto-google-cloud-networkconnectivity-v1alpha1 Proto library for google-cloud-networkconnectivity com.google.cloud google-cloud-networkconnectivity-parent - 1.2.4-SNAPSHOT + 1.2.4 diff --git a/versions.txt b/versions.txt index 2ddc70bb..df58be0a 100644 --- a/versions.txt +++ b/versions.txt @@ -1,8 +1,8 @@ # Format: # module:released-version:current-version -google-cloud-networkconnectivity:1.2.3:1.2.4-SNAPSHOT -grpc-google-cloud-networkconnectivity-v1alpha1:0.8.3:0.8.4-SNAPSHOT -grpc-google-cloud-networkconnectivity-v1:1.2.3:1.2.4-SNAPSHOT -proto-google-cloud-networkconnectivity-v1alpha1:0.8.3:0.8.4-SNAPSHOT -proto-google-cloud-networkconnectivity-v1:1.2.3:1.2.4-SNAPSHOT +google-cloud-networkconnectivity:1.2.4:1.2.4 +grpc-google-cloud-networkconnectivity-v1alpha1:0.8.4:0.8.4 +grpc-google-cloud-networkconnectivity-v1:1.2.4:1.2.4 +proto-google-cloud-networkconnectivity-v1alpha1:0.8.4:0.8.4 +proto-google-cloud-networkconnectivity-v1:1.2.4:1.2.4