diff --git a/java-gke-backup/google-cloud-gke-backup/src/main/java/com/google/cloud/gkebackup/v1/BackupForGKEClient.java b/java-gke-backup/google-cloud-gke-backup/src/main/java/com/google/cloud/gkebackup/v1/BackupForGKEClient.java index 47ee24f2b5e4..20e030d7ffe9 100644 --- a/java-gke-backup/google-cloud-gke-backup/src/main/java/com/google/cloud/gkebackup/v1/BackupForGKEClient.java +++ b/java-gke-backup/google-cloud-gke-backup/src/main/java/com/google/cloud/gkebackup/v1/BackupForGKEClient.java @@ -48,8 +48,11 @@ * calls that map to API methods. Sample code to get started: * *
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
  *   BackupPlanName name = BackupPlanName.of("[PROJECT]", "[LOCATION]", "[BACKUP_PLAN]");
  *   BackupPlan response = backupForGKEClient.getBackupPlan(name);
@@ -85,8 +88,11 @@
  * 

To customize credentials: * *

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

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * BackupForGKESettings backupForGKESettings =
  *     BackupForGKESettings.newBuilder().setEndpoint(myEndpoint).build();
  * BackupForGKEClient backupForGKEClient = BackupForGKEClient.create(backupForGKESettings);
@@ -108,8 +117,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
  * BackupForGKESettings backupForGKESettings =
  *     BackupForGKESettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -201,8 +213,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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   BackupPlan backupPlan = BackupPlan.newBuilder().build();
@@ -240,8 +255,11 @@ public final OperationFuture createBackupPlanAsyn
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   BackupPlan backupPlan = BackupPlan.newBuilder().build();
@@ -279,8 +297,11 @@ public final OperationFuture createBackupPlanAsyn
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   CreateBackupPlanRequest request =
    *       CreateBackupPlanRequest.newBuilder()
@@ -307,8 +328,11 @@ public final OperationFuture createBackupPlanAsyn
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   CreateBackupPlanRequest request =
    *       CreateBackupPlanRequest.newBuilder()
@@ -335,8 +359,11 @@ public final OperationFuture createBackupPlanAsyn
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   CreateBackupPlanRequest request =
    *       CreateBackupPlanRequest.newBuilder()
@@ -362,8 +389,11 @@ public final UnaryCallable createBackupPlanC
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (BackupPlan element : backupForGKEClient.listBackupPlans(parent).iterateAll()) {
@@ -391,8 +421,11 @@ public final ListBackupPlansPagedResponse listBackupPlans(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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   for (BackupPlan element : backupForGKEClient.listBackupPlans(parent).iterateAll()) {
@@ -417,8 +450,11 @@ public final ListBackupPlansPagedResponse listBackupPlans(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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   ListBackupPlansRequest request =
    *       ListBackupPlansRequest.newBuilder()
@@ -448,8 +484,11 @@ public final ListBackupPlansPagedResponse listBackupPlans(ListBackupPlansRequest
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   ListBackupPlansRequest request =
    *       ListBackupPlansRequest.newBuilder()
@@ -480,8 +519,11 @@ public final ListBackupPlansPagedResponse listBackupPlans(ListBackupPlansRequest
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   ListBackupPlansRequest request =
    *       ListBackupPlansRequest.newBuilder()
@@ -519,8 +561,11 @@ public final ListBackupPlansPagedResponse listBackupPlans(ListBackupPlansRequest
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   BackupPlanName name = BackupPlanName.of("[PROJECT]", "[LOCATION]", "[BACKUP_PLAN]");
    *   BackupPlan response = backupForGKEClient.getBackupPlan(name);
@@ -544,8 +589,11 @@ public final BackupPlan getBackupPlan(BackupPlanName 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   String name = BackupPlanName.of("[PROJECT]", "[LOCATION]", "[BACKUP_PLAN]").toString();
    *   BackupPlan response = backupForGKEClient.getBackupPlan(name);
@@ -568,8 +616,11 @@ public final BackupPlan getBackupPlan(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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   GetBackupPlanRequest request =
    *       GetBackupPlanRequest.newBuilder()
@@ -593,8 +644,11 @@ public final BackupPlan getBackupPlan(GetBackupPlanRequest 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   GetBackupPlanRequest request =
    *       GetBackupPlanRequest.newBuilder()
@@ -617,8 +671,11 @@ public final UnaryCallable getBackupPlanCallab
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   BackupPlan backupPlan = BackupPlan.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -654,8 +711,11 @@ public final OperationFuture updateBackupPlanAsyn
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   UpdateBackupPlanRequest request =
    *       UpdateBackupPlanRequest.newBuilder()
@@ -681,8 +741,11 @@ public final OperationFuture updateBackupPlanAsyn
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   UpdateBackupPlanRequest request =
    *       UpdateBackupPlanRequest.newBuilder()
@@ -708,8 +771,11 @@ public final OperationFuture updateBackupPlanAsyn
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   UpdateBackupPlanRequest request =
    *       UpdateBackupPlanRequest.newBuilder()
@@ -734,8 +800,11 @@ public final UnaryCallable updateBackupPlanC
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   BackupPlanName name = BackupPlanName.of("[PROJECT]", "[LOCATION]", "[BACKUP_PLAN]");
    *   backupForGKEClient.deleteBackupPlanAsync(name).get();
@@ -760,8 +829,11 @@ public final OperationFuture deleteBackupPlanAsync(
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   String name = BackupPlanName.of("[PROJECT]", "[LOCATION]", "[BACKUP_PLAN]").toString();
    *   backupForGKEClient.deleteBackupPlanAsync(name).get();
@@ -784,8 +856,11 @@ public final OperationFuture deleteBackupPlanAsync(Str
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   DeleteBackupPlanRequest request =
    *       DeleteBackupPlanRequest.newBuilder()
@@ -811,8 +886,11 @@ public final OperationFuture deleteBackupPlanAsync(
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   DeleteBackupPlanRequest request =
    *       DeleteBackupPlanRequest.newBuilder()
@@ -838,8 +916,11 @@ public final OperationFuture deleteBackupPlanAsync(
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   DeleteBackupPlanRequest request =
    *       DeleteBackupPlanRequest.newBuilder()
@@ -864,8 +945,11 @@ public final UnaryCallable deleteBackupPlanC
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   BackupPlanName parent = BackupPlanName.of("[PROJECT]", "[LOCATION]", "[BACKUP_PLAN]");
    *   Backup backup = Backup.newBuilder().build();
@@ -901,8 +985,11 @@ public final OperationFuture createBackupAsync(
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   String parent = BackupPlanName.of("[PROJECT]", "[LOCATION]", "[BACKUP_PLAN]").toString();
    *   Backup backup = Backup.newBuilder().build();
@@ -938,8 +1025,11 @@ public final OperationFuture createBackupAsync(
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   CreateBackupRequest request =
    *       CreateBackupRequest.newBuilder()
@@ -966,8 +1056,11 @@ public final OperationFuture createBackupAsync(
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   CreateBackupRequest request =
    *       CreateBackupRequest.newBuilder()
@@ -994,8 +1087,11 @@ public final OperationFuture createBackupAsync(
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   CreateBackupRequest request =
    *       CreateBackupRequest.newBuilder()
@@ -1020,8 +1116,11 @@ public final UnaryCallable createBackupCallable(
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   BackupPlanName parent = BackupPlanName.of("[PROJECT]", "[LOCATION]", "[BACKUP_PLAN]");
    *   for (Backup element : backupForGKEClient.listBackups(parent).iterateAll()) {
@@ -1049,8 +1148,11 @@ public final ListBackupsPagedResponse listBackups(BackupPlanName 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   String parent = BackupPlanName.of("[PROJECT]", "[LOCATION]", "[BACKUP_PLAN]").toString();
    *   for (Backup element : backupForGKEClient.listBackups(parent).iterateAll()) {
@@ -1075,8 +1177,11 @@ public final ListBackupsPagedResponse listBackups(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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   ListBackupsRequest request =
    *       ListBackupsRequest.newBuilder()
@@ -1106,8 +1211,11 @@ public final ListBackupsPagedResponse listBackups(ListBackupsRequest 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   ListBackupsRequest request =
    *       ListBackupsRequest.newBuilder()
@@ -1137,8 +1245,11 @@ public final ListBackupsPagedResponse listBackups(ListBackupsRequest 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   ListBackupsRequest request =
    *       ListBackupsRequest.newBuilder()
@@ -1174,8 +1285,11 @@ public final UnaryCallable listBackupsC
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   BackupName name = BackupName.of("[PROJECT]", "[LOCATION]", "[BACKUP_PLAN]", "[BACKUP]");
    *   Backup response = backupForGKEClient.getBackup(name);
@@ -1199,8 +1313,11 @@ public final Backup getBackup(BackupName 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   String name =
    *       BackupName.of("[PROJECT]", "[LOCATION]", "[BACKUP_PLAN]", "[BACKUP]").toString();
@@ -1224,8 +1341,11 @@ public final Backup getBackup(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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   GetBackupRequest request =
    *       GetBackupRequest.newBuilder()
@@ -1250,8 +1370,11 @@ public final Backup getBackup(GetBackupRequest 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   GetBackupRequest request =
    *       GetBackupRequest.newBuilder()
@@ -1275,8 +1398,11 @@ public final UnaryCallable getBackupCallable() {
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   Backup backup = Backup.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -1308,8 +1434,11 @@ public final OperationFuture updateBackupAsync(
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   UpdateBackupRequest request =
    *       UpdateBackupRequest.newBuilder()
@@ -1335,8 +1464,11 @@ public final OperationFuture updateBackupAsync(
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   UpdateBackupRequest request =
    *       UpdateBackupRequest.newBuilder()
@@ -1362,8 +1494,11 @@ public final OperationFuture updateBackupAsync(
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   UpdateBackupRequest request =
    *       UpdateBackupRequest.newBuilder()
@@ -1387,8 +1522,11 @@ public final UnaryCallable updateBackupCallable(
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   BackupName name = BackupName.of("[PROJECT]", "[LOCATION]", "[BACKUP_PLAN]", "[BACKUP]");
    *   backupForGKEClient.deleteBackupAsync(name).get();
@@ -1412,8 +1550,11 @@ public final OperationFuture deleteBackupAsync(BackupN
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   String name =
    *       BackupName.of("[PROJECT]", "[LOCATION]", "[BACKUP_PLAN]", "[BACKUP]").toString();
@@ -1437,8 +1578,11 @@ public final OperationFuture deleteBackupAsync(String
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   DeleteBackupRequest request =
    *       DeleteBackupRequest.newBuilder()
@@ -1466,8 +1610,11 @@ public final OperationFuture deleteBackupAsync(
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   DeleteBackupRequest request =
    *       DeleteBackupRequest.newBuilder()
@@ -1495,8 +1642,11 @@ public final OperationFuture deleteBackupAsync(
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   DeleteBackupRequest request =
    *       DeleteBackupRequest.newBuilder()
@@ -1522,8 +1672,11 @@ public final UnaryCallable deleteBackupCallable(
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   BackupName parent = BackupName.of("[PROJECT]", "[LOCATION]", "[BACKUP_PLAN]", "[BACKUP]");
    *   for (VolumeBackup element : backupForGKEClient.listVolumeBackups(parent).iterateAll()) {
@@ -1551,8 +1704,11 @@ public final ListVolumeBackupsPagedResponse listVolumeBackups(BackupName 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   String parent =
    *       BackupName.of("[PROJECT]", "[LOCATION]", "[BACKUP_PLAN]", "[BACKUP]").toString();
@@ -1579,8 +1735,11 @@ public final ListVolumeBackupsPagedResponse listVolumeBackups(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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   ListVolumeBackupsRequest request =
    *       ListVolumeBackupsRequest.newBuilder()
@@ -1611,8 +1770,11 @@ public final ListVolumeBackupsPagedResponse listVolumeBackups(ListVolumeBackupsR
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   ListVolumeBackupsRequest request =
    *       ListVolumeBackupsRequest.newBuilder()
@@ -1644,8 +1806,11 @@ public final ListVolumeBackupsPagedResponse listVolumeBackups(ListVolumeBackupsR
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   ListVolumeBackupsRequest request =
    *       ListVolumeBackupsRequest.newBuilder()
@@ -1684,8 +1849,11 @@ public final ListVolumeBackupsPagedResponse listVolumeBackups(ListVolumeBackupsR
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   VolumeBackupName name =
    *       VolumeBackupName.of(
@@ -1711,8 +1879,11 @@ public final VolumeBackup getVolumeBackup(VolumeBackupName 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   String name =
    *       VolumeBackupName.of(
@@ -1738,8 +1909,11 @@ public final VolumeBackup getVolumeBackup(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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   GetVolumeBackupRequest request =
    *       GetVolumeBackupRequest.newBuilder()
@@ -1766,8 +1940,11 @@ public final VolumeBackup getVolumeBackup(GetVolumeBackupRequest 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   GetVolumeBackupRequest request =
    *       GetVolumeBackupRequest.newBuilder()
@@ -1794,8 +1971,11 @@ public final UnaryCallable getVolumeBackup
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   RestorePlan restorePlan = RestorePlan.newBuilder().build();
@@ -1833,8 +2013,11 @@ public final OperationFuture createRestorePlanAs
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   RestorePlan restorePlan = RestorePlan.newBuilder().build();
@@ -1872,8 +2055,11 @@ public final OperationFuture createRestorePlanAs
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   CreateRestorePlanRequest request =
    *       CreateRestorePlanRequest.newBuilder()
@@ -1900,8 +2086,11 @@ public final OperationFuture createRestorePlanAs
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   CreateRestorePlanRequest request =
    *       CreateRestorePlanRequest.newBuilder()
@@ -1928,8 +2117,11 @@ public final OperationFuture createRestorePlanAs
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   CreateRestorePlanRequest request =
    *       CreateRestorePlanRequest.newBuilder()
@@ -1955,8 +2147,11 @@ public final UnaryCallable createRestorePla
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (RestorePlan element : backupForGKEClient.listRestorePlans(parent).iterateAll()) {
@@ -1984,8 +2179,11 @@ public final ListRestorePlansPagedResponse listRestorePlans(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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   for (RestorePlan element : backupForGKEClient.listRestorePlans(parent).iterateAll()) {
@@ -2011,8 +2209,11 @@ public final ListRestorePlansPagedResponse listRestorePlans(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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   ListRestorePlansRequest request =
    *       ListRestorePlansRequest.newBuilder()
@@ -2042,8 +2243,11 @@ public final ListRestorePlansPagedResponse listRestorePlans(ListRestorePlansRequ
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   ListRestorePlansRequest request =
    *       ListRestorePlansRequest.newBuilder()
@@ -2074,8 +2278,11 @@ public final ListRestorePlansPagedResponse listRestorePlans(ListRestorePlansRequ
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   ListRestorePlansRequest request =
    *       ListRestorePlansRequest.newBuilder()
@@ -2113,8 +2320,11 @@ public final ListRestorePlansPagedResponse listRestorePlans(ListRestorePlansRequ
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   RestorePlanName name = RestorePlanName.of("[PROJECT]", "[LOCATION]", "[RESTORE_PLAN]");
    *   RestorePlan response = backupForGKEClient.getRestorePlan(name);
@@ -2138,8 +2348,11 @@ public final RestorePlan getRestorePlan(RestorePlanName 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   String name = RestorePlanName.of("[PROJECT]", "[LOCATION]", "[RESTORE_PLAN]").toString();
    *   RestorePlan response = backupForGKEClient.getRestorePlan(name);
@@ -2162,8 +2375,11 @@ public final RestorePlan getRestorePlan(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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   GetRestorePlanRequest request =
    *       GetRestorePlanRequest.newBuilder()
@@ -2187,8 +2403,11 @@ public final RestorePlan getRestorePlan(GetRestorePlanRequest 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   GetRestorePlanRequest request =
    *       GetRestorePlanRequest.newBuilder()
@@ -2212,8 +2431,11 @@ public final UnaryCallable getRestorePlanCal
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   RestorePlan restorePlan = RestorePlan.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -2249,8 +2471,11 @@ public final OperationFuture updateRestorePlanAs
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   UpdateRestorePlanRequest request =
    *       UpdateRestorePlanRequest.newBuilder()
@@ -2276,8 +2501,11 @@ public final OperationFuture updateRestorePlanAs
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   UpdateRestorePlanRequest request =
    *       UpdateRestorePlanRequest.newBuilder()
@@ -2303,8 +2531,11 @@ public final OperationFuture updateRestorePlanAs
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   UpdateRestorePlanRequest request =
    *       UpdateRestorePlanRequest.newBuilder()
@@ -2329,8 +2560,11 @@ public final UnaryCallable updateRestorePla
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   RestorePlanName name = RestorePlanName.of("[PROJECT]", "[LOCATION]", "[RESTORE_PLAN]");
    *   backupForGKEClient.deleteRestorePlanAsync(name).get();
@@ -2357,8 +2591,11 @@ public final OperationFuture deleteRestorePlanAsync(
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   String name = RestorePlanName.of("[PROJECT]", "[LOCATION]", "[RESTORE_PLAN]").toString();
    *   backupForGKEClient.deleteRestorePlanAsync(name).get();
@@ -2381,8 +2618,11 @@ public final OperationFuture deleteRestorePlanAsync(St
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   DeleteRestorePlanRequest request =
    *       DeleteRestorePlanRequest.newBuilder()
@@ -2409,8 +2649,11 @@ public final OperationFuture deleteRestorePlanAsync(
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   DeleteRestorePlanRequest request =
    *       DeleteRestorePlanRequest.newBuilder()
@@ -2437,8 +2680,11 @@ public final OperationFuture deleteRestorePlanAsync(
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   DeleteRestorePlanRequest request =
    *       DeleteRestorePlanRequest.newBuilder()
@@ -2464,8 +2710,11 @@ public final UnaryCallable deleteRestorePla
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   RestorePlanName parent = RestorePlanName.of("[PROJECT]", "[LOCATION]", "[RESTORE_PLAN]");
    *   Restore restore = Restore.newBuilder().build();
@@ -2502,8 +2751,11 @@ public final OperationFuture createRestoreAsync(
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   String parent = RestorePlanName.of("[PROJECT]", "[LOCATION]", "[RESTORE_PLAN]").toString();
    *   Restore restore = Restore.newBuilder().build();
@@ -2540,8 +2792,11 @@ public final OperationFuture createRestoreAsync(
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   CreateRestoreRequest request =
    *       CreateRestoreRequest.newBuilder()
@@ -2568,8 +2823,11 @@ public final OperationFuture createRestoreAsync(
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   CreateRestoreRequest request =
    *       CreateRestoreRequest.newBuilder()
@@ -2596,8 +2854,11 @@ public final OperationFuture createRestoreAsync(
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   CreateRestoreRequest request =
    *       CreateRestoreRequest.newBuilder()
@@ -2622,8 +2883,11 @@ public final UnaryCallable createRestoreCallabl
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   RestorePlanName parent = RestorePlanName.of("[PROJECT]", "[LOCATION]", "[RESTORE_PLAN]");
    *   for (Restore element : backupForGKEClient.listRestores(parent).iterateAll()) {
@@ -2651,8 +2915,11 @@ public final ListRestoresPagedResponse listRestores(RestorePlanName 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   String parent = RestorePlanName.of("[PROJECT]", "[LOCATION]", "[RESTORE_PLAN]").toString();
    *   for (Restore element : backupForGKEClient.listRestores(parent).iterateAll()) {
@@ -2677,8 +2944,11 @@ public final ListRestoresPagedResponse listRestores(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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   ListRestoresRequest request =
    *       ListRestoresRequest.newBuilder()
@@ -2708,8 +2978,11 @@ public final ListRestoresPagedResponse listRestores(ListRestoresRequest 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   ListRestoresRequest request =
    *       ListRestoresRequest.newBuilder()
@@ -2740,8 +3013,11 @@ public final ListRestoresPagedResponse listRestores(ListRestoresRequest 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   ListRestoresRequest request =
    *       ListRestoresRequest.newBuilder()
@@ -2777,8 +3053,11 @@ public final UnaryCallable listRestor
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   RestoreName name = RestoreName.of("[PROJECT]", "[LOCATION]", "[RESTORE_PLAN]", "[RESTORE]");
    *   Restore response = backupForGKEClient.getRestore(name);
@@ -2802,8 +3081,11 @@ public final Restore getRestore(RestoreName 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   String name =
    *       RestoreName.of("[PROJECT]", "[LOCATION]", "[RESTORE_PLAN]", "[RESTORE]").toString();
@@ -2827,8 +3109,11 @@ public final Restore getRestore(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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   GetRestoreRequest request =
    *       GetRestoreRequest.newBuilder()
@@ -2854,8 +3139,11 @@ public final Restore getRestore(GetRestoreRequest 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   GetRestoreRequest request =
    *       GetRestoreRequest.newBuilder()
@@ -2880,8 +3168,11 @@ public final UnaryCallable getRestoreCallable() {
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   Restore restore = Restore.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -2913,8 +3204,11 @@ public final OperationFuture updateRestoreAsync(
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   UpdateRestoreRequest request =
    *       UpdateRestoreRequest.newBuilder()
@@ -2940,8 +3234,11 @@ public final OperationFuture updateRestoreAsync(
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   UpdateRestoreRequest request =
    *       UpdateRestoreRequest.newBuilder()
@@ -2967,8 +3264,11 @@ public final OperationFuture updateRestoreAsync(
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   UpdateRestoreRequest request =
    *       UpdateRestoreRequest.newBuilder()
@@ -2992,8 +3292,11 @@ public final UnaryCallable updateRestoreCallabl
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   RestoreName name = RestoreName.of("[PROJECT]", "[LOCATION]", "[RESTORE_PLAN]", "[RESTORE]");
    *   backupForGKEClient.deleteRestoreAsync(name).get();
@@ -3017,8 +3320,11 @@ public final OperationFuture deleteRestoreAsync(Restor
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   String name =
    *       RestoreName.of("[PROJECT]", "[LOCATION]", "[RESTORE_PLAN]", "[RESTORE]").toString();
@@ -3042,8 +3348,11 @@ public final OperationFuture deleteRestoreAsync(String
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   DeleteRestoreRequest request =
    *       DeleteRestoreRequest.newBuilder()
@@ -3072,8 +3381,11 @@ public final OperationFuture deleteRestoreAsync(
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   DeleteRestoreRequest request =
    *       DeleteRestoreRequest.newBuilder()
@@ -3102,8 +3414,11 @@ public final OperationFuture deleteRestoreAsync(
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   DeleteRestoreRequest request =
    *       DeleteRestoreRequest.newBuilder()
@@ -3130,8 +3445,11 @@ public final UnaryCallable deleteRestoreCallabl
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   RestoreName parent = RestoreName.of("[PROJECT]", "[LOCATION]", "[RESTORE_PLAN]", "[RESTORE]");
    *   for (VolumeRestore element : backupForGKEClient.listVolumeRestores(parent).iterateAll()) {
@@ -3159,8 +3477,11 @@ public final ListVolumeRestoresPagedResponse listVolumeRestores(RestoreName pare
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   String parent =
    *       RestoreName.of("[PROJECT]", "[LOCATION]", "[RESTORE_PLAN]", "[RESTORE]").toString();
@@ -3187,8 +3508,11 @@ public final ListVolumeRestoresPagedResponse listVolumeRestores(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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   ListVolumeRestoresRequest request =
    *       ListVolumeRestoresRequest.newBuilder()
@@ -3221,8 +3545,11 @@ public final ListVolumeRestoresPagedResponse listVolumeRestores(
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   ListVolumeRestoresRequest request =
    *       ListVolumeRestoresRequest.newBuilder()
@@ -3255,8 +3582,11 @@ public final ListVolumeRestoresPagedResponse listVolumeRestores(
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   ListVolumeRestoresRequest request =
    *       ListVolumeRestoresRequest.newBuilder()
@@ -3296,8 +3626,11 @@ public final ListVolumeRestoresPagedResponse listVolumeRestores(
    * 

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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   VolumeRestoreName name =
    *       VolumeRestoreName.of(
@@ -3323,8 +3656,11 @@ public final VolumeRestore getVolumeRestore(VolumeRestoreName 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   String name =
    *       VolumeRestoreName.of(
@@ -3350,8 +3686,11 @@ public final VolumeRestore getVolumeRestore(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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   GetVolumeRestoreRequest request =
    *       GetVolumeRestoreRequest.newBuilder()
@@ -3382,8 +3721,11 @@ public final VolumeRestore getVolumeRestore(GetVolumeRestoreRequest 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
    *   GetVolumeRestoreRequest request =
    *       GetVolumeRestoreRequest.newBuilder()
diff --git a/java-gke-backup/google-cloud-gke-backup/src/main/java/com/google/cloud/gkebackup/v1/BackupForGKESettings.java b/java-gke-backup/google-cloud-gke-backup/src/main/java/com/google/cloud/gkebackup/v1/BackupForGKESettings.java
index c4202feb2efb..5efc0bc73e86 100644
--- a/java-gke-backup/google-cloud-gke-backup/src/main/java/com/google/cloud/gkebackup/v1/BackupForGKESettings.java
+++ b/java-gke-backup/google-cloud-gke-backup/src/main/java/com/google/cloud/gkebackup/v1/BackupForGKESettings.java
@@ -61,16 +61,16 @@
  * 

For example, to set the total timeout of getBackupPlan 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
  * BackupForGKESettings.Builder backupForGKESettingsBuilder = BackupForGKESettings.newBuilder();
  * backupForGKESettingsBuilder
  *     .getBackupPlanSettings()
  *     .setRetrySettings(
- *         backupForGKESettingsBuilder
- *             .getBackupPlanSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         backupForGKESettingsBuilder.getBackupPlanSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * BackupForGKESettings backupForGKESettings = backupForGKESettingsBuilder.build();
diff --git a/java-gke-backup/google-cloud-gke-backup/src/main/java/com/google/cloud/gkebackup/v1/package-info.java b/java-gke-backup/google-cloud-gke-backup/src/main/java/com/google/cloud/gkebackup/v1/package-info.java
index 31985258c8b7..4d8f712cf5bb 100644
--- a/java-gke-backup/google-cloud-gke-backup/src/main/java/com/google/cloud/gkebackup/v1/package-info.java
+++ b/java-gke-backup/google-cloud-gke-backup/src/main/java/com/google/cloud/gkebackup/v1/package-info.java
@@ -27,8 +27,11 @@
  * 

Sample for BackupForGKEClient: * *

{@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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
  *   BackupPlanName name = BackupPlanName.of("[PROJECT]", "[LOCATION]", "[BACKUP_PLAN]");
  *   BackupPlan response = backupForGKEClient.getBackupPlan(name);
diff --git a/java-gke-backup/google-cloud-gke-backup/src/main/java/com/google/cloud/gkebackup/v1/stub/BackupForGKEStubSettings.java b/java-gke-backup/google-cloud-gke-backup/src/main/java/com/google/cloud/gkebackup/v1/stub/BackupForGKEStubSettings.java
index 854c954878d5..002fd7af422a 100644
--- a/java-gke-backup/google-cloud-gke-backup/src/main/java/com/google/cloud/gkebackup/v1/stub/BackupForGKEStubSettings.java
+++ b/java-gke-backup/google-cloud-gke-backup/src/main/java/com/google/cloud/gkebackup/v1/stub/BackupForGKEStubSettings.java
@@ -118,17 +118,17 @@
  * 

For example, to set the total timeout of getBackupPlan 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
  * BackupForGKEStubSettings.Builder backupForGKESettingsBuilder =
  *     BackupForGKEStubSettings.newBuilder();
  * backupForGKESettingsBuilder
  *     .getBackupPlanSettings()
  *     .setRetrySettings(
- *         backupForGKESettingsBuilder
- *             .getBackupPlanSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         backupForGKESettingsBuilder.getBackupPlanSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * BackupForGKEStubSettings backupForGKESettings = backupForGKESettingsBuilder.build();
diff --git a/java-gke-backup/google-cloud-gke-backup/src/main/java/com/google/cloud/gkebackup/v1/stub/HttpJsonBackupForGKEStub.java b/java-gke-backup/google-cloud-gke-backup/src/main/java/com/google/cloud/gkebackup/v1/stub/HttpJsonBackupForGKEStub.java
index a726aa18b4c7..7a0eaf1f1343 100644
--- a/java-gke-backup/google-cloud-gke-backup/src/main/java/com/google/cloud/gkebackup/v1/stub/HttpJsonBackupForGKEStub.java
+++ b/java-gke-backup/google-cloud-gke-backup/src/main/java/com/google/cloud/gkebackup/v1/stub/HttpJsonBackupForGKEStub.java
@@ -134,7 +134,7 @@ public class HttpJsonBackupForGKEStub extends BackupForGKEStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("backupPlan", request.getBackupPlan()))
+                                  .toBody("backupPlan", request.getBackupPlan(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -245,7 +245,7 @@ public class HttpJsonBackupForGKEStub extends BackupForGKEStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("backupPlan", request.getBackupPlan()))
+                                  .toBody("backupPlan", request.getBackupPlan(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -321,7 +321,8 @@ public class HttpJsonBackupForGKEStub extends BackupForGKEStub {
                           })
                       .setRequestBodyExtractor(
                           request ->
-                              ProtoRestSerializer.create().toBody("backup", request.getBackup()))
+                              ProtoRestSerializer.create()
+                                  .toBody("backup", request.getBackup(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -430,7 +431,8 @@ public class HttpJsonBackupForGKEStub extends BackupForGKEStub {
                           })
                       .setRequestBodyExtractor(
                           request ->
-                              ProtoRestSerializer.create().toBody("backup", request.getBackup()))
+                              ProtoRestSerializer.create()
+                                  .toBody("backup", request.getBackup(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -579,7 +581,7 @@ public class HttpJsonBackupForGKEStub extends BackupForGKEStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("restorePlan", request.getRestorePlan()))
+                                  .toBody("restorePlan", request.getRestorePlan(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -690,7 +692,7 @@ public class HttpJsonBackupForGKEStub extends BackupForGKEStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("restorePlan", request.getRestorePlan()))
+                                  .toBody("restorePlan", request.getRestorePlan(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -767,7 +769,8 @@ public class HttpJsonBackupForGKEStub extends BackupForGKEStub {
                           })
                       .setRequestBodyExtractor(
                           request ->
-                              ProtoRestSerializer.create().toBody("restore", request.getRestore()))
+                              ProtoRestSerializer.create()
+                                  .toBody("restore", request.getRestore(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -876,7 +879,8 @@ public class HttpJsonBackupForGKEStub extends BackupForGKEStub {
                           })
                       .setRequestBodyExtractor(
                           request ->
-                              ProtoRestSerializer.create().toBody("restore", request.getRestore()))
+                              ProtoRestSerializer.create()
+                                  .toBody("restore", request.getRestore(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/create/SyncCreateSetCredentialsProvider.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/create/SyncCreateSetCredentialsProvider.java
index 14347da4e3bd..e620ed907f57 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/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
     BackupForGKESettings backupForGKESettings =
         BackupForGKESettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/create/SyncCreateSetCredentialsProvider1.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/create/SyncCreateSetCredentialsProvider1.java
index 9595c033fba8..12c2f9802c65 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/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
     BackupForGKESettings backupForGKESettings =
         BackupForGKESettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/create/SyncCreateSetEndpoint.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/create/SyncCreateSetEndpoint.java
index c0a8397bf97d..d23652447b17 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/create/SyncCreateSetEndpoint.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/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
     BackupForGKESettings backupForGKESettings =
         BackupForGKESettings.newBuilder().setEndpoint(myEndpoint).build();
     BackupForGKEClient backupForGKEClient = BackupForGKEClient.create(backupForGKESettings);
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createbackup/AsyncCreateBackup.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createbackup/AsyncCreateBackup.java
index 17c27d017c62..082f1af5047d 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createbackup/AsyncCreateBackup.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createbackup/AsyncCreateBackup.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateBackup() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       CreateBackupRequest request =
           CreateBackupRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createbackup/AsyncCreateBackupLRO.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createbackup/AsyncCreateBackupLRO.java
index aa3d3f49c6b9..62462d53c5bb 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createbackup/AsyncCreateBackupLRO.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createbackup/AsyncCreateBackupLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateBackupLRO() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       CreateBackupRequest request =
           CreateBackupRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createbackup/SyncCreateBackup.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createbackup/SyncCreateBackup.java
index a342df388fdd..3fd625cb3249 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createbackup/SyncCreateBackup.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createbackup/SyncCreateBackup.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateBackup() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       CreateBackupRequest request =
           CreateBackupRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createbackup/SyncCreateBackupBackupplannameBackupString.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createbackup/SyncCreateBackupBackupplannameBackupString.java
index 80cdb5ccfb2f..6fe022756a39 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createbackup/SyncCreateBackupBackupplannameBackupString.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createbackup/SyncCreateBackupBackupplannameBackupString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateBackupBackupplannameBackupString() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       BackupPlanName parent = BackupPlanName.of("[PROJECT]", "[LOCATION]", "[BACKUP_PLAN]");
       Backup backup = Backup.newBuilder().build();
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createbackup/SyncCreateBackupStringBackupString.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createbackup/SyncCreateBackupStringBackupString.java
index f5b3f891ac75..706003377429 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createbackup/SyncCreateBackupStringBackupString.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createbackup/SyncCreateBackupStringBackupString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateBackupStringBackupString() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       String parent = BackupPlanName.of("[PROJECT]", "[LOCATION]", "[BACKUP_PLAN]").toString();
       Backup backup = Backup.newBuilder().build();
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createbackupplan/AsyncCreateBackupPlan.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createbackupplan/AsyncCreateBackupPlan.java
index 9e798ab511b6..49d83c1fd877 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createbackupplan/AsyncCreateBackupPlan.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createbackupplan/AsyncCreateBackupPlan.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateBackupPlan() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       CreateBackupPlanRequest request =
           CreateBackupPlanRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createbackupplan/AsyncCreateBackupPlanLRO.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createbackupplan/AsyncCreateBackupPlanLRO.java
index 9f66284846ab..4508d39f6f53 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createbackupplan/AsyncCreateBackupPlanLRO.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createbackupplan/AsyncCreateBackupPlanLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateBackupPlanLRO() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       CreateBackupPlanRequest request =
           CreateBackupPlanRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createbackupplan/SyncCreateBackupPlan.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createbackupplan/SyncCreateBackupPlan.java
index 176bb434a6b3..f88246f2fb75 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createbackupplan/SyncCreateBackupPlan.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createbackupplan/SyncCreateBackupPlan.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateBackupPlan() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       CreateBackupPlanRequest request =
           CreateBackupPlanRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createbackupplan/SyncCreateBackupPlanLocationnameBackupplanString.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createbackupplan/SyncCreateBackupPlanLocationnameBackupplanString.java
index 44cdaeb0d381..d6c84aab70f1 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createbackupplan/SyncCreateBackupPlanLocationnameBackupplanString.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createbackupplan/SyncCreateBackupPlanLocationnameBackupplanString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateBackupPlanLocationnameBackupplanString() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       BackupPlan backupPlan = BackupPlan.newBuilder().build();
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createbackupplan/SyncCreateBackupPlanStringBackupplanString.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createbackupplan/SyncCreateBackupPlanStringBackupplanString.java
index 5d6bef5ddaca..290978d7914f 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createbackupplan/SyncCreateBackupPlanStringBackupplanString.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createbackupplan/SyncCreateBackupPlanStringBackupplanString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateBackupPlanStringBackupplanString() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       BackupPlan backupPlan = BackupPlan.newBuilder().build();
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createrestore/AsyncCreateRestore.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createrestore/AsyncCreateRestore.java
index ff4343a7311b..0453f6ddc483 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createrestore/AsyncCreateRestore.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createrestore/AsyncCreateRestore.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateRestore() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       CreateRestoreRequest request =
           CreateRestoreRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createrestore/AsyncCreateRestoreLRO.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createrestore/AsyncCreateRestoreLRO.java
index 1594b35dd258..5fd9731d7b42 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createrestore/AsyncCreateRestoreLRO.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createrestore/AsyncCreateRestoreLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateRestoreLRO() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       CreateRestoreRequest request =
           CreateRestoreRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createrestore/SyncCreateRestore.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createrestore/SyncCreateRestore.java
index b2da6da0881c..ddc6745ab2ad 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createrestore/SyncCreateRestore.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createrestore/SyncCreateRestore.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateRestore() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       CreateRestoreRequest request =
           CreateRestoreRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createrestore/SyncCreateRestoreRestoreplannameRestoreString.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createrestore/SyncCreateRestoreRestoreplannameRestoreString.java
index 854b2d989d11..ff1975f4a47b 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createrestore/SyncCreateRestoreRestoreplannameRestoreString.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createrestore/SyncCreateRestoreRestoreplannameRestoreString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateRestoreRestoreplannameRestoreString() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       RestorePlanName parent = RestorePlanName.of("[PROJECT]", "[LOCATION]", "[RESTORE_PLAN]");
       Restore restore = Restore.newBuilder().build();
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createrestore/SyncCreateRestoreStringRestoreString.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createrestore/SyncCreateRestoreStringRestoreString.java
index 05b42391edb8..009cf89709cd 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createrestore/SyncCreateRestoreStringRestoreString.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createrestore/SyncCreateRestoreStringRestoreString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateRestoreStringRestoreString() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       String parent = RestorePlanName.of("[PROJECT]", "[LOCATION]", "[RESTORE_PLAN]").toString();
       Restore restore = Restore.newBuilder().build();
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createrestoreplan/AsyncCreateRestorePlan.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createrestoreplan/AsyncCreateRestorePlan.java
index 1766d583817a..a76c065a0757 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createrestoreplan/AsyncCreateRestorePlan.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createrestoreplan/AsyncCreateRestorePlan.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateRestorePlan() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       CreateRestorePlanRequest request =
           CreateRestorePlanRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createrestoreplan/AsyncCreateRestorePlanLRO.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createrestoreplan/AsyncCreateRestorePlanLRO.java
index 8b13c02db247..19a35b91fd00 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createrestoreplan/AsyncCreateRestorePlanLRO.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createrestoreplan/AsyncCreateRestorePlanLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateRestorePlanLRO() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       CreateRestorePlanRequest request =
           CreateRestorePlanRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createrestoreplan/SyncCreateRestorePlan.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createrestoreplan/SyncCreateRestorePlan.java
index 4de75bb720a4..3641e105aee8 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createrestoreplan/SyncCreateRestorePlan.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createrestoreplan/SyncCreateRestorePlan.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateRestorePlan() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       CreateRestorePlanRequest request =
           CreateRestorePlanRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createrestoreplan/SyncCreateRestorePlanLocationnameRestoreplanString.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createrestoreplan/SyncCreateRestorePlanLocationnameRestoreplanString.java
index e63f3721ff04..2145739a4357 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createrestoreplan/SyncCreateRestorePlanLocationnameRestoreplanString.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createrestoreplan/SyncCreateRestorePlanLocationnameRestoreplanString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateRestorePlanLocationnameRestoreplanString() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       RestorePlan restorePlan = RestorePlan.newBuilder().build();
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createrestoreplan/SyncCreateRestorePlanStringRestoreplanString.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createrestoreplan/SyncCreateRestorePlanStringRestoreplanString.java
index fb91d854b060..8af24118de2c 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createrestoreplan/SyncCreateRestorePlanStringRestoreplanString.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/createrestoreplan/SyncCreateRestorePlanStringRestoreplanString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateRestorePlanStringRestoreplanString() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       RestorePlan restorePlan = RestorePlan.newBuilder().build();
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deletebackup/AsyncDeleteBackup.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deletebackup/AsyncDeleteBackup.java
index 8ff39a640b09..a912d530c6b7 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deletebackup/AsyncDeleteBackup.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deletebackup/AsyncDeleteBackup.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteBackup() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       DeleteBackupRequest request =
           DeleteBackupRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deletebackup/AsyncDeleteBackupLRO.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deletebackup/AsyncDeleteBackupLRO.java
index 455b027ad21e..6039763794b5 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deletebackup/AsyncDeleteBackupLRO.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deletebackup/AsyncDeleteBackupLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteBackupLRO() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       DeleteBackupRequest request =
           DeleteBackupRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deletebackup/SyncDeleteBackup.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deletebackup/SyncDeleteBackup.java
index 810cd8cfb14e..2b0989a16027 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deletebackup/SyncDeleteBackup.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deletebackup/SyncDeleteBackup.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteBackup() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       DeleteBackupRequest request =
           DeleteBackupRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deletebackup/SyncDeleteBackupBackupname.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deletebackup/SyncDeleteBackupBackupname.java
index ef03ce1b6af9..fcbaec0972c7 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deletebackup/SyncDeleteBackupBackupname.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deletebackup/SyncDeleteBackupBackupname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteBackupBackupname() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       BackupName name = BackupName.of("[PROJECT]", "[LOCATION]", "[BACKUP_PLAN]", "[BACKUP]");
       backupForGKEClient.deleteBackupAsync(name).get();
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deletebackup/SyncDeleteBackupString.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deletebackup/SyncDeleteBackupString.java
index d458f788d6e5..02aababe12c3 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deletebackup/SyncDeleteBackupString.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deletebackup/SyncDeleteBackupString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteBackupString() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       String name =
           BackupName.of("[PROJECT]", "[LOCATION]", "[BACKUP_PLAN]", "[BACKUP]").toString();
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deletebackupplan/AsyncDeleteBackupPlan.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deletebackupplan/AsyncDeleteBackupPlan.java
index 5bdd63da84cb..2385646ce0ce 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deletebackupplan/AsyncDeleteBackupPlan.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deletebackupplan/AsyncDeleteBackupPlan.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteBackupPlan() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       DeleteBackupPlanRequest request =
           DeleteBackupPlanRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deletebackupplan/AsyncDeleteBackupPlanLRO.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deletebackupplan/AsyncDeleteBackupPlanLRO.java
index f724288ee11c..8d253e5f16ed 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deletebackupplan/AsyncDeleteBackupPlanLRO.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deletebackupplan/AsyncDeleteBackupPlanLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteBackupPlanLRO() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       DeleteBackupPlanRequest request =
           DeleteBackupPlanRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deletebackupplan/SyncDeleteBackupPlan.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deletebackupplan/SyncDeleteBackupPlan.java
index 9202ce0e68b8..66f41c387e56 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deletebackupplan/SyncDeleteBackupPlan.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deletebackupplan/SyncDeleteBackupPlan.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteBackupPlan() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       DeleteBackupPlanRequest request =
           DeleteBackupPlanRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deletebackupplan/SyncDeleteBackupPlanBackupplanname.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deletebackupplan/SyncDeleteBackupPlanBackupplanname.java
index e6a7d49ea999..95aa20f69b36 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deletebackupplan/SyncDeleteBackupPlanBackupplanname.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deletebackupplan/SyncDeleteBackupPlanBackupplanname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteBackupPlanBackupplanname() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       BackupPlanName name = BackupPlanName.of("[PROJECT]", "[LOCATION]", "[BACKUP_PLAN]");
       backupForGKEClient.deleteBackupPlanAsync(name).get();
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deletebackupplan/SyncDeleteBackupPlanString.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deletebackupplan/SyncDeleteBackupPlanString.java
index 91e51af18c8c..4db95ed8ef92 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deletebackupplan/SyncDeleteBackupPlanString.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deletebackupplan/SyncDeleteBackupPlanString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteBackupPlanString() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       String name = BackupPlanName.of("[PROJECT]", "[LOCATION]", "[BACKUP_PLAN]").toString();
       backupForGKEClient.deleteBackupPlanAsync(name).get();
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deleterestore/AsyncDeleteRestore.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deleterestore/AsyncDeleteRestore.java
index 77d10ff0d730..cf7e2b29537a 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deleterestore/AsyncDeleteRestore.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deleterestore/AsyncDeleteRestore.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteRestore() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       DeleteRestoreRequest request =
           DeleteRestoreRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deleterestore/AsyncDeleteRestoreLRO.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deleterestore/AsyncDeleteRestoreLRO.java
index 930ecb6efef3..7f6562cb78ef 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deleterestore/AsyncDeleteRestoreLRO.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deleterestore/AsyncDeleteRestoreLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteRestoreLRO() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       DeleteRestoreRequest request =
           DeleteRestoreRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deleterestore/SyncDeleteRestore.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deleterestore/SyncDeleteRestore.java
index 48973287fa5e..6d7ea1c84896 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deleterestore/SyncDeleteRestore.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deleterestore/SyncDeleteRestore.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteRestore() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       DeleteRestoreRequest request =
           DeleteRestoreRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deleterestore/SyncDeleteRestoreRestorename.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deleterestore/SyncDeleteRestoreRestorename.java
index 27b52269b345..6267f729386f 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deleterestore/SyncDeleteRestoreRestorename.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deleterestore/SyncDeleteRestoreRestorename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteRestoreRestorename() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       RestoreName name = RestoreName.of("[PROJECT]", "[LOCATION]", "[RESTORE_PLAN]", "[RESTORE]");
       backupForGKEClient.deleteRestoreAsync(name).get();
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deleterestore/SyncDeleteRestoreString.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deleterestore/SyncDeleteRestoreString.java
index 09bba868036b..facbe610c0de 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deleterestore/SyncDeleteRestoreString.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deleterestore/SyncDeleteRestoreString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteRestoreString() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       String name =
           RestoreName.of("[PROJECT]", "[LOCATION]", "[RESTORE_PLAN]", "[RESTORE]").toString();
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deleterestoreplan/AsyncDeleteRestorePlan.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deleterestoreplan/AsyncDeleteRestorePlan.java
index a01554b7819f..a60df354f954 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deleterestoreplan/AsyncDeleteRestorePlan.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deleterestoreplan/AsyncDeleteRestorePlan.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteRestorePlan() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       DeleteRestorePlanRequest request =
           DeleteRestorePlanRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deleterestoreplan/AsyncDeleteRestorePlanLRO.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deleterestoreplan/AsyncDeleteRestorePlanLRO.java
index b60c32e7f085..d6f588c5b225 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deleterestoreplan/AsyncDeleteRestorePlanLRO.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deleterestoreplan/AsyncDeleteRestorePlanLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteRestorePlanLRO() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       DeleteRestorePlanRequest request =
           DeleteRestorePlanRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deleterestoreplan/SyncDeleteRestorePlan.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deleterestoreplan/SyncDeleteRestorePlan.java
index 11e81cb1c35f..a17b15e2c29a 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deleterestoreplan/SyncDeleteRestorePlan.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deleterestoreplan/SyncDeleteRestorePlan.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteRestorePlan() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       DeleteRestorePlanRequest request =
           DeleteRestorePlanRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deleterestoreplan/SyncDeleteRestorePlanRestoreplanname.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deleterestoreplan/SyncDeleteRestorePlanRestoreplanname.java
index c3aceb6f9683..1ddbddec6cb5 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deleterestoreplan/SyncDeleteRestorePlanRestoreplanname.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deleterestoreplan/SyncDeleteRestorePlanRestoreplanname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteRestorePlanRestoreplanname() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       RestorePlanName name = RestorePlanName.of("[PROJECT]", "[LOCATION]", "[RESTORE_PLAN]");
       backupForGKEClient.deleteRestorePlanAsync(name).get();
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deleterestoreplan/SyncDeleteRestorePlanString.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deleterestoreplan/SyncDeleteRestorePlanString.java
index 96f3ace3b061..5efa388a5057 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deleterestoreplan/SyncDeleteRestorePlanString.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/deleterestoreplan/SyncDeleteRestorePlanString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteRestorePlanString() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       String name = RestorePlanName.of("[PROJECT]", "[LOCATION]", "[RESTORE_PLAN]").toString();
       backupForGKEClient.deleteRestorePlanAsync(name).get();
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getbackup/AsyncGetBackup.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getbackup/AsyncGetBackup.java
index 40f62e6c683d..032142144a3e 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getbackup/AsyncGetBackup.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getbackup/AsyncGetBackup.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetBackup() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       GetBackupRequest request =
           GetBackupRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getbackup/SyncGetBackup.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getbackup/SyncGetBackup.java
index f7a6d98fd8c0..b83781890dba 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getbackup/SyncGetBackup.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getbackup/SyncGetBackup.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetBackup() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       GetBackupRequest request =
           GetBackupRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getbackup/SyncGetBackupBackupname.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getbackup/SyncGetBackupBackupname.java
index a8bde94b055d..7c8d08f64827 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getbackup/SyncGetBackupBackupname.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getbackup/SyncGetBackupBackupname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetBackupBackupname() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       BackupName name = BackupName.of("[PROJECT]", "[LOCATION]", "[BACKUP_PLAN]", "[BACKUP]");
       Backup response = backupForGKEClient.getBackup(name);
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getbackup/SyncGetBackupString.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getbackup/SyncGetBackupString.java
index 258ea4cb2842..145d2fb3a1f7 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getbackup/SyncGetBackupString.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getbackup/SyncGetBackupString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetBackupString() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       String name =
           BackupName.of("[PROJECT]", "[LOCATION]", "[BACKUP_PLAN]", "[BACKUP]").toString();
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getbackupplan/AsyncGetBackupPlan.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getbackupplan/AsyncGetBackupPlan.java
index 5fcb5a2b3300..732356c63aba 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getbackupplan/AsyncGetBackupPlan.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getbackupplan/AsyncGetBackupPlan.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetBackupPlan() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       GetBackupPlanRequest request =
           GetBackupPlanRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getbackupplan/SyncGetBackupPlan.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getbackupplan/SyncGetBackupPlan.java
index ab13acd9dc65..11e87d1ce1b1 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getbackupplan/SyncGetBackupPlan.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getbackupplan/SyncGetBackupPlan.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetBackupPlan() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       GetBackupPlanRequest request =
           GetBackupPlanRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getbackupplan/SyncGetBackupPlanBackupplanname.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getbackupplan/SyncGetBackupPlanBackupplanname.java
index 83946142a680..05734277323b 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getbackupplan/SyncGetBackupPlanBackupplanname.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getbackupplan/SyncGetBackupPlanBackupplanname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetBackupPlanBackupplanname() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       BackupPlanName name = BackupPlanName.of("[PROJECT]", "[LOCATION]", "[BACKUP_PLAN]");
       BackupPlan response = backupForGKEClient.getBackupPlan(name);
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getbackupplan/SyncGetBackupPlanString.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getbackupplan/SyncGetBackupPlanString.java
index 989b888b622d..c1182a56e571 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getbackupplan/SyncGetBackupPlanString.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getbackupplan/SyncGetBackupPlanString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetBackupPlanString() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       String name = BackupPlanName.of("[PROJECT]", "[LOCATION]", "[BACKUP_PLAN]").toString();
       BackupPlan response = backupForGKEClient.getBackupPlan(name);
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getrestore/AsyncGetRestore.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getrestore/AsyncGetRestore.java
index a7d8b4224b0f..58d1d45259af 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getrestore/AsyncGetRestore.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getrestore/AsyncGetRestore.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetRestore() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       GetRestoreRequest request =
           GetRestoreRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getrestore/SyncGetRestore.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getrestore/SyncGetRestore.java
index f7671eea0455..d173b33be5e9 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getrestore/SyncGetRestore.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getrestore/SyncGetRestore.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetRestore() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       GetRestoreRequest request =
           GetRestoreRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getrestore/SyncGetRestoreRestorename.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getrestore/SyncGetRestoreRestorename.java
index 889895534a24..93c28819c5fa 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getrestore/SyncGetRestoreRestorename.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getrestore/SyncGetRestoreRestorename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetRestoreRestorename() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       RestoreName name = RestoreName.of("[PROJECT]", "[LOCATION]", "[RESTORE_PLAN]", "[RESTORE]");
       Restore response = backupForGKEClient.getRestore(name);
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getrestore/SyncGetRestoreString.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getrestore/SyncGetRestoreString.java
index 6634bb24027d..52055a9488d2 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getrestore/SyncGetRestoreString.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getrestore/SyncGetRestoreString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetRestoreString() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       String name =
           RestoreName.of("[PROJECT]", "[LOCATION]", "[RESTORE_PLAN]", "[RESTORE]").toString();
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getrestoreplan/AsyncGetRestorePlan.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getrestoreplan/AsyncGetRestorePlan.java
index f23c62c2818a..8266d817795b 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getrestoreplan/AsyncGetRestorePlan.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getrestoreplan/AsyncGetRestorePlan.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetRestorePlan() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       GetRestorePlanRequest request =
           GetRestorePlanRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getrestoreplan/SyncGetRestorePlan.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getrestoreplan/SyncGetRestorePlan.java
index 99c1762eedc0..ed2b4a141518 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getrestoreplan/SyncGetRestorePlan.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getrestoreplan/SyncGetRestorePlan.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetRestorePlan() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       GetRestorePlanRequest request =
           GetRestorePlanRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getrestoreplan/SyncGetRestorePlanRestoreplanname.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getrestoreplan/SyncGetRestorePlanRestoreplanname.java
index 7457c4a3bbec..2a6c48df465c 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getrestoreplan/SyncGetRestorePlanRestoreplanname.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getrestoreplan/SyncGetRestorePlanRestoreplanname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetRestorePlanRestoreplanname() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       RestorePlanName name = RestorePlanName.of("[PROJECT]", "[LOCATION]", "[RESTORE_PLAN]");
       RestorePlan response = backupForGKEClient.getRestorePlan(name);
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getrestoreplan/SyncGetRestorePlanString.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getrestoreplan/SyncGetRestorePlanString.java
index f4a75a777356..d171b75cd40f 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getrestoreplan/SyncGetRestorePlanString.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getrestoreplan/SyncGetRestorePlanString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetRestorePlanString() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       String name = RestorePlanName.of("[PROJECT]", "[LOCATION]", "[RESTORE_PLAN]").toString();
       RestorePlan response = backupForGKEClient.getRestorePlan(name);
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getvolumebackup/AsyncGetVolumeBackup.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getvolumebackup/AsyncGetVolumeBackup.java
index af3e81486e0f..895fa7cecf01 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getvolumebackup/AsyncGetVolumeBackup.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getvolumebackup/AsyncGetVolumeBackup.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetVolumeBackup() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       GetVolumeBackupRequest request =
           GetVolumeBackupRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getvolumebackup/SyncGetVolumeBackup.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getvolumebackup/SyncGetVolumeBackup.java
index 79e3d2e54e77..0998af518d45 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getvolumebackup/SyncGetVolumeBackup.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getvolumebackup/SyncGetVolumeBackup.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetVolumeBackup() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       GetVolumeBackupRequest request =
           GetVolumeBackupRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getvolumebackup/SyncGetVolumeBackupString.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getvolumebackup/SyncGetVolumeBackupString.java
index 248a50d76bef..d03de68cbee5 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getvolumebackup/SyncGetVolumeBackupString.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getvolumebackup/SyncGetVolumeBackupString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetVolumeBackupString() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       String name =
           VolumeBackupName.of(
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getvolumebackup/SyncGetVolumeBackupVolumebackupname.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getvolumebackup/SyncGetVolumeBackupVolumebackupname.java
index d3c023466806..e3d859d9a9a0 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getvolumebackup/SyncGetVolumeBackupVolumebackupname.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getvolumebackup/SyncGetVolumeBackupVolumebackupname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetVolumeBackupVolumebackupname() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       VolumeBackupName name =
           VolumeBackupName.of(
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getvolumerestore/AsyncGetVolumeRestore.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getvolumerestore/AsyncGetVolumeRestore.java
index 1910214b5aef..e7a9fe1b7215 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getvolumerestore/AsyncGetVolumeRestore.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getvolumerestore/AsyncGetVolumeRestore.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetVolumeRestore() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       GetVolumeRestoreRequest request =
           GetVolumeRestoreRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getvolumerestore/SyncGetVolumeRestore.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getvolumerestore/SyncGetVolumeRestore.java
index 66c355913dea..68b5c55b5ea1 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getvolumerestore/SyncGetVolumeRestore.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getvolumerestore/SyncGetVolumeRestore.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetVolumeRestore() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       GetVolumeRestoreRequest request =
           GetVolumeRestoreRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getvolumerestore/SyncGetVolumeRestoreString.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getvolumerestore/SyncGetVolumeRestoreString.java
index 423ae9bf86ca..1bd2a43f8832 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getvolumerestore/SyncGetVolumeRestoreString.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getvolumerestore/SyncGetVolumeRestoreString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetVolumeRestoreString() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       String name =
           VolumeRestoreName.of(
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getvolumerestore/SyncGetVolumeRestoreVolumerestorename.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getvolumerestore/SyncGetVolumeRestoreVolumerestorename.java
index b7b2a4dde19c..cdc3d7663216 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getvolumerestore/SyncGetVolumeRestoreVolumerestorename.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/getvolumerestore/SyncGetVolumeRestoreVolumerestorename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetVolumeRestoreVolumerestorename() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       VolumeRestoreName name =
           VolumeRestoreName.of(
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listbackupplans/AsyncListBackupPlans.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listbackupplans/AsyncListBackupPlans.java
index 2a29634c44ba..f01f8115cddb 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listbackupplans/AsyncListBackupPlans.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listbackupplans/AsyncListBackupPlans.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListBackupPlans() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       ListBackupPlansRequest request =
           ListBackupPlansRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listbackupplans/AsyncListBackupPlansPaged.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listbackupplans/AsyncListBackupPlansPaged.java
index ca136f318163..13b07b635356 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listbackupplans/AsyncListBackupPlansPaged.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listbackupplans/AsyncListBackupPlansPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListBackupPlansPaged() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       ListBackupPlansRequest request =
           ListBackupPlansRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listbackupplans/SyncListBackupPlans.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listbackupplans/SyncListBackupPlans.java
index f18bb617aac9..a109653a63e6 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listbackupplans/SyncListBackupPlans.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listbackupplans/SyncListBackupPlans.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListBackupPlans() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       ListBackupPlansRequest request =
           ListBackupPlansRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listbackupplans/SyncListBackupPlansLocationname.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listbackupplans/SyncListBackupPlansLocationname.java
index c5b8e606a5a8..e5a0f4497b92 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listbackupplans/SyncListBackupPlansLocationname.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listbackupplans/SyncListBackupPlansLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListBackupPlansLocationname() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       for (BackupPlan element : backupForGKEClient.listBackupPlans(parent).iterateAll()) {
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listbackupplans/SyncListBackupPlansString.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listbackupplans/SyncListBackupPlansString.java
index 2ad5a5920e2d..47a8ddd9e0eb 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listbackupplans/SyncListBackupPlansString.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listbackupplans/SyncListBackupPlansString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListBackupPlansString() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       for (BackupPlan element : backupForGKEClient.listBackupPlans(parent).iterateAll()) {
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listbackups/AsyncListBackups.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listbackups/AsyncListBackups.java
index 55ed4c9c0085..4a61a9d1575f 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listbackups/AsyncListBackups.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listbackups/AsyncListBackups.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListBackups() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       ListBackupsRequest request =
           ListBackupsRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listbackups/AsyncListBackupsPaged.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listbackups/AsyncListBackupsPaged.java
index d32378cad24d..2ad5699ae455 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listbackups/AsyncListBackupsPaged.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listbackups/AsyncListBackupsPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListBackupsPaged() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       ListBackupsRequest request =
           ListBackupsRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listbackups/SyncListBackups.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listbackups/SyncListBackups.java
index faa7415fab21..5de422f04f12 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listbackups/SyncListBackups.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listbackups/SyncListBackups.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListBackups() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       ListBackupsRequest request =
           ListBackupsRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listbackups/SyncListBackupsBackupplanname.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listbackups/SyncListBackupsBackupplanname.java
index 477812112499..0c99016bae71 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listbackups/SyncListBackupsBackupplanname.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listbackups/SyncListBackupsBackupplanname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListBackupsBackupplanname() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       BackupPlanName parent = BackupPlanName.of("[PROJECT]", "[LOCATION]", "[BACKUP_PLAN]");
       for (Backup element : backupForGKEClient.listBackups(parent).iterateAll()) {
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listbackups/SyncListBackupsString.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listbackups/SyncListBackupsString.java
index 6815764a438a..292e8ab25209 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listbackups/SyncListBackupsString.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listbackups/SyncListBackupsString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListBackupsString() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       String parent = BackupPlanName.of("[PROJECT]", "[LOCATION]", "[BACKUP_PLAN]").toString();
       for (Backup element : backupForGKEClient.listBackups(parent).iterateAll()) {
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listrestoreplans/AsyncListRestorePlans.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listrestoreplans/AsyncListRestorePlans.java
index 53a4f172e5b2..5b0bb23a7ed0 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listrestoreplans/AsyncListRestorePlans.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listrestoreplans/AsyncListRestorePlans.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListRestorePlans() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       ListRestorePlansRequest request =
           ListRestorePlansRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listrestoreplans/AsyncListRestorePlansPaged.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listrestoreplans/AsyncListRestorePlansPaged.java
index 8f1aeecf0f75..6683a90cbb6d 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listrestoreplans/AsyncListRestorePlansPaged.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listrestoreplans/AsyncListRestorePlansPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListRestorePlansPaged() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       ListRestorePlansRequest request =
           ListRestorePlansRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listrestoreplans/SyncListRestorePlans.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listrestoreplans/SyncListRestorePlans.java
index b4fe4a68c9ea..37d70f4ae5fc 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listrestoreplans/SyncListRestorePlans.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listrestoreplans/SyncListRestorePlans.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListRestorePlans() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       ListRestorePlansRequest request =
           ListRestorePlansRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listrestoreplans/SyncListRestorePlansLocationname.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listrestoreplans/SyncListRestorePlansLocationname.java
index 4b3f30536aa8..e43de841b154 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listrestoreplans/SyncListRestorePlansLocationname.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listrestoreplans/SyncListRestorePlansLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListRestorePlansLocationname() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       for (RestorePlan element : backupForGKEClient.listRestorePlans(parent).iterateAll()) {
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listrestoreplans/SyncListRestorePlansString.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listrestoreplans/SyncListRestorePlansString.java
index dae3d9e4116b..21439583a410 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listrestoreplans/SyncListRestorePlansString.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listrestoreplans/SyncListRestorePlansString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListRestorePlansString() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       for (RestorePlan element : backupForGKEClient.listRestorePlans(parent).iterateAll()) {
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listrestores/AsyncListRestores.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listrestores/AsyncListRestores.java
index bb0316468790..73929f52fb57 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listrestores/AsyncListRestores.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listrestores/AsyncListRestores.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListRestores() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       ListRestoresRequest request =
           ListRestoresRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listrestores/AsyncListRestoresPaged.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listrestores/AsyncListRestoresPaged.java
index df9ece7c7f83..8e38b11152e4 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listrestores/AsyncListRestoresPaged.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listrestores/AsyncListRestoresPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListRestoresPaged() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       ListRestoresRequest request =
           ListRestoresRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listrestores/SyncListRestores.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listrestores/SyncListRestores.java
index b2572e4e7b39..171b15822146 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listrestores/SyncListRestores.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listrestores/SyncListRestores.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListRestores() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       ListRestoresRequest request =
           ListRestoresRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listrestores/SyncListRestoresRestoreplanname.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listrestores/SyncListRestoresRestoreplanname.java
index 0a1a31f2fd96..ce70dfcc3e2b 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listrestores/SyncListRestoresRestoreplanname.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listrestores/SyncListRestoresRestoreplanname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListRestoresRestoreplanname() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       RestorePlanName parent = RestorePlanName.of("[PROJECT]", "[LOCATION]", "[RESTORE_PLAN]");
       for (Restore element : backupForGKEClient.listRestores(parent).iterateAll()) {
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listrestores/SyncListRestoresString.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listrestores/SyncListRestoresString.java
index 31fee2ee7a3e..8eafb514bdc1 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listrestores/SyncListRestoresString.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listrestores/SyncListRestoresString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListRestoresString() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       String parent = RestorePlanName.of("[PROJECT]", "[LOCATION]", "[RESTORE_PLAN]").toString();
       for (Restore element : backupForGKEClient.listRestores(parent).iterateAll()) {
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listvolumebackups/AsyncListVolumeBackups.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listvolumebackups/AsyncListVolumeBackups.java
index 861c18a33fe5..1aea743add7e 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listvolumebackups/AsyncListVolumeBackups.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listvolumebackups/AsyncListVolumeBackups.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListVolumeBackups() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       ListVolumeBackupsRequest request =
           ListVolumeBackupsRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listvolumebackups/AsyncListVolumeBackupsPaged.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listvolumebackups/AsyncListVolumeBackupsPaged.java
index a92486d6a36b..de6f9f12fbbf 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listvolumebackups/AsyncListVolumeBackupsPaged.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listvolumebackups/AsyncListVolumeBackupsPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListVolumeBackupsPaged() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       ListVolumeBackupsRequest request =
           ListVolumeBackupsRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listvolumebackups/SyncListVolumeBackups.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listvolumebackups/SyncListVolumeBackups.java
index a1dab3f023e4..fed4f4833cd5 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listvolumebackups/SyncListVolumeBackups.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listvolumebackups/SyncListVolumeBackups.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListVolumeBackups() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       ListVolumeBackupsRequest request =
           ListVolumeBackupsRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listvolumebackups/SyncListVolumeBackupsBackupname.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listvolumebackups/SyncListVolumeBackupsBackupname.java
index c138fb27c416..5895c60fe87a 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listvolumebackups/SyncListVolumeBackupsBackupname.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listvolumebackups/SyncListVolumeBackupsBackupname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListVolumeBackupsBackupname() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       BackupName parent = BackupName.of("[PROJECT]", "[LOCATION]", "[BACKUP_PLAN]", "[BACKUP]");
       for (VolumeBackup element : backupForGKEClient.listVolumeBackups(parent).iterateAll()) {
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listvolumebackups/SyncListVolumeBackupsString.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listvolumebackups/SyncListVolumeBackupsString.java
index 1ca37cb6ba06..89d34b9894c5 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listvolumebackups/SyncListVolumeBackupsString.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listvolumebackups/SyncListVolumeBackupsString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListVolumeBackupsString() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       String parent =
           BackupName.of("[PROJECT]", "[LOCATION]", "[BACKUP_PLAN]", "[BACKUP]").toString();
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listvolumerestores/AsyncListVolumeRestores.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listvolumerestores/AsyncListVolumeRestores.java
index a3baf10df056..4c296532c31c 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listvolumerestores/AsyncListVolumeRestores.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listvolumerestores/AsyncListVolumeRestores.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListVolumeRestores() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       ListVolumeRestoresRequest request =
           ListVolumeRestoresRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listvolumerestores/AsyncListVolumeRestoresPaged.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listvolumerestores/AsyncListVolumeRestoresPaged.java
index 59b78156ff74..69d5253521f8 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listvolumerestores/AsyncListVolumeRestoresPaged.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listvolumerestores/AsyncListVolumeRestoresPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListVolumeRestoresPaged() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       ListVolumeRestoresRequest request =
           ListVolumeRestoresRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listvolumerestores/SyncListVolumeRestores.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listvolumerestores/SyncListVolumeRestores.java
index 802760aa4cfc..a4eed53874fa 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listvolumerestores/SyncListVolumeRestores.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listvolumerestores/SyncListVolumeRestores.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListVolumeRestores() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       ListVolumeRestoresRequest request =
           ListVolumeRestoresRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listvolumerestores/SyncListVolumeRestoresRestorename.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listvolumerestores/SyncListVolumeRestoresRestorename.java
index d853071047d6..738127e64782 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listvolumerestores/SyncListVolumeRestoresRestorename.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listvolumerestores/SyncListVolumeRestoresRestorename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListVolumeRestoresRestorename() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       RestoreName parent = RestoreName.of("[PROJECT]", "[LOCATION]", "[RESTORE_PLAN]", "[RESTORE]");
       for (VolumeRestore element : backupForGKEClient.listVolumeRestores(parent).iterateAll()) {
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listvolumerestores/SyncListVolumeRestoresString.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listvolumerestores/SyncListVolumeRestoresString.java
index 260c6c06896b..c7c2182c74a4 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listvolumerestores/SyncListVolumeRestoresString.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/listvolumerestores/SyncListVolumeRestoresString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListVolumeRestoresString() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       String parent =
           RestoreName.of("[PROJECT]", "[LOCATION]", "[RESTORE_PLAN]", "[RESTORE]").toString();
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updatebackup/AsyncUpdateBackup.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updatebackup/AsyncUpdateBackup.java
index 033c1187f121..2768f7dbc5a8 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updatebackup/AsyncUpdateBackup.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updatebackup/AsyncUpdateBackup.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateBackup() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       UpdateBackupRequest request =
           UpdateBackupRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updatebackup/AsyncUpdateBackupLRO.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updatebackup/AsyncUpdateBackupLRO.java
index 2a10014c35c5..adf0226b202a 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updatebackup/AsyncUpdateBackupLRO.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updatebackup/AsyncUpdateBackupLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateBackupLRO() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       UpdateBackupRequest request =
           UpdateBackupRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updatebackup/SyncUpdateBackup.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updatebackup/SyncUpdateBackup.java
index c5677a0e4614..2c491a6f7799 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updatebackup/SyncUpdateBackup.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updatebackup/SyncUpdateBackup.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateBackup() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       UpdateBackupRequest request =
           UpdateBackupRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updatebackup/SyncUpdateBackupBackupFieldmask.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updatebackup/SyncUpdateBackupBackupFieldmask.java
index e6ed32ae51f2..8a832c060512 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updatebackup/SyncUpdateBackupBackupFieldmask.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updatebackup/SyncUpdateBackupBackupFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateBackupBackupFieldmask() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       Backup backup = Backup.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updatebackupplan/AsyncUpdateBackupPlan.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updatebackupplan/AsyncUpdateBackupPlan.java
index 72e15dd727df..62838ec17e56 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updatebackupplan/AsyncUpdateBackupPlan.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updatebackupplan/AsyncUpdateBackupPlan.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateBackupPlan() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       UpdateBackupPlanRequest request =
           UpdateBackupPlanRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updatebackupplan/AsyncUpdateBackupPlanLRO.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updatebackupplan/AsyncUpdateBackupPlanLRO.java
index b698b724c9d9..cf403063e378 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updatebackupplan/AsyncUpdateBackupPlanLRO.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updatebackupplan/AsyncUpdateBackupPlanLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateBackupPlanLRO() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       UpdateBackupPlanRequest request =
           UpdateBackupPlanRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updatebackupplan/SyncUpdateBackupPlan.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updatebackupplan/SyncUpdateBackupPlan.java
index 1d088037e674..ab9481c46724 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updatebackupplan/SyncUpdateBackupPlan.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updatebackupplan/SyncUpdateBackupPlan.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateBackupPlan() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       UpdateBackupPlanRequest request =
           UpdateBackupPlanRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updatebackupplan/SyncUpdateBackupPlanBackupplanFieldmask.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updatebackupplan/SyncUpdateBackupPlanBackupplanFieldmask.java
index 121c007cd9ed..4a21e1f3b178 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updatebackupplan/SyncUpdateBackupPlanBackupplanFieldmask.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updatebackupplan/SyncUpdateBackupPlanBackupplanFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateBackupPlanBackupplanFieldmask() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       BackupPlan backupPlan = BackupPlan.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updaterestore/AsyncUpdateRestore.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updaterestore/AsyncUpdateRestore.java
index ae2ef90d357b..5ed1067b27a6 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updaterestore/AsyncUpdateRestore.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updaterestore/AsyncUpdateRestore.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateRestore() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       UpdateRestoreRequest request =
           UpdateRestoreRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updaterestore/AsyncUpdateRestoreLRO.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updaterestore/AsyncUpdateRestoreLRO.java
index 6123773281a9..032e4e0c4b02 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updaterestore/AsyncUpdateRestoreLRO.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updaterestore/AsyncUpdateRestoreLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateRestoreLRO() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       UpdateRestoreRequest request =
           UpdateRestoreRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updaterestore/SyncUpdateRestore.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updaterestore/SyncUpdateRestore.java
index a110e06aabd8..1e1d036fd0c7 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updaterestore/SyncUpdateRestore.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updaterestore/SyncUpdateRestore.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateRestore() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       UpdateRestoreRequest request =
           UpdateRestoreRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updaterestore/SyncUpdateRestoreRestoreFieldmask.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updaterestore/SyncUpdateRestoreRestoreFieldmask.java
index 237628e1f09f..2b776dca68f7 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updaterestore/SyncUpdateRestoreRestoreFieldmask.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updaterestore/SyncUpdateRestoreRestoreFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateRestoreRestoreFieldmask() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       Restore restore = Restore.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updaterestoreplan/AsyncUpdateRestorePlan.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updaterestoreplan/AsyncUpdateRestorePlan.java
index 53463e125f83..5fe2ce1a1d2c 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updaterestoreplan/AsyncUpdateRestorePlan.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updaterestoreplan/AsyncUpdateRestorePlan.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateRestorePlan() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       UpdateRestorePlanRequest request =
           UpdateRestorePlanRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updaterestoreplan/AsyncUpdateRestorePlanLRO.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updaterestoreplan/AsyncUpdateRestorePlanLRO.java
index 85158bac4457..945942a161ce 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updaterestoreplan/AsyncUpdateRestorePlanLRO.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updaterestoreplan/AsyncUpdateRestorePlanLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateRestorePlanLRO() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       UpdateRestorePlanRequest request =
           UpdateRestorePlanRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updaterestoreplan/SyncUpdateRestorePlan.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updaterestoreplan/SyncUpdateRestorePlan.java
index 0c3a6644e061..13066099d347 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updaterestoreplan/SyncUpdateRestorePlan.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updaterestoreplan/SyncUpdateRestorePlan.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateRestorePlan() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       UpdateRestorePlanRequest request =
           UpdateRestorePlanRequest.newBuilder()
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updaterestoreplan/SyncUpdateRestorePlanRestoreplanFieldmask.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updaterestoreplan/SyncUpdateRestorePlanRestoreplanFieldmask.java
index e167eb5e2db9..986b1ff3bd6f 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updaterestoreplan/SyncUpdateRestorePlanRestoreplanFieldmask.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkeclient/updaterestoreplan/SyncUpdateRestorePlanRestoreplanFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateRestorePlanRestoreplanFieldmask() 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 (BackupForGKEClient backupForGKEClient = BackupForGKEClient.create()) {
       RestorePlan restorePlan = RestorePlan.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkesettings/getbackupplan/SyncGetBackupPlan.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkesettings/getbackupplan/SyncGetBackupPlan.java
index 4662684ea431..f97dfc057f96 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkesettings/getbackupplan/SyncGetBackupPlan.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/backupforgkesettings/getbackupplan/SyncGetBackupPlan.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetBackupPlan() 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
     BackupForGKESettings.Builder backupForGKESettingsBuilder = BackupForGKESettings.newBuilder();
     backupForGKESettingsBuilder
         .getBackupPlanSettings()
         .setRetrySettings(
-            backupForGKESettingsBuilder
-                .getBackupPlanSettings()
-                .getRetrySettings()
-                .toBuilder()
+            backupForGKESettingsBuilder.getBackupPlanSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     BackupForGKESettings backupForGKESettings = backupForGKESettingsBuilder.build();
diff --git a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/stub/backupforgkestubsettings/getbackupplan/SyncGetBackupPlan.java b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/stub/backupforgkestubsettings/getbackupplan/SyncGetBackupPlan.java
index 97b3f41bfa78..2abd8be30b66 100644
--- a/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/stub/backupforgkestubsettings/getbackupplan/SyncGetBackupPlan.java
+++ b/java-gke-backup/samples/snippets/generated/com/google/cloud/gkebackup/v1/stub/backupforgkestubsettings/getbackupplan/SyncGetBackupPlan.java
@@ -27,17 +27,17 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetBackupPlan() 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
     BackupForGKEStubSettings.Builder backupForGKESettingsBuilder =
         BackupForGKEStubSettings.newBuilder();
     backupForGKESettingsBuilder
         .getBackupPlanSettings()
         .setRetrySettings(
-            backupForGKESettingsBuilder
-                .getBackupPlanSettings()
-                .getRetrySettings()
-                .toBuilder()
+            backupForGKESettingsBuilder.getBackupPlanSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     BackupForGKEStubSettings backupForGKESettings = backupForGKESettingsBuilder.build();