diff --git a/java-phishingprotection/google-cloud-phishingprotection/src/main/java/com/google/cloud/phishingprotection/v1beta1/PhishingProtectionServiceV1Beta1Client.java b/java-phishingprotection/google-cloud-phishingprotection/src/main/java/com/google/cloud/phishingprotection/v1beta1/PhishingProtectionServiceV1Beta1Client.java index e8559f92b9e2..2ec66da5f1aa 100644 --- a/java-phishingprotection/google-cloud-phishingprotection/src/main/java/com/google/cloud/phishingprotection/v1beta1/PhishingProtectionServiceV1Beta1Client.java +++ b/java-phishingprotection/google-cloud-phishingprotection/src/main/java/com/google/cloud/phishingprotection/v1beta1/PhishingProtectionServiceV1Beta1Client.java @@ -36,8 +36,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 (PhishingProtectionServiceV1Beta1Client phishingProtectionServiceV1Beta1Client =
  *     PhishingProtectionServiceV1Beta1Client.create()) {
  *   ProjectName parent = ProjectName.of("[PROJECT]");
@@ -77,8 +80,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
  * PhishingProtectionServiceV1Beta1Settings phishingProtectionServiceV1Beta1Settings =
  *     PhishingProtectionServiceV1Beta1Settings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -90,8 +96,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
  * PhishingProtectionServiceV1Beta1Settings phishingProtectionServiceV1Beta1Settings =
  *     PhishingProtectionServiceV1Beta1Settings.newBuilder().setEndpoint(myEndpoint).build();
  * PhishingProtectionServiceV1Beta1Client phishingProtectionServiceV1Beta1Client =
@@ -102,8 +111,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
  * PhishingProtectionServiceV1Beta1Settings phishingProtectionServiceV1Beta1Settings =
  *     PhishingProtectionServiceV1Beta1Settings.newBuilder()
  *         .setTransportChannelProvider(
@@ -184,8 +196,11 @@ public PhishingProtectionServiceV1Beta1Stub getStub() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PhishingProtectionServiceV1Beta1Client phishingProtectionServiceV1Beta1Client =
    *     PhishingProtectionServiceV1Beta1Client.create()) {
    *   ProjectName parent = ProjectName.of("[PROJECT]");
@@ -221,8 +236,11 @@ public final ReportPhishingResponse reportPhishing(ProjectName parent, String ur
    * 

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PhishingProtectionServiceV1Beta1Client phishingProtectionServiceV1Beta1Client =
    *     PhishingProtectionServiceV1Beta1Client.create()) {
    *   ReportPhishingRequest request =
@@ -288,8 +309,11 @@ public final ReportPhishingResponse reportPhishing(ReportPhishingRequest 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 (PhishingProtectionServiceV1Beta1Client phishingProtectionServiceV1Beta1Client =
    *     PhishingProtectionServiceV1Beta1Client.create()) {
    *   ReportPhishingRequest request =
diff --git a/java-phishingprotection/google-cloud-phishingprotection/src/main/java/com/google/cloud/phishingprotection/v1beta1/PhishingProtectionServiceV1Beta1Settings.java b/java-phishingprotection/google-cloud-phishingprotection/src/main/java/com/google/cloud/phishingprotection/v1beta1/PhishingProtectionServiceV1Beta1Settings.java
index e505fe3be271..678fd416b5c2 100644
--- a/java-phishingprotection/google-cloud-phishingprotection/src/main/java/com/google/cloud/phishingprotection/v1beta1/PhishingProtectionServiceV1Beta1Settings.java
+++ b/java-phishingprotection/google-cloud-phishingprotection/src/main/java/com/google/cloud/phishingprotection/v1beta1/PhishingProtectionServiceV1Beta1Settings.java
@@ -53,8 +53,11 @@
  * 

For example, to set the total timeout of reportPhishing 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
  * PhishingProtectionServiceV1Beta1Settings.Builder
  *     phishingProtectionServiceV1Beta1SettingsBuilder =
  *         PhishingProtectionServiceV1Beta1Settings.newBuilder();
diff --git a/java-phishingprotection/google-cloud-phishingprotection/src/main/java/com/google/cloud/phishingprotection/v1beta1/package-info.java b/java-phishingprotection/google-cloud-phishingprotection/src/main/java/com/google/cloud/phishingprotection/v1beta1/package-info.java
index 50b65708c18c..8a4b6bbf10ec 100644
--- a/java-phishingprotection/google-cloud-phishingprotection/src/main/java/com/google/cloud/phishingprotection/v1beta1/package-info.java
+++ b/java-phishingprotection/google-cloud-phishingprotection/src/main/java/com/google/cloud/phishingprotection/v1beta1/package-info.java
@@ -24,8 +24,11 @@
  * 

Sample for PhishingProtectionServiceV1Beta1Client: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (PhishingProtectionServiceV1Beta1Client phishingProtectionServiceV1Beta1Client =
  *     PhishingProtectionServiceV1Beta1Client.create()) {
  *   ProjectName parent = ProjectName.of("[PROJECT]");
diff --git a/java-phishingprotection/google-cloud-phishingprotection/src/main/java/com/google/cloud/phishingprotection/v1beta1/stub/HttpJsonPhishingProtectionServiceV1Beta1Stub.java b/java-phishingprotection/google-cloud-phishingprotection/src/main/java/com/google/cloud/phishingprotection/v1beta1/stub/HttpJsonPhishingProtectionServiceV1Beta1Stub.java
index 1bf0c7837e0a..9216efe2d265 100644
--- a/java-phishingprotection/google-cloud-phishingprotection/src/main/java/com/google/cloud/phishingprotection/v1beta1/stub/HttpJsonPhishingProtectionServiceV1Beta1Stub.java
+++ b/java-phishingprotection/google-cloud-phishingprotection/src/main/java/com/google/cloud/phishingprotection/v1beta1/stub/HttpJsonPhishingProtectionServiceV1Beta1Stub.java
@@ -79,7 +79,7 @@ public class HttpJsonPhishingProtectionServiceV1Beta1Stub
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/java-phishingprotection/google-cloud-phishingprotection/src/main/java/com/google/cloud/phishingprotection/v1beta1/stub/PhishingProtectionServiceV1Beta1StubSettings.java b/java-phishingprotection/google-cloud-phishingprotection/src/main/java/com/google/cloud/phishingprotection/v1beta1/stub/PhishingProtectionServiceV1Beta1StubSettings.java
index 36dcdece4f7e..d93ed72e4967 100644
--- a/java-phishingprotection/google-cloud-phishingprotection/src/main/java/com/google/cloud/phishingprotection/v1beta1/stub/PhishingProtectionServiceV1Beta1StubSettings.java
+++ b/java-phishingprotection/google-cloud-phishingprotection/src/main/java/com/google/cloud/phishingprotection/v1beta1/stub/PhishingProtectionServiceV1Beta1StubSettings.java
@@ -64,8 +64,11 @@
  * 

For example, to set the total timeout of reportPhishing 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
  * PhishingProtectionServiceV1Beta1StubSettings.Builder
  *     phishingProtectionServiceV1Beta1SettingsBuilder =
  *         PhishingProtectionServiceV1Beta1StubSettings.newBuilder();
diff --git a/java-phishingprotection/samples/snippets/generated/com/google/cloud/phishingprotection/v1beta1/phishingprotectionservicev1beta1client/create/SyncCreateSetCredentialsProvider.java b/java-phishingprotection/samples/snippets/generated/com/google/cloud/phishingprotection/v1beta1/phishingprotectionservicev1beta1client/create/SyncCreateSetCredentialsProvider.java
index fbc05917b396..d206737f2e0a 100644
--- a/java-phishingprotection/samples/snippets/generated/com/google/cloud/phishingprotection/v1beta1/phishingprotectionservicev1beta1client/create/SyncCreateSetCredentialsProvider.java
+++ b/java-phishingprotection/samples/snippets/generated/com/google/cloud/phishingprotection/v1beta1/phishingprotectionservicev1beta1client/create/SyncCreateSetCredentialsProvider.java
@@ -16,8 +16,7 @@
 
 package com.google.cloud.phishingprotection.v1beta1.samples;
 
-// [START
-// phishingprotection_v1beta1_generated_phishingprotectionservicev1beta1client_create_setcredentialsprovider_sync]
+// [START phishingprotection_v1beta1_generated_phishingprotectionservicev1beta1client_create_setcredentialsprovider_sync]
 import com.google.api.gax.core.FixedCredentialsProvider;
 import com.google.cloud.phishingprotection.v1beta1.PhishingProtectionServiceV1Beta1Client;
 import com.google.cloud.phishingprotection.v1beta1.PhishingProtectionServiceV1Beta1Settings;
@@ -30,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
     PhishingProtectionServiceV1Beta1Settings phishingProtectionServiceV1Beta1Settings =
         PhishingProtectionServiceV1Beta1Settings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -40,5 +42,4 @@ public static void syncCreateSetCredentialsProvider() throws Exception {
         PhishingProtectionServiceV1Beta1Client.create(phishingProtectionServiceV1Beta1Settings);
   }
 }
-// [END
-// phishingprotection_v1beta1_generated_phishingprotectionservicev1beta1client_create_setcredentialsprovider_sync]
+// [END phishingprotection_v1beta1_generated_phishingprotectionservicev1beta1client_create_setcredentialsprovider_sync]
diff --git a/java-phishingprotection/samples/snippets/generated/com/google/cloud/phishingprotection/v1beta1/phishingprotectionservicev1beta1client/create/SyncCreateSetCredentialsProvider1.java b/java-phishingprotection/samples/snippets/generated/com/google/cloud/phishingprotection/v1beta1/phishingprotectionservicev1beta1client/create/SyncCreateSetCredentialsProvider1.java
index ef9b86c53dd2..d81240c7009a 100644
--- a/java-phishingprotection/samples/snippets/generated/com/google/cloud/phishingprotection/v1beta1/phishingprotectionservicev1beta1client/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-phishingprotection/samples/snippets/generated/com/google/cloud/phishingprotection/v1beta1/phishingprotectionservicev1beta1client/create/SyncCreateSetCredentialsProvider1.java
@@ -16,8 +16,7 @@
 
 package com.google.cloud.phishingprotection.v1beta1.samples;
 
-// [START
-// phishingprotection_v1beta1_generated_phishingprotectionservicev1beta1client_create_setcredentialsprovider1_sync]
+// [START phishingprotection_v1beta1_generated_phishingprotectionservicev1beta1client_create_setcredentialsprovider1_sync]
 import com.google.cloud.phishingprotection.v1beta1.PhishingProtectionServiceV1Beta1Client;
 import com.google.cloud.phishingprotection.v1beta1.PhishingProtectionServiceV1Beta1Settings;
 
@@ -28,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
     PhishingProtectionServiceV1Beta1Settings phishingProtectionServiceV1Beta1Settings =
         PhishingProtectionServiceV1Beta1Settings.newBuilder()
             .setTransportChannelProvider(
@@ -40,5 +42,4 @@ public static void syncCreateSetCredentialsProvider1() throws Exception {
         PhishingProtectionServiceV1Beta1Client.create(phishingProtectionServiceV1Beta1Settings);
   }
 }
-// [END
-// phishingprotection_v1beta1_generated_phishingprotectionservicev1beta1client_create_setcredentialsprovider1_sync]
+// [END phishingprotection_v1beta1_generated_phishingprotectionservicev1beta1client_create_setcredentialsprovider1_sync]
diff --git a/java-phishingprotection/samples/snippets/generated/com/google/cloud/phishingprotection/v1beta1/phishingprotectionservicev1beta1client/create/SyncCreateSetEndpoint.java b/java-phishingprotection/samples/snippets/generated/com/google/cloud/phishingprotection/v1beta1/phishingprotectionservicev1beta1client/create/SyncCreateSetEndpoint.java
index 3c8fd58001d5..0c494b01de54 100644
--- a/java-phishingprotection/samples/snippets/generated/com/google/cloud/phishingprotection/v1beta1/phishingprotectionservicev1beta1client/create/SyncCreateSetEndpoint.java
+++ b/java-phishingprotection/samples/snippets/generated/com/google/cloud/phishingprotection/v1beta1/phishingprotectionservicev1beta1client/create/SyncCreateSetEndpoint.java
@@ -16,8 +16,7 @@
 
 package com.google.cloud.phishingprotection.v1beta1.samples;
 
-// [START
-// phishingprotection_v1beta1_generated_phishingprotectionservicev1beta1client_create_setendpoint_sync]
+// [START phishingprotection_v1beta1_generated_phishingprotectionservicev1beta1client_create_setendpoint_sync]
 import com.google.cloud.phishingprotection.v1beta1.PhishingProtectionServiceV1Beta1Client;
 import com.google.cloud.phishingprotection.v1beta1.PhishingProtectionServiceV1Beta1Settings;
 import com.google.cloud.phishingprotection.v1beta1.myEndpoint;
@@ -29,13 +28,15 @@ 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
     PhishingProtectionServiceV1Beta1Settings phishingProtectionServiceV1Beta1Settings =
         PhishingProtectionServiceV1Beta1Settings.newBuilder().setEndpoint(myEndpoint).build();
     PhishingProtectionServiceV1Beta1Client phishingProtectionServiceV1Beta1Client =
         PhishingProtectionServiceV1Beta1Client.create(phishingProtectionServiceV1Beta1Settings);
   }
 }
-// [END
-// phishingprotection_v1beta1_generated_phishingprotectionservicev1beta1client_create_setendpoint_sync]
+// [END phishingprotection_v1beta1_generated_phishingprotectionservicev1beta1client_create_setendpoint_sync]
diff --git a/java-phishingprotection/samples/snippets/generated/com/google/cloud/phishingprotection/v1beta1/phishingprotectionservicev1beta1client/reportphishing/AsyncReportPhishing.java b/java-phishingprotection/samples/snippets/generated/com/google/cloud/phishingprotection/v1beta1/phishingprotectionservicev1beta1client/reportphishing/AsyncReportPhishing.java
index 9fe7654546c9..ccf6ea2e5fe7 100644
--- a/java-phishingprotection/samples/snippets/generated/com/google/cloud/phishingprotection/v1beta1/phishingprotectionservicev1beta1client/reportphishing/AsyncReportPhishing.java
+++ b/java-phishingprotection/samples/snippets/generated/com/google/cloud/phishingprotection/v1beta1/phishingprotectionservicev1beta1client/reportphishing/AsyncReportPhishing.java
@@ -16,8 +16,7 @@
 
 package com.google.cloud.phishingprotection.v1beta1.samples;
 
-// [START
-// phishingprotection_v1beta1_generated_phishingprotectionservicev1beta1client_reportphishing_async]
+// [START phishingprotection_v1beta1_generated_phishingprotectionservicev1beta1client_reportphishing_async]
 import com.google.api.core.ApiFuture;
 import com.google.cloud.phishingprotection.v1beta1.PhishingProtectionServiceV1Beta1Client;
 import com.google.phishingprotection.v1beta1.ProjectName;
@@ -31,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncReportPhishing() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (PhishingProtectionServiceV1Beta1Client phishingProtectionServiceV1Beta1Client =
         PhishingProtectionServiceV1Beta1Client.create()) {
       ReportPhishingRequest request =
@@ -47,5 +49,4 @@ public static void asyncReportPhishing() throws Exception {
     }
   }
 }
-// [END
-// phishingprotection_v1beta1_generated_phishingprotectionservicev1beta1client_reportphishing_async]
+// [END phishingprotection_v1beta1_generated_phishingprotectionservicev1beta1client_reportphishing_async]
diff --git a/java-phishingprotection/samples/snippets/generated/com/google/cloud/phishingprotection/v1beta1/phishingprotectionservicev1beta1client/reportphishing/SyncReportPhishing.java b/java-phishingprotection/samples/snippets/generated/com/google/cloud/phishingprotection/v1beta1/phishingprotectionservicev1beta1client/reportphishing/SyncReportPhishing.java
index 70d70369ae63..1176597a24f1 100644
--- a/java-phishingprotection/samples/snippets/generated/com/google/cloud/phishingprotection/v1beta1/phishingprotectionservicev1beta1client/reportphishing/SyncReportPhishing.java
+++ b/java-phishingprotection/samples/snippets/generated/com/google/cloud/phishingprotection/v1beta1/phishingprotectionservicev1beta1client/reportphishing/SyncReportPhishing.java
@@ -16,8 +16,7 @@
 
 package com.google.cloud.phishingprotection.v1beta1.samples;
 
-// [START
-// phishingprotection_v1beta1_generated_phishingprotectionservicev1beta1client_reportphishing_sync]
+// [START phishingprotection_v1beta1_generated_phishingprotectionservicev1beta1client_reportphishing_sync]
 import com.google.cloud.phishingprotection.v1beta1.PhishingProtectionServiceV1Beta1Client;
 import com.google.phishingprotection.v1beta1.ProjectName;
 import com.google.phishingprotection.v1beta1.ReportPhishingRequest;
@@ -30,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncReportPhishing() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (PhishingProtectionServiceV1Beta1Client phishingProtectionServiceV1Beta1Client =
         PhishingProtectionServiceV1Beta1Client.create()) {
       ReportPhishingRequest request =
@@ -44,5 +46,4 @@ public static void syncReportPhishing() throws Exception {
     }
   }
 }
-// [END
-// phishingprotection_v1beta1_generated_phishingprotectionservicev1beta1client_reportphishing_sync]
+// [END phishingprotection_v1beta1_generated_phishingprotectionservicev1beta1client_reportphishing_sync]
diff --git a/java-phishingprotection/samples/snippets/generated/com/google/cloud/phishingprotection/v1beta1/phishingprotectionservicev1beta1client/reportphishing/SyncReportPhishingProjectnameString.java b/java-phishingprotection/samples/snippets/generated/com/google/cloud/phishingprotection/v1beta1/phishingprotectionservicev1beta1client/reportphishing/SyncReportPhishingProjectnameString.java
index ef363ca1f191..6047df823cd0 100644
--- a/java-phishingprotection/samples/snippets/generated/com/google/cloud/phishingprotection/v1beta1/phishingprotectionservicev1beta1client/reportphishing/SyncReportPhishingProjectnameString.java
+++ b/java-phishingprotection/samples/snippets/generated/com/google/cloud/phishingprotection/v1beta1/phishingprotectionservicev1beta1client/reportphishing/SyncReportPhishingProjectnameString.java
@@ -16,8 +16,7 @@
 
 package com.google.cloud.phishingprotection.v1beta1.samples;
 
-// [START
-// phishingprotection_v1beta1_generated_phishingprotectionservicev1beta1client_reportphishing_projectnamestring_sync]
+// [START phishingprotection_v1beta1_generated_phishingprotectionservicev1beta1client_reportphishing_projectnamestring_sync]
 import com.google.cloud.phishingprotection.v1beta1.PhishingProtectionServiceV1Beta1Client;
 import com.google.phishingprotection.v1beta1.ProjectName;
 import com.google.phishingprotection.v1beta1.ReportPhishingResponse;
@@ -29,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncReportPhishingProjectnameString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (PhishingProtectionServiceV1Beta1Client phishingProtectionServiceV1Beta1Client =
         PhishingProtectionServiceV1Beta1Client.create()) {
       ProjectName parent = ProjectName.of("[PROJECT]");
@@ -40,5 +42,4 @@ public static void syncReportPhishingProjectnameString() throws Exception {
     }
   }
 }
-// [END
-// phishingprotection_v1beta1_generated_phishingprotectionservicev1beta1client_reportphishing_projectnamestring_sync]
+// [END phishingprotection_v1beta1_generated_phishingprotectionservicev1beta1client_reportphishing_projectnamestring_sync]
diff --git a/java-phishingprotection/samples/snippets/generated/com/google/cloud/phishingprotection/v1beta1/phishingprotectionservicev1beta1client/reportphishing/SyncReportPhishingStringString.java b/java-phishingprotection/samples/snippets/generated/com/google/cloud/phishingprotection/v1beta1/phishingprotectionservicev1beta1client/reportphishing/SyncReportPhishingStringString.java
index f958ce81312f..920676051568 100644
--- a/java-phishingprotection/samples/snippets/generated/com/google/cloud/phishingprotection/v1beta1/phishingprotectionservicev1beta1client/reportphishing/SyncReportPhishingStringString.java
+++ b/java-phishingprotection/samples/snippets/generated/com/google/cloud/phishingprotection/v1beta1/phishingprotectionservicev1beta1client/reportphishing/SyncReportPhishingStringString.java
@@ -16,8 +16,7 @@
 
 package com.google.cloud.phishingprotection.v1beta1.samples;
 
-// [START
-// phishingprotection_v1beta1_generated_phishingprotectionservicev1beta1client_reportphishing_stringstring_sync]
+// [START phishingprotection_v1beta1_generated_phishingprotectionservicev1beta1client_reportphishing_stringstring_sync]
 import com.google.cloud.phishingprotection.v1beta1.PhishingProtectionServiceV1Beta1Client;
 import com.google.phishingprotection.v1beta1.ProjectName;
 import com.google.phishingprotection.v1beta1.ReportPhishingResponse;
@@ -29,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncReportPhishingStringString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (PhishingProtectionServiceV1Beta1Client phishingProtectionServiceV1Beta1Client =
         PhishingProtectionServiceV1Beta1Client.create()) {
       String parent = ProjectName.of("[PROJECT]").toString();
@@ -40,5 +42,4 @@ public static void syncReportPhishingStringString() throws Exception {
     }
   }
 }
-// [END
-// phishingprotection_v1beta1_generated_phishingprotectionservicev1beta1client_reportphishing_stringstring_sync]
+// [END phishingprotection_v1beta1_generated_phishingprotectionservicev1beta1client_reportphishing_stringstring_sync]
diff --git a/java-phishingprotection/samples/snippets/generated/com/google/cloud/phishingprotection/v1beta1/phishingprotectionservicev1beta1settings/reportphishing/SyncReportPhishing.java b/java-phishingprotection/samples/snippets/generated/com/google/cloud/phishingprotection/v1beta1/phishingprotectionservicev1beta1settings/reportphishing/SyncReportPhishing.java
index eedd3f96bbe9..d8913d1b9168 100644
--- a/java-phishingprotection/samples/snippets/generated/com/google/cloud/phishingprotection/v1beta1/phishingprotectionservicev1beta1settings/reportphishing/SyncReportPhishing.java
+++ b/java-phishingprotection/samples/snippets/generated/com/google/cloud/phishingprotection/v1beta1/phishingprotectionservicev1beta1settings/reportphishing/SyncReportPhishing.java
@@ -16,8 +16,7 @@
 
 package com.google.cloud.phishingprotection.v1beta1.samples;
 
-// [START
-// phishingprotection_v1beta1_generated_phishingprotectionservicev1beta1settings_reportphishing_sync]
+// [START phishingprotection_v1beta1_generated_phishingprotectionservicev1beta1settings_reportphishing_sync]
 import com.google.cloud.phishingprotection.v1beta1.PhishingProtectionServiceV1Beta1Settings;
 import java.time.Duration;
 
@@ -28,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncReportPhishing() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     PhishingProtectionServiceV1Beta1Settings.Builder
         phishingProtectionServiceV1Beta1SettingsBuilder =
             PhishingProtectionServiceV1Beta1Settings.newBuilder();
@@ -46,5 +48,4 @@ public static void syncReportPhishing() throws Exception {
         phishingProtectionServiceV1Beta1SettingsBuilder.build();
   }
 }
-// [END
-// phishingprotection_v1beta1_generated_phishingprotectionservicev1beta1settings_reportphishing_sync]
+// [END phishingprotection_v1beta1_generated_phishingprotectionservicev1beta1settings_reportphishing_sync]
diff --git a/java-phishingprotection/samples/snippets/generated/com/google/cloud/phishingprotection/v1beta1/stub/phishingprotectionservicev1beta1stubsettings/reportphishing/SyncReportPhishing.java b/java-phishingprotection/samples/snippets/generated/com/google/cloud/phishingprotection/v1beta1/stub/phishingprotectionservicev1beta1stubsettings/reportphishing/SyncReportPhishing.java
index b27d291cf0be..f9e88ce14a75 100644
--- a/java-phishingprotection/samples/snippets/generated/com/google/cloud/phishingprotection/v1beta1/stub/phishingprotectionservicev1beta1stubsettings/reportphishing/SyncReportPhishing.java
+++ b/java-phishingprotection/samples/snippets/generated/com/google/cloud/phishingprotection/v1beta1/stub/phishingprotectionservicev1beta1stubsettings/reportphishing/SyncReportPhishing.java
@@ -16,8 +16,7 @@
 
 package com.google.cloud.phishingprotection.v1beta1.stub.samples;
 
-// [START
-// phishingprotection_v1beta1_generated_phishingprotectionservicev1beta1stubsettings_reportphishing_sync]
+// [START phishingprotection_v1beta1_generated_phishingprotectionservicev1beta1stubsettings_reportphishing_sync]
 import com.google.cloud.phishingprotection.v1beta1.stub.PhishingProtectionServiceV1Beta1StubSettings;
 import java.time.Duration;
 
@@ -28,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncReportPhishing() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     PhishingProtectionServiceV1Beta1StubSettings.Builder
         phishingProtectionServiceV1Beta1SettingsBuilder =
             PhishingProtectionServiceV1Beta1StubSettings.newBuilder();
@@ -46,5 +48,4 @@ public static void syncReportPhishing() throws Exception {
         phishingProtectionServiceV1Beta1SettingsBuilder.build();
   }
 }
-// [END
-// phishingprotection_v1beta1_generated_phishingprotectionservicev1beta1stubsettings_reportphishing_sync]
+// [END phishingprotection_v1beta1_generated_phishingprotectionservicev1beta1stubsettings_reportphishing_sync]