From 2b8e131985f428b5c21127f008d75a0b3e0bc5a5 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 9 Sep 2022 17:26:18 +0200 Subject: [PATCH 1/6] chore(deps): update dependency com.google.cloud:google-cloud-memcache to v2.3.3 (#674) 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-memcache](https://togithub.com/googleapis/java-memcache) | `2.3.2` -> `2.3.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-memcache/2.3.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-memcache/2.3.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-memcache/2.3.3/compatibility-slim/2.3.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-memcache/2.3.3/confidence-slim/2.3.2)](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-memcache). --- README.md | 6 +++--- samples/install-without-bom/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 44a2ef12..0b29c471 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ If you are using Maven without BOM, add this to your dependencies: com.google.cloud google-cloud-memcache - 2.3.2 + 2.3.3 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-memcache' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-memcache:2.3.2' +implementation 'com.google.cloud:google-cloud-memcache:2.3.3' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-memcache" % "2.3.2" +libraryDependencies += "com.google.cloud" % "google-cloud-memcache" % "2.3.3" ``` ## Authentication diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index 503880f7..b04959d1 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -29,7 +29,7 @@ com.google.cloud google-cloud-memcache - 2.3.2 + 2.3.3 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index ea7651be..457c6e70 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-memcache - 2.3.2 + 2.3.3 From ea74dd23c2b51ea689a96ea5d0a1a73ec10e97cd Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 9 Sep 2022 15:38:27 +0000 Subject: [PATCH 2/6] chore(main): release 2.3.4-SNAPSHOT (#673) :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-memcache-bom/pom.xml | 12 ++++++------ google-cloud-memcache/pom.xml | 4 ++-- grpc-google-cloud-memcache-v1/pom.xml | 4 ++-- grpc-google-cloud-memcache-v1beta2/pom.xml | 4 ++-- pom.xml | 12 ++++++------ proto-google-cloud-memcache-v1/pom.xml | 4 ++-- proto-google-cloud-memcache-v1beta2/pom.xml | 4 ++-- versions.txt | 10 +++++----- 8 files changed, 27 insertions(+), 27 deletions(-) diff --git a/google-cloud-memcache-bom/pom.xml b/google-cloud-memcache-bom/pom.xml index d0875a07..0bef8cfe 100644 --- a/google-cloud-memcache-bom/pom.xml +++ b/google-cloud-memcache-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-memcache-bom - 2.3.3 + 2.3.4-SNAPSHOT pom com.google.cloud @@ -56,27 +56,27 @@ com.google.cloud google-cloud-memcache - 2.3.3 + 2.3.4-SNAPSHOT com.google.api.grpc grpc-google-cloud-memcache-v1beta2 - 0.10.3 + 0.10.4-SNAPSHOT com.google.api.grpc grpc-google-cloud-memcache-v1 - 2.3.3 + 2.3.4-SNAPSHOT com.google.api.grpc proto-google-cloud-memcache-v1beta2 - 0.10.3 + 0.10.4-SNAPSHOT com.google.api.grpc proto-google-cloud-memcache-v1 - 2.3.3 + 2.3.4-SNAPSHOT diff --git a/google-cloud-memcache/pom.xml b/google-cloud-memcache/pom.xml index 8e3091a7..505ffc7e 100644 --- a/google-cloud-memcache/pom.xml +++ b/google-cloud-memcache/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-memcache - 2.3.3 + 2.3.4-SNAPSHOT jar Google Cloud Memcache https://github.com/googleapis/java-memcache @@ -11,7 +11,7 @@ com.google.cloud google-cloud-memcache-parent - 2.3.3 + 2.3.4-SNAPSHOT google-cloud-memcache diff --git a/grpc-google-cloud-memcache-v1/pom.xml b/grpc-google-cloud-memcache-v1/pom.xml index f3cd5b98..0054cb96 100644 --- a/grpc-google-cloud-memcache-v1/pom.xml +++ b/grpc-google-cloud-memcache-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-memcache-v1 - 2.3.3 + 2.3.4-SNAPSHOT grpc-google-cloud-memcache-v1 GRPC library for grpc-google-cloud-memcache-v1 com.google.cloud google-cloud-memcache-parent - 2.3.3 + 2.3.4-SNAPSHOT diff --git a/grpc-google-cloud-memcache-v1beta2/pom.xml b/grpc-google-cloud-memcache-v1beta2/pom.xml index 1e7e0bf7..3688fea7 100644 --- a/grpc-google-cloud-memcache-v1beta2/pom.xml +++ b/grpc-google-cloud-memcache-v1beta2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-memcache-v1beta2 - 0.10.3 + 0.10.4-SNAPSHOT grpc-google-cloud-memcache-v1beta2 GRPC library for grpc-google-cloud-memcache-v1beta2 com.google.cloud google-cloud-memcache-parent - 2.3.3 + 2.3.4-SNAPSHOT diff --git a/pom.xml b/pom.xml index 36c0566a..6382437a 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-memcache-parent pom - 2.3.3 + 2.3.4-SNAPSHOT Google Cloud Memcache Parent https://github.com/googleapis/java-memcache @@ -61,27 +61,27 @@ com.google.api.grpc proto-google-cloud-memcache-v1beta2 - 0.10.3 + 0.10.4-SNAPSHOT com.google.api.grpc grpc-google-cloud-memcache-v1beta2 - 0.10.3 + 0.10.4-SNAPSHOT com.google.api.grpc proto-google-cloud-memcache-v1 - 2.3.3 + 2.3.4-SNAPSHOT com.google.api.grpc grpc-google-cloud-memcache-v1 - 2.3.3 + 2.3.4-SNAPSHOT com.google.cloud google-cloud-memcache - 2.3.3 + 2.3.4-SNAPSHOT diff --git a/proto-google-cloud-memcache-v1/pom.xml b/proto-google-cloud-memcache-v1/pom.xml index 0806717e..81f15146 100644 --- a/proto-google-cloud-memcache-v1/pom.xml +++ b/proto-google-cloud-memcache-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-memcache-v1 - 2.3.3 + 2.3.4-SNAPSHOT proto-google-cloud-memcache-v1 PROTO library for proto-google-cloud-memcache-v1 com.google.cloud google-cloud-memcache-parent - 2.3.3 + 2.3.4-SNAPSHOT diff --git a/proto-google-cloud-memcache-v1beta2/pom.xml b/proto-google-cloud-memcache-v1beta2/pom.xml index fa853673..c212b36e 100644 --- a/proto-google-cloud-memcache-v1beta2/pom.xml +++ b/proto-google-cloud-memcache-v1beta2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-memcache-v1beta2 - 0.10.3 + 0.10.4-SNAPSHOT proto-google-cloud-memcache-v1beta2 PROTO library for proto-google-cloud-memcache-v1beta2 com.google.cloud google-cloud-memcache-parent - 2.3.3 + 2.3.4-SNAPSHOT diff --git a/versions.txt b/versions.txt index ae5f2911..64b205ff 100644 --- a/versions.txt +++ b/versions.txt @@ -1,8 +1,8 @@ # Format: # module:released-version:current-version -google-cloud-memcache:2.3.3:2.3.3 -grpc-google-cloud-memcache-v1beta2:0.10.3:0.10.3 -grpc-google-cloud-memcache-v1:2.3.3:2.3.3 -proto-google-cloud-memcache-v1beta2:0.10.3:0.10.3 -proto-google-cloud-memcache-v1:2.3.3:2.3.3 +google-cloud-memcache:2.3.3:2.3.4-SNAPSHOT +grpc-google-cloud-memcache-v1beta2:0.10.3:0.10.4-SNAPSHOT +grpc-google-cloud-memcache-v1:2.3.3:2.3.4-SNAPSHOT +proto-google-cloud-memcache-v1beta2:0.10.3:0.10.4-SNAPSHOT +proto-google-cloud-memcache-v1:2.3.3:2.3.4-SNAPSHOT From 50dfdd33aa7bfe77390d8cfc119627aad7d78907 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Fri, 9 Sep 2022 16:24:25 +0000 Subject: [PATCH 3/6] chore(bazel): Update WORKSPACE files for rules_gapic, gax_java, generator_java versions (#670) - [ ] 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 --- .../memcache/v1/CloudMemcacheClient.java | 259 ++++++++++----- .../memcache/v1/CloudMemcacheSettings.java | 12 +- .../cloud/memcache/v1/package-info.java | 7 +- .../v1/stub/CloudMemcacheStubSettings.java | 12 +- .../v1/stub/HttpJsonCloudMemcacheStub.java | 8 +- .../memcache/v1beta2/CloudMemcacheClient.java | 294 +++++++++++++----- .../v1beta2/CloudMemcacheSettings.java | 12 +- .../cloud/memcache/v1beta2/package-info.java | 7 +- .../stub/CloudMemcacheStubSettings.java | 12 +- .../stub/HttpJsonCloudMemcacheStub.java | 10 +- .../applyparameters/AsyncApplyParameters.java | 7 +- .../AsyncApplyParametersLRO.java | 7 +- .../applyparameters/SyncApplyParameters.java | 7 +- ...rametersInstancenameListstringBoolean.java | 7 +- ...pplyParametersStringListstringBoolean.java | 7 +- .../SyncCreateSetCredentialsProvider.java | 7 +- .../SyncCreateSetCredentialsProvider1.java | 7 +- .../create/SyncCreateSetEndpoint.java | 7 +- .../createinstance/AsyncCreateInstance.java | 7 +- .../AsyncCreateInstanceLRO.java | 7 +- .../createinstance/SyncCreateInstance.java | 7 +- ...ateInstanceLocationnameInstanceString.java | 7 +- ...yncCreateInstanceStringInstanceString.java | 7 +- .../deleteinstance/AsyncDeleteInstance.java | 7 +- .../AsyncDeleteInstanceLRO.java | 7 +- .../deleteinstance/SyncDeleteInstance.java | 7 +- .../SyncDeleteInstanceInstancename.java | 7 +- .../SyncDeleteInstanceString.java | 7 +- .../getinstance/AsyncGetInstance.java | 7 +- .../getinstance/SyncGetInstance.java | 7 +- .../SyncGetInstanceInstancename.java | 7 +- .../getinstance/SyncGetInstanceString.java | 7 +- .../listinstances/AsyncListInstances.java | 7 +- .../AsyncListInstancesPaged.java | 7 +- .../listinstances/SyncListInstances.java | 7 +- .../SyncListInstancesLocationname.java | 7 +- .../SyncListInstancesString.java | 7 +- .../updateinstance/AsyncUpdateInstance.java | 7 +- .../AsyncUpdateInstanceLRO.java | 7 +- .../updateinstance/SyncUpdateInstance.java | 7 +- .../SyncUpdateInstanceInstanceFieldmask.java | 7 +- .../AsyncUpdateParameters.java | 7 +- .../AsyncUpdateParametersLRO.java | 7 +- .../SyncUpdateParameters.java | 7 +- ...stancenameFieldmaskMemcacheparameters.java | 7 +- ...tersStringFieldmaskMemcacheparameters.java | 7 +- .../getinstance/SyncGetInstance.java | 12 +- .../getinstance/SyncGetInstance.java | 12 +- .../applyparameters/AsyncApplyParameters.java | 7 +- .../AsyncApplyParametersLRO.java | 7 +- .../applyparameters/SyncApplyParameters.java | 7 +- ...rametersInstancenameListstringBoolean.java | 7 +- ...pplyParametersStringListstringBoolean.java | 7 +- .../AsyncApplySoftwareUpdate.java | 7 +- .../AsyncApplySoftwareUpdateLRO.java | 7 +- .../SyncApplySoftwareUpdate.java | 7 +- ...reUpdateInstancenameListstringBoolean.java | 7 +- ...SoftwareUpdateStringListstringBoolean.java | 7 +- .../SyncCreateSetCredentialsProvider.java | 7 +- .../SyncCreateSetCredentialsProvider1.java | 7 +- .../create/SyncCreateSetEndpoint.java | 7 +- .../createinstance/AsyncCreateInstance.java | 7 +- .../AsyncCreateInstanceLRO.java | 7 +- .../createinstance/SyncCreateInstance.java | 7 +- ...ateInstanceLocationnameStringInstance.java | 7 +- ...yncCreateInstanceStringStringInstance.java | 7 +- .../deleteinstance/AsyncDeleteInstance.java | 7 +- .../AsyncDeleteInstanceLRO.java | 7 +- .../deleteinstance/SyncDeleteInstance.java | 7 +- .../SyncDeleteInstanceInstancename.java | 7 +- .../SyncDeleteInstanceString.java | 7 +- .../getinstance/AsyncGetInstance.java | 7 +- .../getinstance/SyncGetInstance.java | 7 +- .../SyncGetInstanceInstancename.java | 7 +- .../getinstance/SyncGetInstanceString.java | 7 +- .../listinstances/AsyncListInstances.java | 7 +- .../AsyncListInstancesPaged.java | 7 +- .../listinstances/SyncListInstances.java | 7 +- .../SyncListInstancesLocationname.java | 7 +- .../SyncListInstancesString.java | 7 +- .../updateinstance/AsyncUpdateInstance.java | 7 +- .../AsyncUpdateInstanceLRO.java | 7 +- .../updateinstance/SyncUpdateInstance.java | 7 +- .../SyncUpdateInstanceFieldmaskInstance.java | 7 +- .../AsyncUpdateParameters.java | 7 +- .../AsyncUpdateParametersLRO.java | 7 +- .../SyncUpdateParameters.java | 7 +- ...stancenameFieldmaskMemcacheparameters.java | 7 +- ...tersStringFieldmaskMemcacheparameters.java | 7 +- .../getinstance/SyncGetInstance.java | 12 +- .../getinstance/SyncGetInstance.java | 12 +- 91 files changed, 847 insertions(+), 373 deletions(-) diff --git a/google-cloud-memcache/src/main/java/com/google/cloud/memcache/v1/CloudMemcacheClient.java b/google-cloud-memcache/src/main/java/com/google/cloud/memcache/v1/CloudMemcacheClient.java index 5738f74e..22a0f3e5 100644 --- a/google-cloud-memcache/src/main/java/com/google/cloud/memcache/v1/CloudMemcacheClient.java +++ b/google-cloud-memcache/src/main/java/com/google/cloud/memcache/v1/CloudMemcacheClient.java @@ -65,8 +65,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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
  *   InstanceName name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
  *   Instance response = cloudMemcacheClient.getInstance(name);
@@ -102,8 +105,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
  * CloudMemcacheSettings cloudMemcacheSettings =
  *     CloudMemcacheSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -114,8 +120,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
  * CloudMemcacheSettings cloudMemcacheSettings =
  *     CloudMemcacheSettings.newBuilder().setEndpoint(myEndpoint).build();
  * CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create(cloudMemcacheSettings);
@@ -125,8 +134,11 @@
  * the wire:
  *
  * 
{@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
  * CloudMemcacheSettings cloudMemcacheSettings =
  *     CloudMemcacheSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -219,8 +231,11 @@ public final OperationsClient getHttpJsonOperationsClient() {
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (Instance element : cloudMemcacheClient.listInstances(parent).iterateAll()) {
@@ -248,8 +263,11 @@ public final ListInstancesPagedResponse listInstances(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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   for (Instance element : cloudMemcacheClient.listInstances(parent).iterateAll()) {
@@ -274,8 +292,11 @@ public final ListInstancesPagedResponse listInstances(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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   ListInstancesRequest request =
    *       ListInstancesRequest.newBuilder()
@@ -305,8 +326,11 @@ public final ListInstancesPagedResponse listInstances(ListInstancesRequest reque
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   ListInstancesRequest request =
    *       ListInstancesRequest.newBuilder()
@@ -337,8 +361,11 @@ public final ListInstancesPagedResponse listInstances(ListInstancesRequest reque
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   ListInstancesRequest request =
    *       ListInstancesRequest.newBuilder()
@@ -374,8 +401,11 @@ public final UnaryCallable listInst
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   InstanceName name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
    *   Instance response = cloudMemcacheClient.getInstance(name);
@@ -400,8 +430,11 @@ public final Instance getInstance(InstanceName 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   String name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString();
    *   Instance response = cloudMemcacheClient.getInstance(name);
@@ -425,8 +458,11 @@ public final Instance getInstance(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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   GetInstanceRequest request =
    *       GetInstanceRequest.newBuilder()
@@ -450,8 +486,11 @@ public final Instance getInstance(GetInstanceRequest 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   GetInstanceRequest request =
    *       GetInstanceRequest.newBuilder()
@@ -474,8 +513,11 @@ public final UnaryCallable getInstanceCallable() {
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   Instance instance = Instance.newBuilder().build();
@@ -518,8 +560,11 @@ public final OperationFuture createInstanceAsync(
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   Instance instance = Instance.newBuilder().build();
@@ -562,8 +607,11 @@ public final OperationFuture createInstanceAsync(
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   CreateInstanceRequest request =
    *       CreateInstanceRequest.newBuilder()
@@ -590,8 +638,11 @@ public final OperationFuture createInstanceAsync(
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   CreateInstanceRequest request =
    *       CreateInstanceRequest.newBuilder()
@@ -618,8 +669,11 @@ public final OperationFuture createInstanceAsync(
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   CreateInstanceRequest request =
    *       CreateInstanceRequest.newBuilder()
@@ -645,8 +699,11 @@ public final UnaryCallable createInstanceCalla
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   Instance instance = Instance.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -673,8 +730,11 @@ public final OperationFuture updateInstanceAsync(
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   UpdateInstanceRequest request =
    *       UpdateInstanceRequest.newBuilder()
@@ -700,8 +760,11 @@ public final OperationFuture updateInstanceAsync(
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   UpdateInstanceRequest request =
    *       UpdateInstanceRequest.newBuilder()
@@ -727,8 +790,11 @@ public final OperationFuture updateInstanceAsync(
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   UpdateInstanceRequest request =
    *       UpdateInstanceRequest.newBuilder()
@@ -755,8 +821,11 @@ public final UnaryCallable updateInstanceCalla
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   InstanceName name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -792,8 +861,11 @@ public final OperationFuture updateParametersAsync(
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   String name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -829,8 +901,11 @@ public final OperationFuture updateParametersAsync(
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   UpdateParametersRequest request =
    *       UpdateParametersRequest.newBuilder()
@@ -859,8 +934,11 @@ public final OperationFuture updateParametersAsync(
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   UpdateParametersRequest request =
    *       UpdateParametersRequest.newBuilder()
@@ -889,8 +967,11 @@ public final OperationFuture updateParametersAsync(
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   UpdateParametersRequest request =
    *       UpdateParametersRequest.newBuilder()
@@ -916,8 +997,11 @@ public final UnaryCallable updateParametersC
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   InstanceName name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
    *   cloudMemcacheClient.deleteInstanceAsync(name).get();
@@ -942,8 +1026,11 @@ public final OperationFuture deleteInstanceAsync(Insta
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   String name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString();
    *   cloudMemcacheClient.deleteInstanceAsync(name).get();
@@ -967,8 +1054,11 @@ public final OperationFuture deleteInstanceAsync(Strin
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   DeleteInstanceRequest request =
    *       DeleteInstanceRequest.newBuilder()
@@ -993,8 +1083,11 @@ public final OperationFuture deleteInstanceAsync(
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   DeleteInstanceRequest request =
    *       DeleteInstanceRequest.newBuilder()
@@ -1019,8 +1112,11 @@ public final OperationFuture deleteInstanceAsync(
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   DeleteInstanceRequest request =
    *       DeleteInstanceRequest.newBuilder()
@@ -1045,8 +1141,11 @@ public final UnaryCallable deleteInstanceCalla
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   InstanceName name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
    *   List nodeIds = new ArrayList<>();
@@ -1082,8 +1181,11 @@ public final OperationFuture applyParametersAsync(
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   String name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString();
    *   List nodeIds = new ArrayList<>();
@@ -1119,8 +1221,11 @@ public final OperationFuture applyParametersAsync(
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   ApplyParametersRequest request =
    *       ApplyParametersRequest.newBuilder()
@@ -1148,8 +1253,11 @@ public final OperationFuture applyParametersAsync(
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   ApplyParametersRequest request =
    *       ApplyParametersRequest.newBuilder()
@@ -1177,8 +1285,11 @@ public final OperationFuture applyParametersAsync(
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   ApplyParametersRequest request =
    *       ApplyParametersRequest.newBuilder()
diff --git a/google-cloud-memcache/src/main/java/com/google/cloud/memcache/v1/CloudMemcacheSettings.java b/google-cloud-memcache/src/main/java/com/google/cloud/memcache/v1/CloudMemcacheSettings.java
index 528ec1c1..9bdc48f2 100644
--- a/google-cloud-memcache/src/main/java/com/google/cloud/memcache/v1/CloudMemcacheSettings.java
+++ b/google-cloud-memcache/src/main/java/com/google/cloud/memcache/v1/CloudMemcacheSettings.java
@@ -56,16 +56,16 @@
  * 

For example, to set the total timeout of getInstance 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
  * CloudMemcacheSettings.Builder cloudMemcacheSettingsBuilder = CloudMemcacheSettings.newBuilder();
  * cloudMemcacheSettingsBuilder
  *     .getInstanceSettings()
  *     .setRetrySettings(
- *         cloudMemcacheSettingsBuilder
- *             .getInstanceSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         cloudMemcacheSettingsBuilder.getInstanceSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * CloudMemcacheSettings cloudMemcacheSettings = cloudMemcacheSettingsBuilder.build();
diff --git a/google-cloud-memcache/src/main/java/com/google/cloud/memcache/v1/package-info.java b/google-cloud-memcache/src/main/java/com/google/cloud/memcache/v1/package-info.java
index 6b4ab8e5..27a12c3b 100644
--- a/google-cloud-memcache/src/main/java/com/google/cloud/memcache/v1/package-info.java
+++ b/google-cloud-memcache/src/main/java/com/google/cloud/memcache/v1/package-info.java
@@ -42,8 +42,11 @@
  * 

Sample for CloudMemcacheClient: * *

{@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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
  *   InstanceName name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
  *   Instance response = cloudMemcacheClient.getInstance(name);
diff --git a/google-cloud-memcache/src/main/java/com/google/cloud/memcache/v1/stub/CloudMemcacheStubSettings.java b/google-cloud-memcache/src/main/java/com/google/cloud/memcache/v1/stub/CloudMemcacheStubSettings.java
index b9fbff87..858ee942 100644
--- a/google-cloud-memcache/src/main/java/com/google/cloud/memcache/v1/stub/CloudMemcacheStubSettings.java
+++ b/google-cloud-memcache/src/main/java/com/google/cloud/memcache/v1/stub/CloudMemcacheStubSettings.java
@@ -86,17 +86,17 @@
  * 

For example, to set the total timeout of getInstance 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
  * CloudMemcacheStubSettings.Builder cloudMemcacheSettingsBuilder =
  *     CloudMemcacheStubSettings.newBuilder();
  * cloudMemcacheSettingsBuilder
  *     .getInstanceSettings()
  *     .setRetrySettings(
- *         cloudMemcacheSettingsBuilder
- *             .getInstanceSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         cloudMemcacheSettingsBuilder.getInstanceSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * CloudMemcacheStubSettings cloudMemcacheSettings = cloudMemcacheSettingsBuilder.build();
diff --git a/google-cloud-memcache/src/main/java/com/google/cloud/memcache/v1/stub/HttpJsonCloudMemcacheStub.java b/google-cloud-memcache/src/main/java/com/google/cloud/memcache/v1/stub/HttpJsonCloudMemcacheStub.java
index 08ebd97e..ed2ee4d7 100644
--- a/google-cloud-memcache/src/main/java/com/google/cloud/memcache/v1/stub/HttpJsonCloudMemcacheStub.java
+++ b/google-cloud-memcache/src/main/java/com/google/cloud/memcache/v1/stub/HttpJsonCloudMemcacheStub.java
@@ -168,7 +168,7 @@ public class HttpJsonCloudMemcacheStub extends CloudMemcacheStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("instance", request.getInstance()))
+                                  .toBody("instance", request.getInstance(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -209,7 +209,7 @@ public class HttpJsonCloudMemcacheStub extends CloudMemcacheStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("instance", request.getInstance()))
+                                  .toBody("instance", request.getInstance(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -248,7 +248,7 @@ public class HttpJsonCloudMemcacheStub extends CloudMemcacheStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearName().build()))
+                                  .toBody("*", request.toBuilder().clearName().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -323,7 +323,7 @@ public class HttpJsonCloudMemcacheStub extends CloudMemcacheStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearName().build()))
+                                  .toBody("*", request.toBuilder().clearName().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/google-cloud-memcache/src/main/java/com/google/cloud/memcache/v1beta2/CloudMemcacheClient.java b/google-cloud-memcache/src/main/java/com/google/cloud/memcache/v1beta2/CloudMemcacheClient.java
index 0e8b39fa..c84d2b04 100644
--- a/google-cloud-memcache/src/main/java/com/google/cloud/memcache/v1beta2/CloudMemcacheClient.java
+++ b/google-cloud-memcache/src/main/java/com/google/cloud/memcache/v1beta2/CloudMemcacheClient.java
@@ -65,8 +65,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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
  *   InstanceName name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
  *   Instance response = cloudMemcacheClient.getInstance(name);
@@ -102,8 +105,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
  * CloudMemcacheSettings cloudMemcacheSettings =
  *     CloudMemcacheSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -114,8 +120,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
  * CloudMemcacheSettings cloudMemcacheSettings =
  *     CloudMemcacheSettings.newBuilder().setEndpoint(myEndpoint).build();
  * CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create(cloudMemcacheSettings);
@@ -125,8 +134,11 @@
  * the wire:
  *
  * 
{@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
  * CloudMemcacheSettings cloudMemcacheSettings =
  *     CloudMemcacheSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -220,8 +232,11 @@ public final OperationsClient getHttpJsonOperationsClient() {
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (Instance element : cloudMemcacheClient.listInstances(parent).iterateAll()) {
@@ -249,8 +264,11 @@ public final ListInstancesPagedResponse listInstances(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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   for (Instance element : cloudMemcacheClient.listInstances(parent).iterateAll()) {
@@ -275,8 +293,11 @@ public final ListInstancesPagedResponse listInstances(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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   ListInstancesRequest request =
    *       ListInstancesRequest.newBuilder()
@@ -306,8 +327,11 @@ public final ListInstancesPagedResponse listInstances(ListInstancesRequest reque
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   ListInstancesRequest request =
    *       ListInstancesRequest.newBuilder()
@@ -338,8 +362,11 @@ public final ListInstancesPagedResponse listInstances(ListInstancesRequest reque
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   ListInstancesRequest request =
    *       ListInstancesRequest.newBuilder()
@@ -375,8 +402,11 @@ public final UnaryCallable listInst
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   InstanceName name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
    *   Instance response = cloudMemcacheClient.getInstance(name);
@@ -401,8 +431,11 @@ public final Instance getInstance(InstanceName 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   String name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString();
    *   Instance response = cloudMemcacheClient.getInstance(name);
@@ -426,8 +459,11 @@ public final Instance getInstance(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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   GetInstanceRequest request =
    *       GetInstanceRequest.newBuilder()
@@ -451,8 +487,11 @@ public final Instance getInstance(GetInstanceRequest 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   GetInstanceRequest request =
    *       GetInstanceRequest.newBuilder()
@@ -475,8 +514,11 @@ public final UnaryCallable getInstanceCallable() {
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   String instanceId = "instanceId902024336";
@@ -519,8 +561,11 @@ public final OperationFuture createInstanceAsync(
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   String instanceId = "instanceId902024336";
@@ -563,8 +608,11 @@ public final OperationFuture createInstanceAsync(
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   CreateInstanceRequest request =
    *       CreateInstanceRequest.newBuilder()
@@ -591,8 +639,11 @@ public final OperationFuture createInstanceAsync(
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   CreateInstanceRequest request =
    *       CreateInstanceRequest.newBuilder()
@@ -619,8 +670,11 @@ public final OperationFuture createInstanceAsync(
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   CreateInstanceRequest request =
    *       CreateInstanceRequest.newBuilder()
@@ -646,8 +700,11 @@ public final UnaryCallable createInstanceCalla
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   FieldMask updateMask = FieldMask.newBuilder().build();
    *   Instance resource = Instance.newBuilder().build();
@@ -674,8 +731,11 @@ public final OperationFuture updateInstanceAsync(
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   UpdateInstanceRequest request =
    *       UpdateInstanceRequest.newBuilder()
@@ -701,8 +761,11 @@ public final OperationFuture updateInstanceAsync(
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   UpdateInstanceRequest request =
    *       UpdateInstanceRequest.newBuilder()
@@ -728,8 +791,11 @@ public final OperationFuture updateInstanceAsync(
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   UpdateInstanceRequest request =
    *       UpdateInstanceRequest.newBuilder()
@@ -756,8 +822,11 @@ public final UnaryCallable updateInstanceCalla
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   InstanceName name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -793,8 +862,11 @@ public final OperationFuture updateParametersAsync(
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   String name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -830,8 +902,11 @@ public final OperationFuture updateParametersAsync(
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   UpdateParametersRequest request =
    *       UpdateParametersRequest.newBuilder()
@@ -860,8 +935,11 @@ public final OperationFuture updateParametersAsync(
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   UpdateParametersRequest request =
    *       UpdateParametersRequest.newBuilder()
@@ -890,8 +968,11 @@ public final OperationFuture updateParametersAsync(
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   UpdateParametersRequest request =
    *       UpdateParametersRequest.newBuilder()
@@ -917,8 +998,11 @@ public final UnaryCallable updateParametersC
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   InstanceName name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
    *   cloudMemcacheClient.deleteInstanceAsync(name).get();
@@ -943,8 +1027,11 @@ public final OperationFuture deleteInstanceAsync(Insta
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   String name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString();
    *   cloudMemcacheClient.deleteInstanceAsync(name).get();
@@ -968,8 +1055,11 @@ public final OperationFuture deleteInstanceAsync(Strin
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   DeleteInstanceRequest request =
    *       DeleteInstanceRequest.newBuilder()
@@ -994,8 +1084,11 @@ public final OperationFuture deleteInstanceAsync(
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   DeleteInstanceRequest request =
    *       DeleteInstanceRequest.newBuilder()
@@ -1020,8 +1113,11 @@ public final OperationFuture deleteInstanceAsync(
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   DeleteInstanceRequest request =
    *       DeleteInstanceRequest.newBuilder()
@@ -1046,8 +1142,11 @@ public final UnaryCallable deleteInstanceCalla
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   InstanceName name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
    *   List nodeIds = new ArrayList<>();
@@ -1083,8 +1182,11 @@ public final OperationFuture applyParametersAsync(
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   String name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString();
    *   List nodeIds = new ArrayList<>();
@@ -1120,8 +1222,11 @@ public final OperationFuture applyParametersAsync(
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   ApplyParametersRequest request =
    *       ApplyParametersRequest.newBuilder()
@@ -1149,8 +1254,11 @@ public final OperationFuture applyParametersAsync(
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   ApplyParametersRequest request =
    *       ApplyParametersRequest.newBuilder()
@@ -1178,8 +1286,11 @@ public final OperationFuture applyParametersAsync(
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   ApplyParametersRequest request =
    *       ApplyParametersRequest.newBuilder()
@@ -1205,8 +1316,11 @@ public final UnaryCallable applyParametersCal
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   InstanceName instance = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
    *   List nodeIds = new ArrayList<>();
@@ -1243,8 +1357,11 @@ public final OperationFuture applySoftwareUpdateAsy
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   String instance = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString();
    *   List nodeIds = new ArrayList<>();
@@ -1281,8 +1398,11 @@ public final OperationFuture applySoftwareUpdateAsy
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   ApplySoftwareUpdateRequest request =
    *       ApplySoftwareUpdateRequest.newBuilder()
@@ -1309,8 +1429,11 @@ public final OperationFuture applySoftwareUpdateAsy
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   ApplySoftwareUpdateRequest request =
    *       ApplySoftwareUpdateRequest.newBuilder()
@@ -1337,8 +1460,11 @@ public final OperationFuture applySoftwareUpdateAsy
    * 

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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
    *   ApplySoftwareUpdateRequest request =
    *       ApplySoftwareUpdateRequest.newBuilder()
diff --git a/google-cloud-memcache/src/main/java/com/google/cloud/memcache/v1beta2/CloudMemcacheSettings.java b/google-cloud-memcache/src/main/java/com/google/cloud/memcache/v1beta2/CloudMemcacheSettings.java
index 51da4ed8..f3b772ea 100644
--- a/google-cloud-memcache/src/main/java/com/google/cloud/memcache/v1beta2/CloudMemcacheSettings.java
+++ b/google-cloud-memcache/src/main/java/com/google/cloud/memcache/v1beta2/CloudMemcacheSettings.java
@@ -56,16 +56,16 @@
  * 

For example, to set the total timeout of getInstance 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
  * CloudMemcacheSettings.Builder cloudMemcacheSettingsBuilder = CloudMemcacheSettings.newBuilder();
  * cloudMemcacheSettingsBuilder
  *     .getInstanceSettings()
  *     .setRetrySettings(
- *         cloudMemcacheSettingsBuilder
- *             .getInstanceSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         cloudMemcacheSettingsBuilder.getInstanceSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * CloudMemcacheSettings cloudMemcacheSettings = cloudMemcacheSettingsBuilder.build();
diff --git a/google-cloud-memcache/src/main/java/com/google/cloud/memcache/v1beta2/package-info.java b/google-cloud-memcache/src/main/java/com/google/cloud/memcache/v1beta2/package-info.java
index 96cda576..6c0ca283 100644
--- a/google-cloud-memcache/src/main/java/com/google/cloud/memcache/v1beta2/package-info.java
+++ b/google-cloud-memcache/src/main/java/com/google/cloud/memcache/v1beta2/package-info.java
@@ -42,8 +42,11 @@
  * 

Sample for CloudMemcacheClient: * *

{@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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
  *   InstanceName name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
  *   Instance response = cloudMemcacheClient.getInstance(name);
diff --git a/google-cloud-memcache/src/main/java/com/google/cloud/memcache/v1beta2/stub/CloudMemcacheStubSettings.java b/google-cloud-memcache/src/main/java/com/google/cloud/memcache/v1beta2/stub/CloudMemcacheStubSettings.java
index 90fb09a6..fafd2098 100644
--- a/google-cloud-memcache/src/main/java/com/google/cloud/memcache/v1beta2/stub/CloudMemcacheStubSettings.java
+++ b/google-cloud-memcache/src/main/java/com/google/cloud/memcache/v1beta2/stub/CloudMemcacheStubSettings.java
@@ -87,17 +87,17 @@
  * 

For example, to set the total timeout of getInstance 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
  * CloudMemcacheStubSettings.Builder cloudMemcacheSettingsBuilder =
  *     CloudMemcacheStubSettings.newBuilder();
  * cloudMemcacheSettingsBuilder
  *     .getInstanceSettings()
  *     .setRetrySettings(
- *         cloudMemcacheSettingsBuilder
- *             .getInstanceSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         cloudMemcacheSettingsBuilder.getInstanceSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * CloudMemcacheStubSettings cloudMemcacheSettings = cloudMemcacheSettingsBuilder.build();
diff --git a/google-cloud-memcache/src/main/java/com/google/cloud/memcache/v1beta2/stub/HttpJsonCloudMemcacheStub.java b/google-cloud-memcache/src/main/java/com/google/cloud/memcache/v1beta2/stub/HttpJsonCloudMemcacheStub.java
index f034b57b..a06bace6 100644
--- a/google-cloud-memcache/src/main/java/com/google/cloud/memcache/v1beta2/stub/HttpJsonCloudMemcacheStub.java
+++ b/google-cloud-memcache/src/main/java/com/google/cloud/memcache/v1beta2/stub/HttpJsonCloudMemcacheStub.java
@@ -169,7 +169,7 @@ public class HttpJsonCloudMemcacheStub extends CloudMemcacheStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("resource", request.getResource()))
+                                  .toBody("resource", request.getResource(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -210,7 +210,7 @@ public class HttpJsonCloudMemcacheStub extends CloudMemcacheStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("resource", request.getResource()))
+                                  .toBody("resource", request.getResource(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -249,7 +249,7 @@ public class HttpJsonCloudMemcacheStub extends CloudMemcacheStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearName().build()))
+                                  .toBody("*", request.toBuilder().clearName().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -324,7 +324,7 @@ public class HttpJsonCloudMemcacheStub extends CloudMemcacheStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearName().build()))
+                                  .toBody("*", request.toBuilder().clearName().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -363,7 +363,7 @@ public class HttpJsonCloudMemcacheStub extends CloudMemcacheStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearInstance().build()))
+                                  .toBody("*", request.toBuilder().clearInstance().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/applyparameters/AsyncApplyParameters.java b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/applyparameters/AsyncApplyParameters.java
index 1c599207..50f003c2 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/applyparameters/AsyncApplyParameters.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/applyparameters/AsyncApplyParameters.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncApplyParameters() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       ApplyParametersRequest request =
           ApplyParametersRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/applyparameters/AsyncApplyParametersLRO.java b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/applyparameters/AsyncApplyParametersLRO.java
index 7e107bcb..b7f8d313 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/applyparameters/AsyncApplyParametersLRO.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/applyparameters/AsyncApplyParametersLRO.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncApplyParametersLRO() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       ApplyParametersRequest request =
           ApplyParametersRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/applyparameters/SyncApplyParameters.java b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/applyparameters/SyncApplyParameters.java
index 4b9fecee..7cde1936 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/applyparameters/SyncApplyParameters.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/applyparameters/SyncApplyParameters.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncApplyParameters() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       ApplyParametersRequest request =
           ApplyParametersRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/applyparameters/SyncApplyParametersInstancenameListstringBoolean.java b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/applyparameters/SyncApplyParametersInstancenameListstringBoolean.java
index 3006b54f..11c4fc59 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/applyparameters/SyncApplyParametersInstancenameListstringBoolean.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/applyparameters/SyncApplyParametersInstancenameListstringBoolean.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncApplyParametersInstancenameListstringBoolean() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       InstanceName name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
       List nodeIds = new ArrayList<>();
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/applyparameters/SyncApplyParametersStringListstringBoolean.java b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/applyparameters/SyncApplyParametersStringListstringBoolean.java
index 0603560c..e068939c 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/applyparameters/SyncApplyParametersStringListstringBoolean.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/applyparameters/SyncApplyParametersStringListstringBoolean.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncApplyParametersStringListstringBoolean() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       String name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString();
       List nodeIds = new ArrayList<>();
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/create/SyncCreateSetCredentialsProvider.java
index 23fcd415..fe8c9184 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/create/SyncCreateSetCredentialsProvider.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/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
     CloudMemcacheSettings cloudMemcacheSettings =
         CloudMemcacheSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/create/SyncCreateSetCredentialsProvider1.java
index 65949753..0934ad35 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/create/SyncCreateSetCredentialsProvider1.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSetCredentialsProvider1() 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
     CloudMemcacheSettings cloudMemcacheSettings =
         CloudMemcacheSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/create/SyncCreateSetEndpoint.java
index 39af71fc..806234a8 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/create/SyncCreateSetEndpoint.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/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
     CloudMemcacheSettings cloudMemcacheSettings =
         CloudMemcacheSettings.newBuilder().setEndpoint(myEndpoint).build();
     CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create(cloudMemcacheSettings);
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/createinstance/AsyncCreateInstance.java b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/createinstance/AsyncCreateInstance.java
index c39ebe7b..dd0145d2 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/createinstance/AsyncCreateInstance.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/createinstance/AsyncCreateInstance.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateInstance() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       CreateInstanceRequest request =
           CreateInstanceRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/createinstance/AsyncCreateInstanceLRO.java b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/createinstance/AsyncCreateInstanceLRO.java
index edc7256d..f1285552 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/createinstance/AsyncCreateInstanceLRO.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/createinstance/AsyncCreateInstanceLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateInstanceLRO() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       CreateInstanceRequest request =
           CreateInstanceRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/createinstance/SyncCreateInstance.java b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/createinstance/SyncCreateInstance.java
index 923976b6..aa0c5305 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/createinstance/SyncCreateInstance.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/createinstance/SyncCreateInstance.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateInstance() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       CreateInstanceRequest request =
           CreateInstanceRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/createinstance/SyncCreateInstanceLocationnameInstanceString.java b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/createinstance/SyncCreateInstanceLocationnameInstanceString.java
index 2bf89199..4d128776 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/createinstance/SyncCreateInstanceLocationnameInstanceString.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/createinstance/SyncCreateInstanceLocationnameInstanceString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateInstanceLocationnameInstanceString() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       Instance instance = Instance.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/createinstance/SyncCreateInstanceStringInstanceString.java b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/createinstance/SyncCreateInstanceStringInstanceString.java
index d2316ff5..d3583d71 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/createinstance/SyncCreateInstanceStringInstanceString.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/createinstance/SyncCreateInstanceStringInstanceString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateInstanceStringInstanceString() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       Instance instance = Instance.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/deleteinstance/AsyncDeleteInstance.java b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/deleteinstance/AsyncDeleteInstance.java
index 01a1b63f..d23d05dd 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/deleteinstance/AsyncDeleteInstance.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/deleteinstance/AsyncDeleteInstance.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteInstance() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       DeleteInstanceRequest request =
           DeleteInstanceRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/deleteinstance/AsyncDeleteInstanceLRO.java b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/deleteinstance/AsyncDeleteInstanceLRO.java
index 9079cb23..155d239a 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/deleteinstance/AsyncDeleteInstanceLRO.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/deleteinstance/AsyncDeleteInstanceLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteInstanceLRO() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       DeleteInstanceRequest request =
           DeleteInstanceRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/deleteinstance/SyncDeleteInstance.java b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/deleteinstance/SyncDeleteInstance.java
index 8dce5b77..95e84ecd 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/deleteinstance/SyncDeleteInstance.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/deleteinstance/SyncDeleteInstance.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteInstance() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       DeleteInstanceRequest request =
           DeleteInstanceRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/deleteinstance/SyncDeleteInstanceInstancename.java b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/deleteinstance/SyncDeleteInstanceInstancename.java
index 83449acb..3b38406b 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/deleteinstance/SyncDeleteInstanceInstancename.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/deleteinstance/SyncDeleteInstanceInstancename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteInstanceInstancename() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       InstanceName name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
       cloudMemcacheClient.deleteInstanceAsync(name).get();
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/deleteinstance/SyncDeleteInstanceString.java b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/deleteinstance/SyncDeleteInstanceString.java
index e907e459..b554dd8e 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/deleteinstance/SyncDeleteInstanceString.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/deleteinstance/SyncDeleteInstanceString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteInstanceString() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       String name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString();
       cloudMemcacheClient.deleteInstanceAsync(name).get();
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/getinstance/AsyncGetInstance.java b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/getinstance/AsyncGetInstance.java
index bea5f8ae..0b528c67 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/getinstance/AsyncGetInstance.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/getinstance/AsyncGetInstance.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetInstance() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       GetInstanceRequest request =
           GetInstanceRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/getinstance/SyncGetInstance.java b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/getinstance/SyncGetInstance.java
index bf43198a..1c16adbe 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/getinstance/SyncGetInstance.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/getinstance/SyncGetInstance.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetInstance() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       GetInstanceRequest request =
           GetInstanceRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/getinstance/SyncGetInstanceInstancename.java b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/getinstance/SyncGetInstanceInstancename.java
index 4685fb70..9cb08a33 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/getinstance/SyncGetInstanceInstancename.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/getinstance/SyncGetInstanceInstancename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetInstanceInstancename() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       InstanceName name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
       Instance response = cloudMemcacheClient.getInstance(name);
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/getinstance/SyncGetInstanceString.java b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/getinstance/SyncGetInstanceString.java
index cceaefb5..e39078ab 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/getinstance/SyncGetInstanceString.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/getinstance/SyncGetInstanceString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetInstanceString() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       String name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString();
       Instance response = cloudMemcacheClient.getInstance(name);
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/listinstances/AsyncListInstances.java b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/listinstances/AsyncListInstances.java
index 04231a5e..ae53fcd1 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/listinstances/AsyncListInstances.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/listinstances/AsyncListInstances.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListInstances() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       ListInstancesRequest request =
           ListInstancesRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/listinstances/AsyncListInstancesPaged.java b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/listinstances/AsyncListInstancesPaged.java
index c80ac506..a7431f1d 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/listinstances/AsyncListInstancesPaged.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/listinstances/AsyncListInstancesPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListInstancesPaged() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       ListInstancesRequest request =
           ListInstancesRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/listinstances/SyncListInstances.java b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/listinstances/SyncListInstances.java
index f682638c..66fc75ce 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/listinstances/SyncListInstances.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/listinstances/SyncListInstances.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListInstances() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       ListInstancesRequest request =
           ListInstancesRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/listinstances/SyncListInstancesLocationname.java b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/listinstances/SyncListInstancesLocationname.java
index 6fc1ffe8..5df0508e 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/listinstances/SyncListInstancesLocationname.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/listinstances/SyncListInstancesLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListInstancesLocationname() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       for (Instance element : cloudMemcacheClient.listInstances(parent).iterateAll()) {
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/listinstances/SyncListInstancesString.java b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/listinstances/SyncListInstancesString.java
index 9e082319..c515abb1 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/listinstances/SyncListInstancesString.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/listinstances/SyncListInstancesString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListInstancesString() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       for (Instance element : cloudMemcacheClient.listInstances(parent).iterateAll()) {
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/updateinstance/AsyncUpdateInstance.java b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/updateinstance/AsyncUpdateInstance.java
index 8541acae..e3e91699 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/updateinstance/AsyncUpdateInstance.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/updateinstance/AsyncUpdateInstance.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateInstance() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       UpdateInstanceRequest request =
           UpdateInstanceRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/updateinstance/AsyncUpdateInstanceLRO.java b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/updateinstance/AsyncUpdateInstanceLRO.java
index ca3ec700..9621c044 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/updateinstance/AsyncUpdateInstanceLRO.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/updateinstance/AsyncUpdateInstanceLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateInstanceLRO() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       UpdateInstanceRequest request =
           UpdateInstanceRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/updateinstance/SyncUpdateInstance.java b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/updateinstance/SyncUpdateInstance.java
index 19b6b26d..18efbd13 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/updateinstance/SyncUpdateInstance.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/updateinstance/SyncUpdateInstance.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateInstance() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       UpdateInstanceRequest request =
           UpdateInstanceRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/updateinstance/SyncUpdateInstanceInstanceFieldmask.java b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/updateinstance/SyncUpdateInstanceInstanceFieldmask.java
index 6f0bec0c..1be490f0 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/updateinstance/SyncUpdateInstanceInstanceFieldmask.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/updateinstance/SyncUpdateInstanceInstanceFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateInstanceInstanceFieldmask() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       Instance instance = Instance.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/updateparameters/AsyncUpdateParameters.java b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/updateparameters/AsyncUpdateParameters.java
index 82933ed4..ca906cf7 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/updateparameters/AsyncUpdateParameters.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/updateparameters/AsyncUpdateParameters.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateParameters() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       UpdateParametersRequest request =
           UpdateParametersRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/updateparameters/AsyncUpdateParametersLRO.java b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/updateparameters/AsyncUpdateParametersLRO.java
index 32015399..c7396120 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/updateparameters/AsyncUpdateParametersLRO.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/updateparameters/AsyncUpdateParametersLRO.java
@@ -33,8 +33,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateParametersLRO() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       UpdateParametersRequest request =
           UpdateParametersRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/updateparameters/SyncUpdateParameters.java b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/updateparameters/SyncUpdateParameters.java
index 3b85b805..2768d752 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/updateparameters/SyncUpdateParameters.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/updateparameters/SyncUpdateParameters.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateParameters() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       UpdateParametersRequest request =
           UpdateParametersRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/updateparameters/SyncUpdateParametersInstancenameFieldmaskMemcacheparameters.java b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/updateparameters/SyncUpdateParametersInstancenameFieldmaskMemcacheparameters.java
index 82cf93b9..0399b0a7 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/updateparameters/SyncUpdateParametersInstancenameFieldmaskMemcacheparameters.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/updateparameters/SyncUpdateParametersInstancenameFieldmaskMemcacheparameters.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
 
   public static void syncUpdateParametersInstancenameFieldmaskMemcacheparameters()
       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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       InstanceName name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/updateparameters/SyncUpdateParametersStringFieldmaskMemcacheparameters.java b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/updateparameters/SyncUpdateParametersStringFieldmaskMemcacheparameters.java
index e0a627fc..9c84b93c 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/updateparameters/SyncUpdateParametersStringFieldmaskMemcacheparameters.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcacheclient/updateparameters/SyncUpdateParametersStringFieldmaskMemcacheparameters.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateParametersStringFieldmaskMemcacheparameters() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       String name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcachesettings/getinstance/SyncGetInstance.java b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcachesettings/getinstance/SyncGetInstance.java
index aacd9011..16ee4786 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcachesettings/getinstance/SyncGetInstance.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1/cloudmemcachesettings/getinstance/SyncGetInstance.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetInstance() 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
     CloudMemcacheSettings.Builder cloudMemcacheSettingsBuilder = CloudMemcacheSettings.newBuilder();
     cloudMemcacheSettingsBuilder
         .getInstanceSettings()
         .setRetrySettings(
-            cloudMemcacheSettingsBuilder
-                .getInstanceSettings()
-                .getRetrySettings()
-                .toBuilder()
+            cloudMemcacheSettingsBuilder.getInstanceSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     CloudMemcacheSettings cloudMemcacheSettings = cloudMemcacheSettingsBuilder.build();
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1/stub/cloudmemcachestubsettings/getinstance/SyncGetInstance.java b/samples/snippets/generated/com/google/cloud/memcache/v1/stub/cloudmemcachestubsettings/getinstance/SyncGetInstance.java
index 05577f9b..df6d2f5d 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1/stub/cloudmemcachestubsettings/getinstance/SyncGetInstance.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1/stub/cloudmemcachestubsettings/getinstance/SyncGetInstance.java
@@ -27,17 +27,17 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetInstance() 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
     CloudMemcacheStubSettings.Builder cloudMemcacheSettingsBuilder =
         CloudMemcacheStubSettings.newBuilder();
     cloudMemcacheSettingsBuilder
         .getInstanceSettings()
         .setRetrySettings(
-            cloudMemcacheSettingsBuilder
-                .getInstanceSettings()
-                .getRetrySettings()
-                .toBuilder()
+            cloudMemcacheSettingsBuilder.getInstanceSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     CloudMemcacheStubSettings cloudMemcacheSettings = cloudMemcacheSettingsBuilder.build();
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/applyparameters/AsyncApplyParameters.java b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/applyparameters/AsyncApplyParameters.java
index bd1bbb5e..567b170c 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/applyparameters/AsyncApplyParameters.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/applyparameters/AsyncApplyParameters.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncApplyParameters() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       ApplyParametersRequest request =
           ApplyParametersRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/applyparameters/AsyncApplyParametersLRO.java b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/applyparameters/AsyncApplyParametersLRO.java
index ae1b842f..6ed52542 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/applyparameters/AsyncApplyParametersLRO.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/applyparameters/AsyncApplyParametersLRO.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncApplyParametersLRO() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       ApplyParametersRequest request =
           ApplyParametersRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/applyparameters/SyncApplyParameters.java b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/applyparameters/SyncApplyParameters.java
index 0425b703..141b891a 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/applyparameters/SyncApplyParameters.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/applyparameters/SyncApplyParameters.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncApplyParameters() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       ApplyParametersRequest request =
           ApplyParametersRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/applyparameters/SyncApplyParametersInstancenameListstringBoolean.java b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/applyparameters/SyncApplyParametersInstancenameListstringBoolean.java
index 537ad967..1e61ca2f 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/applyparameters/SyncApplyParametersInstancenameListstringBoolean.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/applyparameters/SyncApplyParametersInstancenameListstringBoolean.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncApplyParametersInstancenameListstringBoolean() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       InstanceName name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
       List nodeIds = new ArrayList<>();
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/applyparameters/SyncApplyParametersStringListstringBoolean.java b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/applyparameters/SyncApplyParametersStringListstringBoolean.java
index fbb00555..cf6357a5 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/applyparameters/SyncApplyParametersStringListstringBoolean.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/applyparameters/SyncApplyParametersStringListstringBoolean.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncApplyParametersStringListstringBoolean() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       String name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString();
       List nodeIds = new ArrayList<>();
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/applysoftwareupdate/AsyncApplySoftwareUpdate.java b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/applysoftwareupdate/AsyncApplySoftwareUpdate.java
index a7578029..dffb5f9e 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/applysoftwareupdate/AsyncApplySoftwareUpdate.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/applysoftwareupdate/AsyncApplySoftwareUpdate.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncApplySoftwareUpdate() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       ApplySoftwareUpdateRequest request =
           ApplySoftwareUpdateRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/applysoftwareupdate/AsyncApplySoftwareUpdateLRO.java b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/applysoftwareupdate/AsyncApplySoftwareUpdateLRO.java
index 6c960796..8d9e8e4e 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/applysoftwareupdate/AsyncApplySoftwareUpdateLRO.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/applysoftwareupdate/AsyncApplySoftwareUpdateLRO.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncApplySoftwareUpdateLRO() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       ApplySoftwareUpdateRequest request =
           ApplySoftwareUpdateRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/applysoftwareupdate/SyncApplySoftwareUpdate.java b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/applysoftwareupdate/SyncApplySoftwareUpdate.java
index d3f82261..b8ea395a 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/applysoftwareupdate/SyncApplySoftwareUpdate.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/applysoftwareupdate/SyncApplySoftwareUpdate.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncApplySoftwareUpdate() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       ApplySoftwareUpdateRequest request =
           ApplySoftwareUpdateRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/applysoftwareupdate/SyncApplySoftwareUpdateInstancenameListstringBoolean.java b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/applysoftwareupdate/SyncApplySoftwareUpdateInstancenameListstringBoolean.java
index ab806555..344c357a 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/applysoftwareupdate/SyncApplySoftwareUpdateInstancenameListstringBoolean.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/applysoftwareupdate/SyncApplySoftwareUpdateInstancenameListstringBoolean.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncApplySoftwareUpdateInstancenameListstringBoolean() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       InstanceName instance = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
       List nodeIds = new ArrayList<>();
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/applysoftwareupdate/SyncApplySoftwareUpdateStringListstringBoolean.java b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/applysoftwareupdate/SyncApplySoftwareUpdateStringListstringBoolean.java
index e387d095..c09d86ee 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/applysoftwareupdate/SyncApplySoftwareUpdateStringListstringBoolean.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/applysoftwareupdate/SyncApplySoftwareUpdateStringListstringBoolean.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncApplySoftwareUpdateStringListstringBoolean() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       String instance = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString();
       List nodeIds = new ArrayList<>();
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/create/SyncCreateSetCredentialsProvider.java
index dfcda128..f029ab0b 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/create/SyncCreateSetCredentialsProvider.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/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
     CloudMemcacheSettings cloudMemcacheSettings =
         CloudMemcacheSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/create/SyncCreateSetCredentialsProvider1.java
index 35ae6daa..909ef303 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/create/SyncCreateSetCredentialsProvider1.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSetCredentialsProvider1() 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
     CloudMemcacheSettings cloudMemcacheSettings =
         CloudMemcacheSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/create/SyncCreateSetEndpoint.java
index ebfedbd7..123d5a76 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/create/SyncCreateSetEndpoint.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/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
     CloudMemcacheSettings cloudMemcacheSettings =
         CloudMemcacheSettings.newBuilder().setEndpoint(myEndpoint).build();
     CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create(cloudMemcacheSettings);
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/createinstance/AsyncCreateInstance.java b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/createinstance/AsyncCreateInstance.java
index cd8837a6..a949a44c 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/createinstance/AsyncCreateInstance.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/createinstance/AsyncCreateInstance.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateInstance() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       CreateInstanceRequest request =
           CreateInstanceRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/createinstance/AsyncCreateInstanceLRO.java b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/createinstance/AsyncCreateInstanceLRO.java
index 7633cb7a..a4a7699d 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/createinstance/AsyncCreateInstanceLRO.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/createinstance/AsyncCreateInstanceLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateInstanceLRO() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       CreateInstanceRequest request =
           CreateInstanceRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/createinstance/SyncCreateInstance.java b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/createinstance/SyncCreateInstance.java
index 06370d4e..a094e857 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/createinstance/SyncCreateInstance.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/createinstance/SyncCreateInstance.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateInstance() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       CreateInstanceRequest request =
           CreateInstanceRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/createinstance/SyncCreateInstanceLocationnameStringInstance.java b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/createinstance/SyncCreateInstanceLocationnameStringInstance.java
index 773cb7bc..1d36e97f 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/createinstance/SyncCreateInstanceLocationnameStringInstance.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/createinstance/SyncCreateInstanceLocationnameStringInstance.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateInstanceLocationnameStringInstance() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       String instanceId = "instanceId902024336";
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/createinstance/SyncCreateInstanceStringStringInstance.java b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/createinstance/SyncCreateInstanceStringStringInstance.java
index 24ac3562..6690e2eb 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/createinstance/SyncCreateInstanceStringStringInstance.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/createinstance/SyncCreateInstanceStringStringInstance.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateInstanceStringStringInstance() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       String instanceId = "instanceId902024336";
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/deleteinstance/AsyncDeleteInstance.java b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/deleteinstance/AsyncDeleteInstance.java
index 7fe059e2..1da5648f 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/deleteinstance/AsyncDeleteInstance.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/deleteinstance/AsyncDeleteInstance.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteInstance() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       DeleteInstanceRequest request =
           DeleteInstanceRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/deleteinstance/AsyncDeleteInstanceLRO.java b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/deleteinstance/AsyncDeleteInstanceLRO.java
index 7c078d3e..40352d59 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/deleteinstance/AsyncDeleteInstanceLRO.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/deleteinstance/AsyncDeleteInstanceLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteInstanceLRO() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       DeleteInstanceRequest request =
           DeleteInstanceRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/deleteinstance/SyncDeleteInstance.java b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/deleteinstance/SyncDeleteInstance.java
index ce70006f..9409e6a4 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/deleteinstance/SyncDeleteInstance.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/deleteinstance/SyncDeleteInstance.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteInstance() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       DeleteInstanceRequest request =
           DeleteInstanceRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/deleteinstance/SyncDeleteInstanceInstancename.java b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/deleteinstance/SyncDeleteInstanceInstancename.java
index cd820a0d..cad6864d 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/deleteinstance/SyncDeleteInstanceInstancename.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/deleteinstance/SyncDeleteInstanceInstancename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteInstanceInstancename() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       InstanceName name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
       cloudMemcacheClient.deleteInstanceAsync(name).get();
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/deleteinstance/SyncDeleteInstanceString.java b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/deleteinstance/SyncDeleteInstanceString.java
index 76037fc7..b73134ec 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/deleteinstance/SyncDeleteInstanceString.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/deleteinstance/SyncDeleteInstanceString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteInstanceString() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       String name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString();
       cloudMemcacheClient.deleteInstanceAsync(name).get();
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/getinstance/AsyncGetInstance.java b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/getinstance/AsyncGetInstance.java
index 83ab8964..a8f39872 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/getinstance/AsyncGetInstance.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/getinstance/AsyncGetInstance.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetInstance() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       GetInstanceRequest request =
           GetInstanceRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/getinstance/SyncGetInstance.java b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/getinstance/SyncGetInstance.java
index 054325ea..457a5295 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/getinstance/SyncGetInstance.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/getinstance/SyncGetInstance.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetInstance() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       GetInstanceRequest request =
           GetInstanceRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/getinstance/SyncGetInstanceInstancename.java b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/getinstance/SyncGetInstanceInstancename.java
index 9bf1c35d..41f26490 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/getinstance/SyncGetInstanceInstancename.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/getinstance/SyncGetInstanceInstancename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetInstanceInstancename() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       InstanceName name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
       Instance response = cloudMemcacheClient.getInstance(name);
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/getinstance/SyncGetInstanceString.java b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/getinstance/SyncGetInstanceString.java
index da65faaa..3af86a93 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/getinstance/SyncGetInstanceString.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/getinstance/SyncGetInstanceString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetInstanceString() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       String name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString();
       Instance response = cloudMemcacheClient.getInstance(name);
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/listinstances/AsyncListInstances.java b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/listinstances/AsyncListInstances.java
index 12e26eb6..9e4de2a4 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/listinstances/AsyncListInstances.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/listinstances/AsyncListInstances.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListInstances() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       ListInstancesRequest request =
           ListInstancesRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/listinstances/AsyncListInstancesPaged.java b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/listinstances/AsyncListInstancesPaged.java
index 9f6452aa..5b65bd23 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/listinstances/AsyncListInstancesPaged.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/listinstances/AsyncListInstancesPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListInstancesPaged() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       ListInstancesRequest request =
           ListInstancesRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/listinstances/SyncListInstances.java b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/listinstances/SyncListInstances.java
index 0deceafa..45448ca6 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/listinstances/SyncListInstances.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/listinstances/SyncListInstances.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListInstances() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       ListInstancesRequest request =
           ListInstancesRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/listinstances/SyncListInstancesLocationname.java b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/listinstances/SyncListInstancesLocationname.java
index 3c91cf42..352a37cf 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/listinstances/SyncListInstancesLocationname.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/listinstances/SyncListInstancesLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListInstancesLocationname() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       for (Instance element : cloudMemcacheClient.listInstances(parent).iterateAll()) {
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/listinstances/SyncListInstancesString.java b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/listinstances/SyncListInstancesString.java
index 601afe55..a8994cb4 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/listinstances/SyncListInstancesString.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/listinstances/SyncListInstancesString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListInstancesString() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       for (Instance element : cloudMemcacheClient.listInstances(parent).iterateAll()) {
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/updateinstance/AsyncUpdateInstance.java b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/updateinstance/AsyncUpdateInstance.java
index e21b6d67..40fb9b9a 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/updateinstance/AsyncUpdateInstance.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/updateinstance/AsyncUpdateInstance.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateInstance() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       UpdateInstanceRequest request =
           UpdateInstanceRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/updateinstance/AsyncUpdateInstanceLRO.java b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/updateinstance/AsyncUpdateInstanceLRO.java
index ee3251ed..e4818610 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/updateinstance/AsyncUpdateInstanceLRO.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/updateinstance/AsyncUpdateInstanceLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateInstanceLRO() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       UpdateInstanceRequest request =
           UpdateInstanceRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/updateinstance/SyncUpdateInstance.java b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/updateinstance/SyncUpdateInstance.java
index 493f7682..580dedce 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/updateinstance/SyncUpdateInstance.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/updateinstance/SyncUpdateInstance.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateInstance() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       UpdateInstanceRequest request =
           UpdateInstanceRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/updateinstance/SyncUpdateInstanceFieldmaskInstance.java b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/updateinstance/SyncUpdateInstanceFieldmaskInstance.java
index 9e72d00f..71c07dd0 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/updateinstance/SyncUpdateInstanceFieldmaskInstance.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/updateinstance/SyncUpdateInstanceFieldmaskInstance.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateInstanceFieldmaskInstance() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       FieldMask updateMask = FieldMask.newBuilder().build();
       Instance resource = Instance.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/updateparameters/AsyncUpdateParameters.java b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/updateparameters/AsyncUpdateParameters.java
index 5dfb7439..376dbaa5 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/updateparameters/AsyncUpdateParameters.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/updateparameters/AsyncUpdateParameters.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateParameters() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       UpdateParametersRequest request =
           UpdateParametersRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/updateparameters/AsyncUpdateParametersLRO.java b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/updateparameters/AsyncUpdateParametersLRO.java
index b0823fbd..adec47a9 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/updateparameters/AsyncUpdateParametersLRO.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/updateparameters/AsyncUpdateParametersLRO.java
@@ -33,8 +33,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateParametersLRO() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       UpdateParametersRequest request =
           UpdateParametersRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/updateparameters/SyncUpdateParameters.java b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/updateparameters/SyncUpdateParameters.java
index c4de3135..2299f9aa 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/updateparameters/SyncUpdateParameters.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/updateparameters/SyncUpdateParameters.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateParameters() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       UpdateParametersRequest request =
           UpdateParametersRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/updateparameters/SyncUpdateParametersInstancenameFieldmaskMemcacheparameters.java b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/updateparameters/SyncUpdateParametersInstancenameFieldmaskMemcacheparameters.java
index 3a824240..6ef760a3 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/updateparameters/SyncUpdateParametersInstancenameFieldmaskMemcacheparameters.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/updateparameters/SyncUpdateParametersInstancenameFieldmaskMemcacheparameters.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
 
   public static void syncUpdateParametersInstancenameFieldmaskMemcacheparameters()
       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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       InstanceName name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/updateparameters/SyncUpdateParametersStringFieldmaskMemcacheparameters.java b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/updateparameters/SyncUpdateParametersStringFieldmaskMemcacheparameters.java
index 03b3efaa..a7d4120b 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/updateparameters/SyncUpdateParametersStringFieldmaskMemcacheparameters.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcacheclient/updateparameters/SyncUpdateParametersStringFieldmaskMemcacheparameters.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateParametersStringFieldmaskMemcacheparameters() 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 (CloudMemcacheClient cloudMemcacheClient = CloudMemcacheClient.create()) {
       String name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcachesettings/getinstance/SyncGetInstance.java b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcachesettings/getinstance/SyncGetInstance.java
index 7e960305..f3aa7916 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcachesettings/getinstance/SyncGetInstance.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/cloudmemcachesettings/getinstance/SyncGetInstance.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetInstance() 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
     CloudMemcacheSettings.Builder cloudMemcacheSettingsBuilder = CloudMemcacheSettings.newBuilder();
     cloudMemcacheSettingsBuilder
         .getInstanceSettings()
         .setRetrySettings(
-            cloudMemcacheSettingsBuilder
-                .getInstanceSettings()
-                .getRetrySettings()
-                .toBuilder()
+            cloudMemcacheSettingsBuilder.getInstanceSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     CloudMemcacheSettings cloudMemcacheSettings = cloudMemcacheSettingsBuilder.build();
diff --git a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/stub/cloudmemcachestubsettings/getinstance/SyncGetInstance.java b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/stub/cloudmemcachestubsettings/getinstance/SyncGetInstance.java
index 0af8baf6..42621fcc 100644
--- a/samples/snippets/generated/com/google/cloud/memcache/v1beta2/stub/cloudmemcachestubsettings/getinstance/SyncGetInstance.java
+++ b/samples/snippets/generated/com/google/cloud/memcache/v1beta2/stub/cloudmemcachestubsettings/getinstance/SyncGetInstance.java
@@ -27,17 +27,17 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetInstance() 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
     CloudMemcacheStubSettings.Builder cloudMemcacheSettingsBuilder =
         CloudMemcacheStubSettings.newBuilder();
     cloudMemcacheSettingsBuilder
         .getInstanceSettings()
         .setRetrySettings(
-            cloudMemcacheSettingsBuilder
-                .getInstanceSettings()
-                .getRetrySettings()
-                .toBuilder()
+            cloudMemcacheSettingsBuilder.getInstanceSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     CloudMemcacheStubSettings cloudMemcacheSettings = cloudMemcacheSettingsBuilder.build();

From 3d228beff3e01f73438d2e62982dd648e98f76db Mon Sep 17 00:00:00 2001
From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com>
Date: Sat, 10 Sep 2022 02:18:12 +0000
Subject: [PATCH 4/6] chore: Generated snippets should not be owned by samples
 reviewers (#1575) (#675)

Source-Link: https://github.com/googleapis/synthtool/commit/2e9ac19d5b8181af77cdc5337cf922517813cc49
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:8175681a918181d306d9c370d3262f16b4c724cc73d74111b7d42fc985ca7f93
---
 .github/.OwlBot.lock.yaml | 3 +--
 .github/CODEOWNERS        | 3 +++
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml
index de9173d9..62592923 100644
--- a/.github/.OwlBot.lock.yaml
+++ b/.github/.OwlBot.lock.yaml
@@ -13,5 +13,4 @@
 # limitations under the License.
 docker:
   image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest
-  digest: sha256:d4b80feffe1579818cdc39466152e9de95789a193408506cd4a1ffbe8804dc00
-# created: 2022-07-13T13:53:17.676447481Z
+  digest: sha256:8175681a918181d306d9c370d3262f16b4c724cc73d74111b7d42fc985ca7f93
diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
index 30fdb7b9..db2d8ad1 100644
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@ -8,3 +8,6 @@
 
 # The java-samples-reviewers team is the default owner for samples changes
 samples/**/*.java       @googleapis/java-samples-reviewers
+
+# Generated snippets should not be owned by samples reviewers
+samples/snippets/generated/       @googleapis/yoshi-java

From b27d4e9262f4bbf97937c4c71bb12bff3171dd6e Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate 
Date: Thu, 15 Sep 2022 14:20:13 +0200
Subject: [PATCH 5/6] deps: update dependency
 com.google.cloud:google-cloud-shared-dependencies to v3.0.3 (#676)
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.2` -> `3.0.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.3/compatibility-slim/3.0.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.3/confidence-slim/3.0.2)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

googleapis/java-shared-dependencies ### [`v3.0.3`](https://togithub.com/googleapis/java-shared-dependencies/blob/HEAD/CHANGELOG.md#​303-httpsgithubcomgoogleapisjava-shared-dependenciescomparev302v303-2022-09-14) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v3.0.2...v3.0.3) ##### Dependencies - Google-cloud-core 2.8.12 ([#​799](https://togithub.com/googleapis/java-shared-dependencies/issues/799)) ([1b3db8d](https://togithub.com/googleapis/java-shared-dependencies/commit/1b3db8d1e17c49ebae79fc96164fa9058e1df6e3)) - Moving gson to first-party-dependencies ([#​800](https://togithub.com/googleapis/java-shared-dependencies/issues/800)) ([a41fcc1](https://togithub.com/googleapis/java-shared-dependencies/commit/a41fcc11d32e02e5af2837561792e3919f6d4b3f)) - Update dependency com.google.protobuf:protobuf-bom to v3.21.6 ([#​797](https://togithub.com/googleapis/java-shared-dependencies/issues/797)) ([bc5fdc9](https://togithub.com/googleapis/java-shared-dependencies/commit/bc5fdc9b3af7973c28f063a9ac156fe2af562814)) - Update gax.version to v2.19.1 ([#​798](https://togithub.com/googleapis/java-shared-dependencies/issues/798)) ([84e5487](https://togithub.com/googleapis/java-shared-dependencies/commit/84e5487b2e3dce4bb60badecebde788c3cb702b8)) - Update google.core.version to v2.8.11 ([#​793](https://togithub.com/googleapis/java-shared-dependencies/issues/793)) ([63c1297](https://togithub.com/googleapis/java-shared-dependencies/commit/63c129722aa0b821031ff5b4c11004adf7b12044))
--- ### 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-memcache). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 6382437a..88fdd207 100644 --- a/pom.xml +++ b/pom.xml @@ -87,7 +87,7 @@ com.google.cloud google-cloud-shared-dependencies - 3.0.2 + 3.0.3 pom import From 268c46918a3f3b6c3a060e9eace71e011a32fbed Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 15 Sep 2022 12:48:19 +0000 Subject: [PATCH 6/6] chore(main): release 2.3.4 (#677) :robot: I have created a release *beep* *boop* --- ## [2.3.4](https://github.com/googleapis/java-memcache/compare/v2.3.3...v2.3.4) (2022-09-15) ### Dependencies * Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.3 ([#676](https://github.com/googleapis/java-memcache/issues/676)) ([b27d4e9](https://github.com/googleapis/java-memcache/commit/b27d4e9262f4bbf97937c4c71bb12bff3171dd6e)) --- 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-memcache-bom/pom.xml | 12 ++++++------ google-cloud-memcache/pom.xml | 4 ++-- grpc-google-cloud-memcache-v1/pom.xml | 4 ++-- grpc-google-cloud-memcache-v1beta2/pom.xml | 4 ++-- pom.xml | 12 ++++++------ proto-google-cloud-memcache-v1/pom.xml | 4 ++-- proto-google-cloud-memcache-v1beta2/pom.xml | 4 ++-- versions.txt | 10 +++++----- 9 files changed, 34 insertions(+), 27 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 943399fa..1847568a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [2.3.4](https://github.com/googleapis/java-memcache/compare/v2.3.3...v2.3.4) (2022-09-15) + + +### Dependencies + +* Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.3 ([#676](https://github.com/googleapis/java-memcache/issues/676)) ([b27d4e9](https://github.com/googleapis/java-memcache/commit/b27d4e9262f4bbf97937c4c71bb12bff3171dd6e)) + ## [2.3.3](https://github.com/googleapis/java-memcache/compare/v2.3.2...v2.3.3) (2022-09-09) diff --git a/google-cloud-memcache-bom/pom.xml b/google-cloud-memcache-bom/pom.xml index 0bef8cfe..b042e7df 100644 --- a/google-cloud-memcache-bom/pom.xml +++ b/google-cloud-memcache-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-memcache-bom - 2.3.4-SNAPSHOT + 2.3.4 pom com.google.cloud @@ -56,27 +56,27 @@ com.google.cloud google-cloud-memcache - 2.3.4-SNAPSHOT + 2.3.4 com.google.api.grpc grpc-google-cloud-memcache-v1beta2 - 0.10.4-SNAPSHOT + 0.10.4 com.google.api.grpc grpc-google-cloud-memcache-v1 - 2.3.4-SNAPSHOT + 2.3.4 com.google.api.grpc proto-google-cloud-memcache-v1beta2 - 0.10.4-SNAPSHOT + 0.10.4 com.google.api.grpc proto-google-cloud-memcache-v1 - 2.3.4-SNAPSHOT + 2.3.4 diff --git a/google-cloud-memcache/pom.xml b/google-cloud-memcache/pom.xml index 505ffc7e..102691bb 100644 --- a/google-cloud-memcache/pom.xml +++ b/google-cloud-memcache/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-memcache - 2.3.4-SNAPSHOT + 2.3.4 jar Google Cloud Memcache https://github.com/googleapis/java-memcache @@ -11,7 +11,7 @@ com.google.cloud google-cloud-memcache-parent - 2.3.4-SNAPSHOT + 2.3.4 google-cloud-memcache diff --git a/grpc-google-cloud-memcache-v1/pom.xml b/grpc-google-cloud-memcache-v1/pom.xml index 0054cb96..2e2e0dd6 100644 --- a/grpc-google-cloud-memcache-v1/pom.xml +++ b/grpc-google-cloud-memcache-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-memcache-v1 - 2.3.4-SNAPSHOT + 2.3.4 grpc-google-cloud-memcache-v1 GRPC library for grpc-google-cloud-memcache-v1 com.google.cloud google-cloud-memcache-parent - 2.3.4-SNAPSHOT + 2.3.4 diff --git a/grpc-google-cloud-memcache-v1beta2/pom.xml b/grpc-google-cloud-memcache-v1beta2/pom.xml index 3688fea7..0e0aef86 100644 --- a/grpc-google-cloud-memcache-v1beta2/pom.xml +++ b/grpc-google-cloud-memcache-v1beta2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-memcache-v1beta2 - 0.10.4-SNAPSHOT + 0.10.4 grpc-google-cloud-memcache-v1beta2 GRPC library for grpc-google-cloud-memcache-v1beta2 com.google.cloud google-cloud-memcache-parent - 2.3.4-SNAPSHOT + 2.3.4 diff --git a/pom.xml b/pom.xml index 88fdd207..06b1bcdb 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-memcache-parent pom - 2.3.4-SNAPSHOT + 2.3.4 Google Cloud Memcache Parent https://github.com/googleapis/java-memcache @@ -61,27 +61,27 @@ com.google.api.grpc proto-google-cloud-memcache-v1beta2 - 0.10.4-SNAPSHOT + 0.10.4 com.google.api.grpc grpc-google-cloud-memcache-v1beta2 - 0.10.4-SNAPSHOT + 0.10.4 com.google.api.grpc proto-google-cloud-memcache-v1 - 2.3.4-SNAPSHOT + 2.3.4 com.google.api.grpc grpc-google-cloud-memcache-v1 - 2.3.4-SNAPSHOT + 2.3.4 com.google.cloud google-cloud-memcache - 2.3.4-SNAPSHOT + 2.3.4 diff --git a/proto-google-cloud-memcache-v1/pom.xml b/proto-google-cloud-memcache-v1/pom.xml index 81f15146..0096355d 100644 --- a/proto-google-cloud-memcache-v1/pom.xml +++ b/proto-google-cloud-memcache-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-memcache-v1 - 2.3.4-SNAPSHOT + 2.3.4 proto-google-cloud-memcache-v1 PROTO library for proto-google-cloud-memcache-v1 com.google.cloud google-cloud-memcache-parent - 2.3.4-SNAPSHOT + 2.3.4 diff --git a/proto-google-cloud-memcache-v1beta2/pom.xml b/proto-google-cloud-memcache-v1beta2/pom.xml index c212b36e..121a9b53 100644 --- a/proto-google-cloud-memcache-v1beta2/pom.xml +++ b/proto-google-cloud-memcache-v1beta2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-memcache-v1beta2 - 0.10.4-SNAPSHOT + 0.10.4 proto-google-cloud-memcache-v1beta2 PROTO library for proto-google-cloud-memcache-v1beta2 com.google.cloud google-cloud-memcache-parent - 2.3.4-SNAPSHOT + 2.3.4 diff --git a/versions.txt b/versions.txt index 64b205ff..e603d7fa 100644 --- a/versions.txt +++ b/versions.txt @@ -1,8 +1,8 @@ # Format: # module:released-version:current-version -google-cloud-memcache:2.3.3:2.3.4-SNAPSHOT -grpc-google-cloud-memcache-v1beta2:0.10.3:0.10.4-SNAPSHOT -grpc-google-cloud-memcache-v1:2.3.3:2.3.4-SNAPSHOT -proto-google-cloud-memcache-v1beta2:0.10.3:0.10.4-SNAPSHOT -proto-google-cloud-memcache-v1:2.3.3:2.3.4-SNAPSHOT +google-cloud-memcache:2.3.4:2.3.4 +grpc-google-cloud-memcache-v1beta2:0.10.4:0.10.4 +grpc-google-cloud-memcache-v1:2.3.4:2.3.4 +proto-google-cloud-memcache-v1beta2:0.10.4:0.10.4 +proto-google-cloud-memcache-v1:2.3.4:2.3.4