diff --git a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/DocumentProcessorServiceClient.java b/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/DocumentProcessorServiceClient.java index 040bca01808..36003dab739 100644 --- a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/DocumentProcessorServiceClient.java +++ b/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/DocumentProcessorServiceClient.java @@ -54,8 +54,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 (DocumentProcessorServiceClient documentProcessorServiceClient =
  *     DocumentProcessorServiceClient.create()) {
  *   ResourceName name = ProcessorName.of("[PROJECT]", "[LOCATION]", "[PROCESSOR]");
@@ -93,8 +96,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
  * DocumentProcessorServiceSettings documentProcessorServiceSettings =
  *     DocumentProcessorServiceSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -106,8 +112,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
  * DocumentProcessorServiceSettings documentProcessorServiceSettings =
  *     DocumentProcessorServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
  * DocumentProcessorServiceClient documentProcessorServiceClient =
@@ -118,8 +127,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
  * DocumentProcessorServiceSettings documentProcessorServiceSettings =
  *     DocumentProcessorServiceSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -215,8 +227,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 (DocumentProcessorServiceClient documentProcessorServiceClient =
    *     DocumentProcessorServiceClient.create()) {
    *   ResourceName name = ProcessorName.of("[PROJECT]", "[LOCATION]", "[PROCESSOR]");
@@ -246,8 +261,11 @@ public final ProcessResponse processDocument(ResourceName 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 (DocumentProcessorServiceClient documentProcessorServiceClient =
    *     DocumentProcessorServiceClient.create()) {
    *   String name = HumanReviewConfigName.of("[PROJECT]", "[LOCATION]", "[PROCESSOR]").toString();
@@ -276,8 +294,11 @@ public final ProcessResponse processDocument(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 (DocumentProcessorServiceClient documentProcessorServiceClient =
    *     DocumentProcessorServiceClient.create()) {
    *   ProcessRequest request =
@@ -304,8 +325,11 @@ public final ProcessResponse processDocument(ProcessRequest 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 (DocumentProcessorServiceClient documentProcessorServiceClient =
    *     DocumentProcessorServiceClient.create()) {
    *   ProcessRequest request =
@@ -333,8 +357,11 @@ public final UnaryCallable processDocumentCalla
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DocumentProcessorServiceClient documentProcessorServiceClient =
    *     DocumentProcessorServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
@@ -520,8 +562,11 @@ public final FetchProcessorTypesResponse fetchProcessorTypes(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 (DocumentProcessorServiceClient documentProcessorServiceClient =
    *     DocumentProcessorServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
@@ -549,8 +594,11 @@ public final FetchProcessorTypesResponse fetchProcessorTypes(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 (DocumentProcessorServiceClient documentProcessorServiceClient =
    *     DocumentProcessorServiceClient.create()) {
    *   FetchProcessorTypesRequest request =
@@ -577,8 +625,11 @@ public final FetchProcessorTypesResponse fetchProcessorTypes(FetchProcessorTypes
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DocumentProcessorServiceClient documentProcessorServiceClient =
    *     DocumentProcessorServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
@@ -666,8 +723,11 @@ public final ListProcessorTypesPagedResponse listProcessorTypes(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 (DocumentProcessorServiceClient documentProcessorServiceClient =
    *     DocumentProcessorServiceClient.create()) {
    *   ListProcessorTypesRequest request =
@@ -698,8 +758,11 @@ public final ListProcessorTypesPagedResponse listProcessorTypes(
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DocumentProcessorServiceClient documentProcessorServiceClient =
    *     DocumentProcessorServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
@@ -797,8 +866,11 @@ public final ListProcessorsPagedResponse listProcessors(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 (DocumentProcessorServiceClient documentProcessorServiceClient =
    *     DocumentProcessorServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
@@ -824,8 +896,11 @@ public final ListProcessorsPagedResponse listProcessors(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 (DocumentProcessorServiceClient documentProcessorServiceClient =
    *     DocumentProcessorServiceClient.create()) {
    *   ListProcessorsRequest request =
@@ -855,8 +930,11 @@ public final ListProcessorsPagedResponse listProcessors(ListProcessorsRequest re
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DocumentProcessorServiceClient documentProcessorServiceClient =
    *     DocumentProcessorServiceClient.create()) {
    *   ProcessorName name = ProcessorName.of("[PROJECT]", "[LOCATION]", "[PROCESSOR]");
@@ -949,8 +1033,11 @@ public final Processor getProcessor(ProcessorName 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 (DocumentProcessorServiceClient documentProcessorServiceClient =
    *     DocumentProcessorServiceClient.create()) {
    *   String name = ProcessorName.of("[PROJECT]", "[LOCATION]", "[PROCESSOR]").toString();
@@ -973,8 +1060,11 @@ public final Processor getProcessor(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 (DocumentProcessorServiceClient documentProcessorServiceClient =
    *     DocumentProcessorServiceClient.create()) {
    *   GetProcessorRequest request =
@@ -999,8 +1089,11 @@ public final Processor getProcessor(GetProcessorRequest 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 (DocumentProcessorServiceClient documentProcessorServiceClient =
    *     DocumentProcessorServiceClient.create()) {
    *   GetProcessorRequest request =
@@ -1025,8 +1118,11 @@ public final UnaryCallable getProcessorCallable(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DocumentProcessorServiceClient documentProcessorServiceClient =
    *     DocumentProcessorServiceClient.create()) {
    *   ProcessorVersionName name =
@@ -1053,8 +1149,11 @@ public final ProcessorVersion getProcessorVersion(ProcessorVersionName 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 (DocumentProcessorServiceClient documentProcessorServiceClient =
    *     DocumentProcessorServiceClient.create()) {
    *   String name =
@@ -1080,8 +1179,11 @@ public final ProcessorVersion getProcessorVersion(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 (DocumentProcessorServiceClient documentProcessorServiceClient =
    *     DocumentProcessorServiceClient.create()) {
    *   GetProcessorVersionRequest request =
@@ -1109,8 +1211,11 @@ public final ProcessorVersion getProcessorVersion(GetProcessorVersionRequest req
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DocumentProcessorServiceClient documentProcessorServiceClient =
    *     DocumentProcessorServiceClient.create()) {
    *   CreateProcessorRequest request =
@@ -1852,8 +2026,11 @@ public final Processor createProcessor(CreateProcessorRequest 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 (DocumentProcessorServiceClient documentProcessorServiceClient =
    *     DocumentProcessorServiceClient.create()) {
    *   CreateProcessorRequest request =
@@ -1880,8 +2057,11 @@ public final UnaryCallable createProcessorCal
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DocumentProcessorServiceClient documentProcessorServiceClient =
    *     DocumentProcessorServiceClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
@@ -2568,8 +2814,11 @@ public final Location getLocation(GetLocationRequest 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 (DocumentProcessorServiceClient documentProcessorServiceClient =
    *     DocumentProcessorServiceClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
diff --git a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/DocumentProcessorServiceSettings.java b/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/DocumentProcessorServiceSettings.java
index 26bdd5e1aff..710abecd6b1 100644
--- a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/DocumentProcessorServiceSettings.java
+++ b/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/DocumentProcessorServiceSettings.java
@@ -63,8 +63,11 @@
  * 

For example, to set the total timeout of processDocument 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
  * DocumentProcessorServiceSettings.Builder documentProcessorServiceSettingsBuilder =
  *     DocumentProcessorServiceSettings.newBuilder();
  * documentProcessorServiceSettingsBuilder
diff --git a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/package-info.java b/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/package-info.java
index 42bc2d8a0ab..202ef6b6e68 100644
--- a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/package-info.java
+++ b/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/package-info.java
@@ -29,8 +29,11 @@
  * 

Sample for DocumentProcessorServiceClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (DocumentProcessorServiceClient documentProcessorServiceClient =
  *     DocumentProcessorServiceClient.create()) {
  *   ResourceName name = ProcessorName.of("[PROJECT]", "[LOCATION]", "[PROCESSOR]");
diff --git a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/DocumentProcessorServiceStubSettings.java b/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/DocumentProcessorServiceStubSettings.java
index 837e38a2c73..248357936c1 100644
--- a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/DocumentProcessorServiceStubSettings.java
+++ b/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/DocumentProcessorServiceStubSettings.java
@@ -124,8 +124,11 @@
  * 

For example, to set the total timeout of processDocument 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
  * DocumentProcessorServiceStubSettings.Builder documentProcessorServiceSettingsBuilder =
  *     DocumentProcessorServiceStubSettings.newBuilder();
  * documentProcessorServiceSettingsBuilder
diff --git a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/HttpJsonDocumentProcessorServiceStub.java b/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/HttpJsonDocumentProcessorServiceStub.java
index 4a45ee5db83..b28b45c5d6d 100644
--- a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/HttpJsonDocumentProcessorServiceStub.java
+++ b/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/HttpJsonDocumentProcessorServiceStub.java
@@ -151,7 +151,7 @@ public class HttpJsonDocumentProcessorServiceStub extends DocumentProcessorServi
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearName().build()))
+                                  .toBody("*", request.toBuilder().clearName().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -190,7 +190,7 @@ public class HttpJsonDocumentProcessorServiceStub extends DocumentProcessorServi
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearName().build()))
+                                  .toBody("*", request.toBuilder().clearName().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -478,7 +478,7 @@ public class HttpJsonDocumentProcessorServiceStub extends DocumentProcessorServi
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearName().build()))
+                                  .toBody("*", request.toBuilder().clearName().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -518,7 +518,7 @@ public class HttpJsonDocumentProcessorServiceStub extends DocumentProcessorServi
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearName().build()))
+                                  .toBody("*", request.toBuilder().clearName().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -558,7 +558,7 @@ public class HttpJsonDocumentProcessorServiceStub extends DocumentProcessorServi
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("processor", request.getProcessor()))
+                                  .toBody("processor", request.getProcessor(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -632,7 +632,7 @@ public class HttpJsonDocumentProcessorServiceStub extends DocumentProcessorServi
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearName().build()))
+                                  .toBody("*", request.toBuilder().clearName().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -672,7 +672,7 @@ public class HttpJsonDocumentProcessorServiceStub extends DocumentProcessorServi
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearName().build()))
+                                  .toBody("*", request.toBuilder().clearName().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -712,7 +712,7 @@ public class HttpJsonDocumentProcessorServiceStub extends DocumentProcessorServi
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearProcessor().build()))
+                                  .toBody("*", request.toBuilder().clearProcessor().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -754,7 +754,9 @@ public class HttpJsonDocumentProcessorServiceStub extends DocumentProcessorServi
                           request ->
                               ProtoRestSerializer.create()
                                   .toBody(
-                                      "*", request.toBuilder().clearHumanReviewConfig().build()))
+                                      "*",
+                                      request.toBuilder().clearHumanReviewConfig().build(),
+                                      false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta1/DocumentUnderstandingServiceClient.java b/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta1/DocumentUnderstandingServiceClient.java
index cb7fc0a28c2..317ee2c8f4d 100644
--- a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta1/DocumentUnderstandingServiceClient.java
+++ b/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta1/DocumentUnderstandingServiceClient.java
@@ -40,8 +40,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 (DocumentUnderstandingServiceClient documentUnderstandingServiceClient =
  *     DocumentUnderstandingServiceClient.create()) {
  *   List requests = new ArrayList<>();
@@ -80,8 +83,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
  * DocumentUnderstandingServiceSettings documentUnderstandingServiceSettings =
  *     DocumentUnderstandingServiceSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -93,8 +99,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
  * DocumentUnderstandingServiceSettings documentUnderstandingServiceSettings =
  *     DocumentUnderstandingServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
  * DocumentUnderstandingServiceClient documentUnderstandingServiceClient =
@@ -176,8 +185,11 @@ public final OperationsClient getOperationsClient() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DocumentUnderstandingServiceClient documentUnderstandingServiceClient =
    *     DocumentUnderstandingServiceClient.create()) {
    *   List requests = new ArrayList<>();
@@ -203,8 +215,11 @@ public final OperationsClient getOperationsClient() {
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DocumentUnderstandingServiceClient documentUnderstandingServiceClient =
    *     DocumentUnderstandingServiceClient.create()) {
    *   BatchProcessDocumentsRequest request =
diff --git a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta1/DocumentUnderstandingServiceSettings.java b/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta1/DocumentUnderstandingServiceSettings.java
index 1bb96e4f639..3b1e22ee3bd 100644
--- a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta1/DocumentUnderstandingServiceSettings.java
+++ b/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta1/DocumentUnderstandingServiceSettings.java
@@ -51,8 +51,11 @@
  * 

For example, to set the total timeout of batchProcessDocuments 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
  * DocumentUnderstandingServiceSettings.Builder documentUnderstandingServiceSettingsBuilder =
  *     DocumentUnderstandingServiceSettings.newBuilder();
  * documentUnderstandingServiceSettingsBuilder
diff --git a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta1/package-info.java b/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta1/package-info.java
index ed5c85893c0..01d48dd1cc8 100644
--- a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta1/package-info.java
+++ b/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta1/package-info.java
@@ -26,8 +26,11 @@
  * 

Sample for DocumentUnderstandingServiceClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (DocumentUnderstandingServiceClient documentUnderstandingServiceClient =
  *     DocumentUnderstandingServiceClient.create()) {
  *   List requests = new ArrayList<>();
diff --git a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta1/stub/DocumentUnderstandingServiceStubSettings.java b/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta1/stub/DocumentUnderstandingServiceStubSettings.java
index a25100a524f..18a0dc7ca81 100644
--- a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta1/stub/DocumentUnderstandingServiceStubSettings.java
+++ b/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta1/stub/DocumentUnderstandingServiceStubSettings.java
@@ -66,8 +66,11 @@
  * 

For example, to set the total timeout of batchProcessDocuments 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
  * DocumentUnderstandingServiceStubSettings.Builder documentUnderstandingServiceSettingsBuilder =
  *     DocumentUnderstandingServiceStubSettings.newBuilder();
  * documentUnderstandingServiceSettingsBuilder
diff --git a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta2/DocumentUnderstandingServiceClient.java b/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta2/DocumentUnderstandingServiceClient.java
index 9b6bfdad5e2..61123d23d2d 100644
--- a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta2/DocumentUnderstandingServiceClient.java
+++ b/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta2/DocumentUnderstandingServiceClient.java
@@ -40,8 +40,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 (DocumentUnderstandingServiceClient documentUnderstandingServiceClient =
  *     DocumentUnderstandingServiceClient.create()) {
  *   ProcessDocumentRequest request =
@@ -90,8 +93,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
  * DocumentUnderstandingServiceSettings documentUnderstandingServiceSettings =
  *     DocumentUnderstandingServiceSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -103,8 +109,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
  * DocumentUnderstandingServiceSettings documentUnderstandingServiceSettings =
  *     DocumentUnderstandingServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
  * DocumentUnderstandingServiceClient documentUnderstandingServiceClient =
@@ -187,8 +196,11 @@ public final OperationsClient getOperationsClient() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DocumentUnderstandingServiceClient documentUnderstandingServiceClient =
    *     DocumentUnderstandingServiceClient.create()) {
    *   List requests = new ArrayList<>();
@@ -215,8 +227,11 @@ public final OperationsClient getOperationsClient() {
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DocumentUnderstandingServiceClient documentUnderstandingServiceClient =
    *     DocumentUnderstandingServiceClient.create()) {
    *   ProcessDocumentRequest request =
@@ -339,8 +363,11 @@ public final Document processDocument(ProcessDocumentRequest 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 (DocumentUnderstandingServiceClient documentUnderstandingServiceClient =
    *     DocumentUnderstandingServiceClient.create()) {
    *   ProcessDocumentRequest request =
diff --git a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta2/DocumentUnderstandingServiceSettings.java b/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta2/DocumentUnderstandingServiceSettings.java
index 8f9cc461a86..7785cbec70e 100644
--- a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta2/DocumentUnderstandingServiceSettings.java
+++ b/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta2/DocumentUnderstandingServiceSettings.java
@@ -51,8 +51,11 @@
  * 

For example, to set the total timeout of processDocument 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
  * DocumentUnderstandingServiceSettings.Builder documentUnderstandingServiceSettingsBuilder =
  *     DocumentUnderstandingServiceSettings.newBuilder();
  * documentUnderstandingServiceSettingsBuilder
diff --git a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta2/package-info.java b/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta2/package-info.java
index f1e6ff31b47..5fc428cb646 100644
--- a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta2/package-info.java
+++ b/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta2/package-info.java
@@ -26,8 +26,11 @@
  * 

Sample for DocumentUnderstandingServiceClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (DocumentUnderstandingServiceClient documentUnderstandingServiceClient =
  *     DocumentUnderstandingServiceClient.create()) {
  *   ProcessDocumentRequest request =
diff --git a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta2/stub/DocumentUnderstandingServiceStubSettings.java b/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta2/stub/DocumentUnderstandingServiceStubSettings.java
index 40c0492cbc2..c3ba5ccc4af 100644
--- a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta2/stub/DocumentUnderstandingServiceStubSettings.java
+++ b/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta2/stub/DocumentUnderstandingServiceStubSettings.java
@@ -68,8 +68,11 @@
  * 

For example, to set the total timeout of processDocument 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
  * DocumentUnderstandingServiceStubSettings.Builder documentUnderstandingServiceSettingsBuilder =
  *     DocumentUnderstandingServiceStubSettings.newBuilder();
  * documentUnderstandingServiceSettingsBuilder
diff --git a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/DocumentProcessorServiceClient.java b/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/DocumentProcessorServiceClient.java
index 07771d3f650..f20c65c13c0 100644
--- a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/DocumentProcessorServiceClient.java
+++ b/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/DocumentProcessorServiceClient.java
@@ -54,8 +54,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 (DocumentProcessorServiceClient documentProcessorServiceClient =
  *     DocumentProcessorServiceClient.create()) {
  *   ResourceName name = ProcessorName.of("[PROJECT]", "[LOCATION]", "[PROCESSOR]");
@@ -93,8 +96,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
  * DocumentProcessorServiceSettings documentProcessorServiceSettings =
  *     DocumentProcessorServiceSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -106,8 +112,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
  * DocumentProcessorServiceSettings documentProcessorServiceSettings =
  *     DocumentProcessorServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
  * DocumentProcessorServiceClient documentProcessorServiceClient =
@@ -118,8 +127,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
  * DocumentProcessorServiceSettings documentProcessorServiceSettings =
  *     DocumentProcessorServiceSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -216,8 +228,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 (DocumentProcessorServiceClient documentProcessorServiceClient =
    *     DocumentProcessorServiceClient.create()) {
    *   ResourceName name = ProcessorName.of("[PROJECT]", "[LOCATION]", "[PROCESSOR]");
@@ -248,8 +263,11 @@ public final ProcessResponse processDocument(ResourceName 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 (DocumentProcessorServiceClient documentProcessorServiceClient =
    *     DocumentProcessorServiceClient.create()) {
    *   String name = HumanReviewConfigName.of("[PROJECT]", "[LOCATION]", "[PROCESSOR]").toString();
@@ -279,8 +297,11 @@ public final ProcessResponse processDocument(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 (DocumentProcessorServiceClient documentProcessorServiceClient =
    *     DocumentProcessorServiceClient.create()) {
    *   ProcessRequest request =
@@ -308,8 +329,11 @@ public final ProcessResponse processDocument(ProcessRequest 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 (DocumentProcessorServiceClient documentProcessorServiceClient =
    *     DocumentProcessorServiceClient.create()) {
    *   ProcessRequest request =
@@ -338,8 +362,11 @@ public final UnaryCallable processDocumentCalla
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DocumentProcessorServiceClient documentProcessorServiceClient =
    *     DocumentProcessorServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
@@ -533,8 +575,11 @@ public final FetchProcessorTypesResponse fetchProcessorTypes(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 (DocumentProcessorServiceClient documentProcessorServiceClient =
    *     DocumentProcessorServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
@@ -562,8 +607,11 @@ public final FetchProcessorTypesResponse fetchProcessorTypes(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 (DocumentProcessorServiceClient documentProcessorServiceClient =
    *     DocumentProcessorServiceClient.create()) {
    *   FetchProcessorTypesRequest request =
@@ -590,8 +638,11 @@ public final FetchProcessorTypesResponse fetchProcessorTypes(FetchProcessorTypes
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DocumentProcessorServiceClient documentProcessorServiceClient =
    *     DocumentProcessorServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
@@ -679,8 +736,11 @@ public final ListProcessorTypesPagedResponse listProcessorTypes(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 (DocumentProcessorServiceClient documentProcessorServiceClient =
    *     DocumentProcessorServiceClient.create()) {
    *   ListProcessorTypesRequest request =
@@ -711,8 +771,11 @@ public final ListProcessorTypesPagedResponse listProcessorTypes(
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DocumentProcessorServiceClient documentProcessorServiceClient =
    *     DocumentProcessorServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
@@ -810,8 +879,11 @@ public final ListProcessorsPagedResponse listProcessors(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 (DocumentProcessorServiceClient documentProcessorServiceClient =
    *     DocumentProcessorServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
@@ -837,8 +909,11 @@ public final ListProcessorsPagedResponse listProcessors(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 (DocumentProcessorServiceClient documentProcessorServiceClient =
    *     DocumentProcessorServiceClient.create()) {
    *   ListProcessorsRequest request =
@@ -868,8 +943,11 @@ public final ListProcessorsPagedResponse listProcessors(ListProcessorsRequest re
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DocumentProcessorServiceClient documentProcessorServiceClient =
    *     DocumentProcessorServiceClient.create()) {
    *   ProcessorName name = ProcessorName.of("[PROJECT]", "[LOCATION]", "[PROCESSOR]");
@@ -962,8 +1046,11 @@ public final Processor getProcessor(ProcessorName 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 (DocumentProcessorServiceClient documentProcessorServiceClient =
    *     DocumentProcessorServiceClient.create()) {
    *   String name = ProcessorName.of("[PROJECT]", "[LOCATION]", "[PROCESSOR]").toString();
@@ -986,8 +1073,11 @@ public final Processor getProcessor(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 (DocumentProcessorServiceClient documentProcessorServiceClient =
    *     DocumentProcessorServiceClient.create()) {
    *   GetProcessorRequest request =
@@ -1012,8 +1102,11 @@ public final Processor getProcessor(GetProcessorRequest 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 (DocumentProcessorServiceClient documentProcessorServiceClient =
    *     DocumentProcessorServiceClient.create()) {
    *   GetProcessorRequest request =
@@ -1038,8 +1131,11 @@ public final UnaryCallable getProcessorCallable(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DocumentProcessorServiceClient documentProcessorServiceClient =
    *     DocumentProcessorServiceClient.create()) {
    *   ProcessorVersionName name =
@@ -1066,8 +1162,11 @@ public final ProcessorVersion getProcessorVersion(ProcessorVersionName 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 (DocumentProcessorServiceClient documentProcessorServiceClient =
    *     DocumentProcessorServiceClient.create()) {
    *   String name =
@@ -1093,8 +1192,11 @@ public final ProcessorVersion getProcessorVersion(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 (DocumentProcessorServiceClient documentProcessorServiceClient =
    *     DocumentProcessorServiceClient.create()) {
    *   GetProcessorVersionRequest request =
@@ -1122,8 +1224,11 @@ public final ProcessorVersion getProcessorVersion(GetProcessorVersionRequest req
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DocumentProcessorServiceClient documentProcessorServiceClient =
    *     DocumentProcessorServiceClient.create()) {
    *   CreateProcessorRequest request =
@@ -1865,8 +2039,11 @@ public final Processor createProcessor(CreateProcessorRequest 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 (DocumentProcessorServiceClient documentProcessorServiceClient =
    *     DocumentProcessorServiceClient.create()) {
    *   CreateProcessorRequest request =
@@ -1893,8 +2070,11 @@ public final UnaryCallable createProcessorCal
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DocumentProcessorServiceClient documentProcessorServiceClient =
    *     DocumentProcessorServiceClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
@@ -2584,8 +2830,11 @@ public final Location getLocation(GetLocationRequest 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 (DocumentProcessorServiceClient documentProcessorServiceClient =
    *     DocumentProcessorServiceClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
diff --git a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/DocumentProcessorServiceSettings.java b/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/DocumentProcessorServiceSettings.java
index e0416c552a9..02d5311a19d 100644
--- a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/DocumentProcessorServiceSettings.java
+++ b/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/DocumentProcessorServiceSettings.java
@@ -63,8 +63,11 @@
  * 

For example, to set the total timeout of processDocument 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
  * DocumentProcessorServiceSettings.Builder documentProcessorServiceSettingsBuilder =
  *     DocumentProcessorServiceSettings.newBuilder();
  * documentProcessorServiceSettingsBuilder
diff --git a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/package-info.java b/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/package-info.java
index fddb83a67f4..2aec29b232d 100644
--- a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/package-info.java
+++ b/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/package-info.java
@@ -29,8 +29,11 @@
  * 

Sample for DocumentProcessorServiceClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (DocumentProcessorServiceClient documentProcessorServiceClient =
  *     DocumentProcessorServiceClient.create()) {
  *   ResourceName name = ProcessorName.of("[PROJECT]", "[LOCATION]", "[PROCESSOR]");
diff --git a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/stub/DocumentProcessorServiceStubSettings.java b/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/stub/DocumentProcessorServiceStubSettings.java
index 9c2f60a28b8..7b16e6f3400 100644
--- a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/stub/DocumentProcessorServiceStubSettings.java
+++ b/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/stub/DocumentProcessorServiceStubSettings.java
@@ -124,8 +124,11 @@
  * 

For example, to set the total timeout of processDocument 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
  * DocumentProcessorServiceStubSettings.Builder documentProcessorServiceSettingsBuilder =
  *     DocumentProcessorServiceStubSettings.newBuilder();
  * documentProcessorServiceSettingsBuilder
diff --git a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/stub/HttpJsonDocumentProcessorServiceStub.java b/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/stub/HttpJsonDocumentProcessorServiceStub.java
index 48dd1579bcb..0e2527fcd1b 100644
--- a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/stub/HttpJsonDocumentProcessorServiceStub.java
+++ b/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/stub/HttpJsonDocumentProcessorServiceStub.java
@@ -151,7 +151,7 @@ public class HttpJsonDocumentProcessorServiceStub extends DocumentProcessorServi
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearName().build()))
+                                  .toBody("*", request.toBuilder().clearName().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -190,7 +190,7 @@ public class HttpJsonDocumentProcessorServiceStub extends DocumentProcessorServi
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearName().build()))
+                                  .toBody("*", request.toBuilder().clearName().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -479,7 +479,7 @@ public class HttpJsonDocumentProcessorServiceStub extends DocumentProcessorServi
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearName().build()))
+                                  .toBody("*", request.toBuilder().clearName().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -519,7 +519,7 @@ public class HttpJsonDocumentProcessorServiceStub extends DocumentProcessorServi
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearName().build()))
+                                  .toBody("*", request.toBuilder().clearName().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -559,7 +559,7 @@ public class HttpJsonDocumentProcessorServiceStub extends DocumentProcessorServi
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("processor", request.getProcessor()))
+                                  .toBody("processor", request.getProcessor(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -633,7 +633,7 @@ public class HttpJsonDocumentProcessorServiceStub extends DocumentProcessorServi
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearName().build()))
+                                  .toBody("*", request.toBuilder().clearName().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -673,7 +673,7 @@ public class HttpJsonDocumentProcessorServiceStub extends DocumentProcessorServi
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearName().build()))
+                                  .toBody("*", request.toBuilder().clearName().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -713,7 +713,7 @@ public class HttpJsonDocumentProcessorServiceStub extends DocumentProcessorServi
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearProcessor().build()))
+                                  .toBody("*", request.toBuilder().clearProcessor().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -755,7 +755,9 @@ public class HttpJsonDocumentProcessorServiceStub extends DocumentProcessorServi
                           request ->
                               ProtoRestSerializer.create()
                                   .toBody(
-                                      "*", request.toBuilder().clearHumanReviewConfig().build()))
+                                      "*",
+                                      request.toBuilder().clearHumanReviewConfig().build(),
+                                      false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/batchprocessdocuments/AsyncBatchProcessDocuments.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/batchprocessdocuments/AsyncBatchProcessDocuments.java
index 18ab39b8fec..74ca809c8b5 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/batchprocessdocuments/AsyncBatchProcessDocuments.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/batchprocessdocuments/AsyncBatchProcessDocuments.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncBatchProcessDocuments() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       BatchProcessRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/batchprocessdocuments/AsyncBatchProcessDocumentsLRO.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/batchprocessdocuments/AsyncBatchProcessDocumentsLRO.java
index 3ad5a46c5c6..cfc22f066f5 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/batchprocessdocuments/AsyncBatchProcessDocumentsLRO.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/batchprocessdocuments/AsyncBatchProcessDocumentsLRO.java
@@ -33,8 +33,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncBatchProcessDocumentsLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       BatchProcessRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/batchprocessdocuments/SyncBatchProcessDocuments.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/batchprocessdocuments/SyncBatchProcessDocuments.java
index 0f9ba56c575..4166121bdda 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/batchprocessdocuments/SyncBatchProcessDocuments.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/batchprocessdocuments/SyncBatchProcessDocuments.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchProcessDocuments() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       BatchProcessRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/batchprocessdocuments/SyncBatchProcessDocumentsResourcename.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/batchprocessdocuments/SyncBatchProcessDocumentsResourcename.java
index 49a7e140217..625f2a45275 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/batchprocessdocuments/SyncBatchProcessDocumentsResourcename.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/batchprocessdocuments/SyncBatchProcessDocumentsResourcename.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchProcessDocumentsResourcename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       ResourceName name = ProcessorName.of("[PROJECT]", "[LOCATION]", "[PROCESSOR]");
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/batchprocessdocuments/SyncBatchProcessDocumentsString.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/batchprocessdocuments/SyncBatchProcessDocumentsString.java
index 1ca1b97c89d..8d12037120a 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/batchprocessdocuments/SyncBatchProcessDocumentsString.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/batchprocessdocuments/SyncBatchProcessDocumentsString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchProcessDocumentsString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       String name = HumanReviewConfigName.of("[PROJECT]", "[LOCATION]", "[PROCESSOR]").toString();
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/create/SyncCreateSetCredentialsProvider.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/create/SyncCreateSetCredentialsProvider.java
index c2bd29e78d5..b042ef87a15 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/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
     DocumentProcessorServiceSettings documentProcessorServiceSettings =
         DocumentProcessorServiceSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/create/SyncCreateSetCredentialsProvider1.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/create/SyncCreateSetCredentialsProvider1.java
index a32650995e6..ee456e0c1d7 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/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
     DocumentProcessorServiceSettings documentProcessorServiceSettings =
         DocumentProcessorServiceSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/create/SyncCreateSetEndpoint.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/create/SyncCreateSetEndpoint.java
index 0808638e02d..c3cc556d0a0 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/create/SyncCreateSetEndpoint.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/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
     DocumentProcessorServiceSettings documentProcessorServiceSettings =
         DocumentProcessorServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
     DocumentProcessorServiceClient documentProcessorServiceClient =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/createprocessor/AsyncCreateProcessor.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/createprocessor/AsyncCreateProcessor.java
index 183f21a2e6f..a161694e2fa 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/createprocessor/AsyncCreateProcessor.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/createprocessor/AsyncCreateProcessor.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateProcessor() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       CreateProcessorRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/createprocessor/SyncCreateProcessor.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/createprocessor/SyncCreateProcessor.java
index 600406b2a79..b760997fa5b 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/createprocessor/SyncCreateProcessor.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/createprocessor/SyncCreateProcessor.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateProcessor() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       CreateProcessorRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/createprocessor/SyncCreateProcessorLocationnameProcessor.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/createprocessor/SyncCreateProcessorLocationnameProcessor.java
index 8eb3428c657..7c5b12aa8ea 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/createprocessor/SyncCreateProcessorLocationnameProcessor.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/createprocessor/SyncCreateProcessorLocationnameProcessor.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateProcessorLocationnameProcessor() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/createprocessor/SyncCreateProcessorStringProcessor.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/createprocessor/SyncCreateProcessorStringProcessor.java
index 9b347758755..bda98dc41dc 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/createprocessor/SyncCreateProcessorStringProcessor.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/createprocessor/SyncCreateProcessorStringProcessor.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateProcessorStringProcessor() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deleteprocessor/AsyncDeleteProcessor.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deleteprocessor/AsyncDeleteProcessor.java
index 67bc8a2f27d..b17a9a0769a 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deleteprocessor/AsyncDeleteProcessor.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deleteprocessor/AsyncDeleteProcessor.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteProcessor() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       DeleteProcessorRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deleteprocessor/AsyncDeleteProcessorLRO.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deleteprocessor/AsyncDeleteProcessorLRO.java
index 003f53ac3e5..9270dde4786 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deleteprocessor/AsyncDeleteProcessorLRO.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deleteprocessor/AsyncDeleteProcessorLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteProcessorLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       DeleteProcessorRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deleteprocessor/SyncDeleteProcessor.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deleteprocessor/SyncDeleteProcessor.java
index 3cff6e2053a..a758bcdbf29 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deleteprocessor/SyncDeleteProcessor.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deleteprocessor/SyncDeleteProcessor.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteProcessor() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       DeleteProcessorRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deleteprocessor/SyncDeleteProcessorProcessorname.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deleteprocessor/SyncDeleteProcessorProcessorname.java
index 151128dbb80..1f1b5a81a29 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deleteprocessor/SyncDeleteProcessorProcessorname.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deleteprocessor/SyncDeleteProcessorProcessorname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteProcessorProcessorname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       ProcessorName name = ProcessorName.of("[PROJECT]", "[LOCATION]", "[PROCESSOR]");
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deleteprocessor/SyncDeleteProcessorString.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deleteprocessor/SyncDeleteProcessorString.java
index 1b6d8626915..b06b727b309 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deleteprocessor/SyncDeleteProcessorString.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deleteprocessor/SyncDeleteProcessorString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteProcessorString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       String name = ProcessorName.of("[PROJECT]", "[LOCATION]", "[PROCESSOR]").toString();
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deleteprocessorversion/AsyncDeleteProcessorVersion.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deleteprocessorversion/AsyncDeleteProcessorVersion.java
index c9ed9e282b9..38d215016fe 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deleteprocessorversion/AsyncDeleteProcessorVersion.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deleteprocessorversion/AsyncDeleteProcessorVersion.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteProcessorVersion() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       DeleteProcessorVersionRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deleteprocessorversion/AsyncDeleteProcessorVersionLRO.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deleteprocessorversion/AsyncDeleteProcessorVersionLRO.java
index 21ee75e1934..bcf5f579b68 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deleteprocessorversion/AsyncDeleteProcessorVersionLRO.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deleteprocessorversion/AsyncDeleteProcessorVersionLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteProcessorVersionLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       DeleteProcessorVersionRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deleteprocessorversion/SyncDeleteProcessorVersion.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deleteprocessorversion/SyncDeleteProcessorVersion.java
index 91043ec9415..b77ccd80f9d 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deleteprocessorversion/SyncDeleteProcessorVersion.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deleteprocessorversion/SyncDeleteProcessorVersion.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteProcessorVersion() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       DeleteProcessorVersionRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deleteprocessorversion/SyncDeleteProcessorVersionProcessorversionname.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deleteprocessorversion/SyncDeleteProcessorVersionProcessorversionname.java
index 1ea393e882f..61571222837 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deleteprocessorversion/SyncDeleteProcessorVersionProcessorversionname.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deleteprocessorversion/SyncDeleteProcessorVersionProcessorversionname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteProcessorVersionProcessorversionname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       ProcessorVersionName name =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deleteprocessorversion/SyncDeleteProcessorVersionString.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deleteprocessorversion/SyncDeleteProcessorVersionString.java
index 7ddd67c4c3e..f9b46bcfb8e 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deleteprocessorversion/SyncDeleteProcessorVersionString.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deleteprocessorversion/SyncDeleteProcessorVersionString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteProcessorVersionString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       String name =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deployprocessorversion/AsyncDeployProcessorVersion.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deployprocessorversion/AsyncDeployProcessorVersion.java
index f3c3d193b5a..c40a66bbd7b 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deployprocessorversion/AsyncDeployProcessorVersion.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deployprocessorversion/AsyncDeployProcessorVersion.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeployProcessorVersion() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       DeployProcessorVersionRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deployprocessorversion/AsyncDeployProcessorVersionLRO.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deployprocessorversion/AsyncDeployProcessorVersionLRO.java
index 311c593c03a..87d6e89e332 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deployprocessorversion/AsyncDeployProcessorVersionLRO.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deployprocessorversion/AsyncDeployProcessorVersionLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeployProcessorVersionLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       DeployProcessorVersionRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deployprocessorversion/SyncDeployProcessorVersion.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deployprocessorversion/SyncDeployProcessorVersion.java
index 9136a306215..eea0038c101 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deployprocessorversion/SyncDeployProcessorVersion.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deployprocessorversion/SyncDeployProcessorVersion.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeployProcessorVersion() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       DeployProcessorVersionRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deployprocessorversion/SyncDeployProcessorVersionProcessorversionname.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deployprocessorversion/SyncDeployProcessorVersionProcessorversionname.java
index bf218b08680..591d2783904 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deployprocessorversion/SyncDeployProcessorVersionProcessorversionname.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deployprocessorversion/SyncDeployProcessorVersionProcessorversionname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeployProcessorVersionProcessorversionname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       ProcessorVersionName name =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deployprocessorversion/SyncDeployProcessorVersionString.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deployprocessorversion/SyncDeployProcessorVersionString.java
index f579c532e47..fe2ced11ea3 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deployprocessorversion/SyncDeployProcessorVersionString.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/deployprocessorversion/SyncDeployProcessorVersionString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeployProcessorVersionString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       String name =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/disableprocessor/AsyncDisableProcessor.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/disableprocessor/AsyncDisableProcessor.java
index 48fb5d07d2e..e2558a3af21 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/disableprocessor/AsyncDisableProcessor.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/disableprocessor/AsyncDisableProcessor.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDisableProcessor() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       DisableProcessorRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/disableprocessor/AsyncDisableProcessorLRO.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/disableprocessor/AsyncDisableProcessorLRO.java
index 5ee318b6d2d..2312e2339b2 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/disableprocessor/AsyncDisableProcessorLRO.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/disableprocessor/AsyncDisableProcessorLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDisableProcessorLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       DisableProcessorRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/disableprocessor/SyncDisableProcessor.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/disableprocessor/SyncDisableProcessor.java
index 633fdde583a..4aafbfdf77a 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/disableprocessor/SyncDisableProcessor.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/disableprocessor/SyncDisableProcessor.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDisableProcessor() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       DisableProcessorRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/enableprocessor/AsyncEnableProcessor.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/enableprocessor/AsyncEnableProcessor.java
index f04ae7e849d..6a4e298c6b4 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/enableprocessor/AsyncEnableProcessor.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/enableprocessor/AsyncEnableProcessor.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncEnableProcessor() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       EnableProcessorRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/enableprocessor/AsyncEnableProcessorLRO.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/enableprocessor/AsyncEnableProcessorLRO.java
index a6c65700070..25f66640987 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/enableprocessor/AsyncEnableProcessorLRO.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/enableprocessor/AsyncEnableProcessorLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncEnableProcessorLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       EnableProcessorRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/enableprocessor/SyncEnableProcessor.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/enableprocessor/SyncEnableProcessor.java
index d27df039d58..9c9a2228ef4 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/enableprocessor/SyncEnableProcessor.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/enableprocessor/SyncEnableProcessor.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncEnableProcessor() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       EnableProcessorRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/fetchprocessortypes/AsyncFetchProcessorTypes.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/fetchprocessortypes/AsyncFetchProcessorTypes.java
index 4c979fa1d35..afec349a19b 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/fetchprocessortypes/AsyncFetchProcessorTypes.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/fetchprocessortypes/AsyncFetchProcessorTypes.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncFetchProcessorTypes() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       FetchProcessorTypesRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/fetchprocessortypes/SyncFetchProcessorTypes.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/fetchprocessortypes/SyncFetchProcessorTypes.java
index 2197a2fcc17..a553124321d 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/fetchprocessortypes/SyncFetchProcessorTypes.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/fetchprocessortypes/SyncFetchProcessorTypes.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncFetchProcessorTypes() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       FetchProcessorTypesRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/fetchprocessortypes/SyncFetchProcessorTypesLocationname.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/fetchprocessortypes/SyncFetchProcessorTypesLocationname.java
index 6525992b506..3fa9c25c319 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/fetchprocessortypes/SyncFetchProcessorTypesLocationname.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/fetchprocessortypes/SyncFetchProcessorTypesLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncFetchProcessorTypesLocationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/fetchprocessortypes/SyncFetchProcessorTypesString.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/fetchprocessortypes/SyncFetchProcessorTypesString.java
index 31646673faf..800a797c85a 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/fetchprocessortypes/SyncFetchProcessorTypesString.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/fetchprocessortypes/SyncFetchProcessorTypesString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncFetchProcessorTypesString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/getlocation/AsyncGetLocation.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/getlocation/AsyncGetLocation.java
index 88432051027..d8afe3856e0 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/getlocation/AsyncGetLocation.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/getlocation/AsyncGetLocation.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/getlocation/SyncGetLocation.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/getlocation/SyncGetLocation.java
index 7fed4240605..ff2bcee828b 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/getlocation/SyncGetLocation.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/getlocation/SyncGetLocation.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/getprocessor/AsyncGetProcessor.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/getprocessor/AsyncGetProcessor.java
index b3d3d5cbcd0..d0b36b30736 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/getprocessor/AsyncGetProcessor.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/getprocessor/AsyncGetProcessor.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetProcessor() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       GetProcessorRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/getprocessor/SyncGetProcessor.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/getprocessor/SyncGetProcessor.java
index 5c738492e8b..971d9a94402 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/getprocessor/SyncGetProcessor.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/getprocessor/SyncGetProcessor.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetProcessor() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       GetProcessorRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/getprocessor/SyncGetProcessorProcessorname.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/getprocessor/SyncGetProcessorProcessorname.java
index 1063d3248af..0fca817e1cb 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/getprocessor/SyncGetProcessorProcessorname.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/getprocessor/SyncGetProcessorProcessorname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetProcessorProcessorname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       ProcessorName name = ProcessorName.of("[PROJECT]", "[LOCATION]", "[PROCESSOR]");
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/getprocessor/SyncGetProcessorString.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/getprocessor/SyncGetProcessorString.java
index 3ae6f8809f2..0fc633d8311 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/getprocessor/SyncGetProcessorString.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/getprocessor/SyncGetProcessorString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetProcessorString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       String name = ProcessorName.of("[PROJECT]", "[LOCATION]", "[PROCESSOR]").toString();
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/getprocessorversion/AsyncGetProcessorVersion.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/getprocessorversion/AsyncGetProcessorVersion.java
index f3292848fbd..75b771f6a07 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/getprocessorversion/AsyncGetProcessorVersion.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/getprocessorversion/AsyncGetProcessorVersion.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetProcessorVersion() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       GetProcessorVersionRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/getprocessorversion/SyncGetProcessorVersion.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/getprocessorversion/SyncGetProcessorVersion.java
index d1f8d76f6d8..465f06cafeb 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/getprocessorversion/SyncGetProcessorVersion.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/getprocessorversion/SyncGetProcessorVersion.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetProcessorVersion() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       GetProcessorVersionRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/getprocessorversion/SyncGetProcessorVersionProcessorversionname.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/getprocessorversion/SyncGetProcessorVersionProcessorversionname.java
index 28276defd58..9a533f0d3dc 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/getprocessorversion/SyncGetProcessorVersionProcessorversionname.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/getprocessorversion/SyncGetProcessorVersionProcessorversionname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetProcessorVersionProcessorversionname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       ProcessorVersionName name =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/getprocessorversion/SyncGetProcessorVersionString.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/getprocessorversion/SyncGetProcessorVersionString.java
index 2b12b11c34a..83b1a7ae014 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/getprocessorversion/SyncGetProcessorVersionString.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/getprocessorversion/SyncGetProcessorVersionString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetProcessorVersionString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       String name =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listlocations/AsyncListLocations.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listlocations/AsyncListLocations.java
index 7d129a68703..e1cc5f1c84b 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listlocations/AsyncListLocations.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listlocations/AsyncListLocations.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       ListLocationsRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listlocations/AsyncListLocationsPaged.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listlocations/AsyncListLocationsPaged.java
index f2ac478ac35..f3eb7e69ed8 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listlocations/AsyncListLocationsPaged.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listlocations/AsyncListLocationsPaged.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocationsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       ListLocationsRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listlocations/SyncListLocations.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listlocations/SyncListLocations.java
index 874bb39f4b2..e4b5873c6f6 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listlocations/SyncListLocations.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listlocations/SyncListLocations.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       ListLocationsRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessors/AsyncListProcessors.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessors/AsyncListProcessors.java
index 18bb4e2ba56..5e766999da1 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessors/AsyncListProcessors.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessors/AsyncListProcessors.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListProcessors() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       ListProcessorsRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessors/AsyncListProcessorsPaged.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessors/AsyncListProcessorsPaged.java
index 8f4550b3f80..a9c39c22854 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessors/AsyncListProcessorsPaged.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessors/AsyncListProcessorsPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListProcessorsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       ListProcessorsRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessors/SyncListProcessors.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessors/SyncListProcessors.java
index 8f24c8abb51..fb001c92b39 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessors/SyncListProcessors.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessors/SyncListProcessors.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListProcessors() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       ListProcessorsRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessors/SyncListProcessorsLocationname.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessors/SyncListProcessorsLocationname.java
index 99c4bc4b8fb..e57f71e898a 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessors/SyncListProcessorsLocationname.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessors/SyncListProcessorsLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListProcessorsLocationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessors/SyncListProcessorsString.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessors/SyncListProcessorsString.java
index 416f72567f7..a91e3a11dd0 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessors/SyncListProcessorsString.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessors/SyncListProcessorsString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListProcessorsString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessortypes/AsyncListProcessorTypes.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessortypes/AsyncListProcessorTypes.java
index 75c5ea187c3..ee021971386 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessortypes/AsyncListProcessorTypes.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessortypes/AsyncListProcessorTypes.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListProcessorTypes() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       ListProcessorTypesRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessortypes/AsyncListProcessorTypesPaged.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessortypes/AsyncListProcessorTypesPaged.java
index aba09d65d23..f493a7eceb4 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessortypes/AsyncListProcessorTypesPaged.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessortypes/AsyncListProcessorTypesPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListProcessorTypesPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       ListProcessorTypesRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessortypes/SyncListProcessorTypes.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessortypes/SyncListProcessorTypes.java
index da8e0b43825..5a9bedab6ec 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessortypes/SyncListProcessorTypes.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessortypes/SyncListProcessorTypes.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListProcessorTypes() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       ListProcessorTypesRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessortypes/SyncListProcessorTypesLocationname.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessortypes/SyncListProcessorTypesLocationname.java
index ce9dc2c61b9..b3744085ec0 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessortypes/SyncListProcessorTypesLocationname.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessortypes/SyncListProcessorTypesLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListProcessorTypesLocationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessortypes/SyncListProcessorTypesString.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessortypes/SyncListProcessorTypesString.java
index 7289715ca86..0845a9d9a5b 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessortypes/SyncListProcessorTypesString.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessortypes/SyncListProcessorTypesString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListProcessorTypesString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessorversions/AsyncListProcessorVersions.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessorversions/AsyncListProcessorVersions.java
index 9f943ac68ef..a594934d8e7 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessorversions/AsyncListProcessorVersions.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessorversions/AsyncListProcessorVersions.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListProcessorVersions() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       ListProcessorVersionsRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessorversions/AsyncListProcessorVersionsPaged.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessorversions/AsyncListProcessorVersionsPaged.java
index ff81ea27b8e..e2e6b2a37d4 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessorversions/AsyncListProcessorVersionsPaged.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessorversions/AsyncListProcessorVersionsPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListProcessorVersionsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       ListProcessorVersionsRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessorversions/SyncListProcessorVersions.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessorversions/SyncListProcessorVersions.java
index 25c70d930e4..a1bcd89fbcb 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessorversions/SyncListProcessorVersions.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessorversions/SyncListProcessorVersions.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListProcessorVersions() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       ListProcessorVersionsRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessorversions/SyncListProcessorVersionsProcessorname.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessorversions/SyncListProcessorVersionsProcessorname.java
index 38c2e742324..df6ae7e1cde 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessorversions/SyncListProcessorVersionsProcessorname.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessorversions/SyncListProcessorVersionsProcessorname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListProcessorVersionsProcessorname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       ProcessorName parent = ProcessorName.of("[PROJECT]", "[LOCATION]", "[PROCESSOR]");
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessorversions/SyncListProcessorVersionsString.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessorversions/SyncListProcessorVersionsString.java
index f134a2dd063..df2a12d2ee0 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessorversions/SyncListProcessorVersionsString.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/listprocessorversions/SyncListProcessorVersionsString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListProcessorVersionsString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       String parent = ProcessorName.of("[PROJECT]", "[LOCATION]", "[PROCESSOR]").toString();
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/processdocument/AsyncProcessDocument.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/processdocument/AsyncProcessDocument.java
index 76f0ea744e2..98ba6d18a53 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/processdocument/AsyncProcessDocument.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/processdocument/AsyncProcessDocument.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncProcessDocument() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       ProcessRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/processdocument/SyncProcessDocument.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/processdocument/SyncProcessDocument.java
index fd39dd017d9..b273c2d3572 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/processdocument/SyncProcessDocument.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/processdocument/SyncProcessDocument.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncProcessDocument() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       ProcessRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/processdocument/SyncProcessDocumentResourcename.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/processdocument/SyncProcessDocumentResourcename.java
index a13a6e7a560..74da21fcec6 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/processdocument/SyncProcessDocumentResourcename.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/processdocument/SyncProcessDocumentResourcename.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncProcessDocumentResourcename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       ResourceName name = ProcessorName.of("[PROJECT]", "[LOCATION]", "[PROCESSOR]");
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/processdocument/SyncProcessDocumentString.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/processdocument/SyncProcessDocumentString.java
index 0c1f42910b3..557e6f45b6f 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/processdocument/SyncProcessDocumentString.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/processdocument/SyncProcessDocumentString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncProcessDocumentString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       String name = HumanReviewConfigName.of("[PROJECT]", "[LOCATION]", "[PROCESSOR]").toString();
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/reviewdocument/AsyncReviewDocument.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/reviewdocument/AsyncReviewDocument.java
index e6654c21324..fcb718ecb07 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/reviewdocument/AsyncReviewDocument.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/reviewdocument/AsyncReviewDocument.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncReviewDocument() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       ReviewDocumentRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/reviewdocument/AsyncReviewDocumentLRO.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/reviewdocument/AsyncReviewDocumentLRO.java
index 1d3a56dcd29..dec45d4dc3c 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/reviewdocument/AsyncReviewDocumentLRO.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/reviewdocument/AsyncReviewDocumentLRO.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncReviewDocumentLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       ReviewDocumentRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/reviewdocument/SyncReviewDocument.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/reviewdocument/SyncReviewDocument.java
index ea0a5598c93..77521d3640d 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/reviewdocument/SyncReviewDocument.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/reviewdocument/SyncReviewDocument.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncReviewDocument() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       ReviewDocumentRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/reviewdocument/SyncReviewDocumentHumanreviewconfigname.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/reviewdocument/SyncReviewDocumentHumanreviewconfigname.java
index ededd882fbe..8679d81eaf7 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/reviewdocument/SyncReviewDocumentHumanreviewconfigname.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/reviewdocument/SyncReviewDocumentHumanreviewconfigname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncReviewDocumentHumanreviewconfigname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       HumanReviewConfigName humanReviewConfig =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/reviewdocument/SyncReviewDocumentString.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/reviewdocument/SyncReviewDocumentString.java
index 97e4a502943..e68f6a3d4ed 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/reviewdocument/SyncReviewDocumentString.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/reviewdocument/SyncReviewDocumentString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncReviewDocumentString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       String humanReviewConfig =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/setdefaultprocessorversion/AsyncSetDefaultProcessorVersion.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/setdefaultprocessorversion/AsyncSetDefaultProcessorVersion.java
index fdc895accf2..ecae293e21e 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/setdefaultprocessorversion/AsyncSetDefaultProcessorVersion.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/setdefaultprocessorversion/AsyncSetDefaultProcessorVersion.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncSetDefaultProcessorVersion() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       SetDefaultProcessorVersionRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/setdefaultprocessorversion/AsyncSetDefaultProcessorVersionLRO.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/setdefaultprocessorversion/AsyncSetDefaultProcessorVersionLRO.java
index e036159a83e..401689be958 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/setdefaultprocessorversion/AsyncSetDefaultProcessorVersionLRO.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/setdefaultprocessorversion/AsyncSetDefaultProcessorVersionLRO.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncSetDefaultProcessorVersionLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       SetDefaultProcessorVersionRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/setdefaultprocessorversion/SyncSetDefaultProcessorVersion.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/setdefaultprocessorversion/SyncSetDefaultProcessorVersion.java
index 46bb58f3f0d..6d2fa05681e 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/setdefaultprocessorversion/SyncSetDefaultProcessorVersion.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/setdefaultprocessorversion/SyncSetDefaultProcessorVersion.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSetDefaultProcessorVersion() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       SetDefaultProcessorVersionRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/undeployprocessorversion/AsyncUndeployProcessorVersion.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/undeployprocessorversion/AsyncUndeployProcessorVersion.java
index ea4faef46c7..913c29af07c 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/undeployprocessorversion/AsyncUndeployProcessorVersion.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/undeployprocessorversion/AsyncUndeployProcessorVersion.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUndeployProcessorVersion() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       UndeployProcessorVersionRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/undeployprocessorversion/AsyncUndeployProcessorVersionLRO.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/undeployprocessorversion/AsyncUndeployProcessorVersionLRO.java
index 7282b700043..e69d7875c0e 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/undeployprocessorversion/AsyncUndeployProcessorVersionLRO.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/undeployprocessorversion/AsyncUndeployProcessorVersionLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUndeployProcessorVersionLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       UndeployProcessorVersionRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/undeployprocessorversion/SyncUndeployProcessorVersion.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/undeployprocessorversion/SyncUndeployProcessorVersion.java
index c05e88f394e..40201ef6820 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/undeployprocessorversion/SyncUndeployProcessorVersion.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/undeployprocessorversion/SyncUndeployProcessorVersion.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUndeployProcessorVersion() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       UndeployProcessorVersionRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/undeployprocessorversion/SyncUndeployProcessorVersionProcessorversionname.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/undeployprocessorversion/SyncUndeployProcessorVersionProcessorversionname.java
index abf97f0c0fc..d76bbb9ec24 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/undeployprocessorversion/SyncUndeployProcessorVersionProcessorversionname.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/undeployprocessorversion/SyncUndeployProcessorVersionProcessorversionname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUndeployProcessorVersionProcessorversionname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       ProcessorVersionName name =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/undeployprocessorversion/SyncUndeployProcessorVersionString.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/undeployprocessorversion/SyncUndeployProcessorVersionString.java
index ab45c00fa7d..9646aa13e07 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/undeployprocessorversion/SyncUndeployProcessorVersionString.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorserviceclient/undeployprocessorversion/SyncUndeployProcessorVersionString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUndeployProcessorVersionString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       String name =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservicesettings/processdocument/SyncProcessDocument.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservicesettings/processdocument/SyncProcessDocument.java
index 32cac420dc1..e64667bf86a 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservicesettings/processdocument/SyncProcessDocument.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservicesettings/processdocument/SyncProcessDocument.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncProcessDocument() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     DocumentProcessorServiceSettings.Builder documentProcessorServiceSettingsBuilder =
         DocumentProcessorServiceSettings.newBuilder();
     documentProcessorServiceSettingsBuilder
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/stub/documentprocessorservicestubsettings/processdocument/SyncProcessDocument.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/stub/documentprocessorservicestubsettings/processdocument/SyncProcessDocument.java
index 34e358e6f8d..bd4ef1a2b18 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/stub/documentprocessorservicestubsettings/processdocument/SyncProcessDocument.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1/stub/documentprocessorservicestubsettings/processdocument/SyncProcessDocument.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncProcessDocument() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     DocumentProcessorServiceStubSettings.Builder documentProcessorServiceSettingsBuilder =
         DocumentProcessorServiceStubSettings.newBuilder();
     documentProcessorServiceSettingsBuilder
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta1/documentunderstandingserviceclient/batchprocessdocuments/AsyncBatchProcessDocuments.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta1/documentunderstandingserviceclient/batchprocessdocuments/AsyncBatchProcessDocuments.java
index 8f691918dde..75071b65b1e 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta1/documentunderstandingserviceclient/batchprocessdocuments/AsyncBatchProcessDocuments.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta1/documentunderstandingserviceclient/batchprocessdocuments/AsyncBatchProcessDocuments.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncBatchProcessDocuments() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentUnderstandingServiceClient documentUnderstandingServiceClient =
         DocumentUnderstandingServiceClient.create()) {
       BatchProcessDocumentsRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta1/documentunderstandingserviceclient/batchprocessdocuments/AsyncBatchProcessDocumentsLRO.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta1/documentunderstandingserviceclient/batchprocessdocuments/AsyncBatchProcessDocumentsLRO.java
index 9d5a373f071..87c1891954b 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta1/documentunderstandingserviceclient/batchprocessdocuments/AsyncBatchProcessDocumentsLRO.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta1/documentunderstandingserviceclient/batchprocessdocuments/AsyncBatchProcessDocumentsLRO.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncBatchProcessDocumentsLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentUnderstandingServiceClient documentUnderstandingServiceClient =
         DocumentUnderstandingServiceClient.create()) {
       BatchProcessDocumentsRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta1/documentunderstandingserviceclient/batchprocessdocuments/SyncBatchProcessDocuments.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta1/documentunderstandingserviceclient/batchprocessdocuments/SyncBatchProcessDocuments.java
index 91607eb121d..408f00c70b5 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta1/documentunderstandingserviceclient/batchprocessdocuments/SyncBatchProcessDocuments.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta1/documentunderstandingserviceclient/batchprocessdocuments/SyncBatchProcessDocuments.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchProcessDocuments() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentUnderstandingServiceClient documentUnderstandingServiceClient =
         DocumentUnderstandingServiceClient.create()) {
       BatchProcessDocumentsRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta1/documentunderstandingserviceclient/batchprocessdocuments/SyncBatchProcessDocumentsListprocessdocumentrequest.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta1/documentunderstandingserviceclient/batchprocessdocuments/SyncBatchProcessDocumentsListprocessdocumentrequest.java
index 53be6028df0..12e4e340447 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta1/documentunderstandingserviceclient/batchprocessdocuments/SyncBatchProcessDocumentsListprocessdocumentrequest.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta1/documentunderstandingserviceclient/batchprocessdocuments/SyncBatchProcessDocumentsListprocessdocumentrequest.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchProcessDocumentsListprocessdocumentrequest() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentUnderstandingServiceClient documentUnderstandingServiceClient =
         DocumentUnderstandingServiceClient.create()) {
       List requests = new ArrayList<>();
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta1/documentunderstandingserviceclient/create/SyncCreateSetCredentialsProvider.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta1/documentunderstandingserviceclient/create/SyncCreateSetCredentialsProvider.java
index c00381717c5..f19ee3a3b4d 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta1/documentunderstandingserviceclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta1/documentunderstandingserviceclient/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
     DocumentUnderstandingServiceSettings documentUnderstandingServiceSettings =
         DocumentUnderstandingServiceSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta1/documentunderstandingserviceclient/create/SyncCreateSetEndpoint.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta1/documentunderstandingserviceclient/create/SyncCreateSetEndpoint.java
index 160894e13a0..29d9001c848 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta1/documentunderstandingserviceclient/create/SyncCreateSetEndpoint.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta1/documentunderstandingserviceclient/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
     DocumentUnderstandingServiceSettings documentUnderstandingServiceSettings =
         DocumentUnderstandingServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
     DocumentUnderstandingServiceClient documentUnderstandingServiceClient =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta1/documentunderstandingservicesettings/batchprocessdocuments/SyncBatchProcessDocuments.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta1/documentunderstandingservicesettings/batchprocessdocuments/SyncBatchProcessDocuments.java
index ff1063cc58a..4a443d22cfa 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta1/documentunderstandingservicesettings/batchprocessdocuments/SyncBatchProcessDocuments.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta1/documentunderstandingservicesettings/batchprocessdocuments/SyncBatchProcessDocuments.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchProcessDocuments() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     DocumentUnderstandingServiceSettings.Builder documentUnderstandingServiceSettingsBuilder =
         DocumentUnderstandingServiceSettings.newBuilder();
     documentUnderstandingServiceSettingsBuilder
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta1/stub/documentunderstandingservicestubsettings/batchprocessdocuments/SyncBatchProcessDocuments.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta1/stub/documentunderstandingservicestubsettings/batchprocessdocuments/SyncBatchProcessDocuments.java
index 1f27c8a72ee..7813db2a3e3 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta1/stub/documentunderstandingservicestubsettings/batchprocessdocuments/SyncBatchProcessDocuments.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta1/stub/documentunderstandingservicestubsettings/batchprocessdocuments/SyncBatchProcessDocuments.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchProcessDocuments() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     DocumentUnderstandingServiceStubSettings.Builder documentUnderstandingServiceSettingsBuilder =
         DocumentUnderstandingServiceStubSettings.newBuilder();
     documentUnderstandingServiceSettingsBuilder
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta2/documentunderstandingserviceclient/batchprocessdocuments/AsyncBatchProcessDocuments.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta2/documentunderstandingserviceclient/batchprocessdocuments/AsyncBatchProcessDocuments.java
index 90026c4f8ca..517e2ba8b5a 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta2/documentunderstandingserviceclient/batchprocessdocuments/AsyncBatchProcessDocuments.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta2/documentunderstandingserviceclient/batchprocessdocuments/AsyncBatchProcessDocuments.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncBatchProcessDocuments() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentUnderstandingServiceClient documentUnderstandingServiceClient =
         DocumentUnderstandingServiceClient.create()) {
       BatchProcessDocumentsRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta2/documentunderstandingserviceclient/batchprocessdocuments/AsyncBatchProcessDocumentsLRO.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta2/documentunderstandingserviceclient/batchprocessdocuments/AsyncBatchProcessDocumentsLRO.java
index 5e593604544..ded3296562b 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta2/documentunderstandingserviceclient/batchprocessdocuments/AsyncBatchProcessDocumentsLRO.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta2/documentunderstandingserviceclient/batchprocessdocuments/AsyncBatchProcessDocumentsLRO.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncBatchProcessDocumentsLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentUnderstandingServiceClient documentUnderstandingServiceClient =
         DocumentUnderstandingServiceClient.create()) {
       BatchProcessDocumentsRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta2/documentunderstandingserviceclient/batchprocessdocuments/SyncBatchProcessDocuments.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta2/documentunderstandingserviceclient/batchprocessdocuments/SyncBatchProcessDocuments.java
index a78ef890b0b..a0fe41d2022 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta2/documentunderstandingserviceclient/batchprocessdocuments/SyncBatchProcessDocuments.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta2/documentunderstandingserviceclient/batchprocessdocuments/SyncBatchProcessDocuments.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchProcessDocuments() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentUnderstandingServiceClient documentUnderstandingServiceClient =
         DocumentUnderstandingServiceClient.create()) {
       BatchProcessDocumentsRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta2/documentunderstandingserviceclient/batchprocessdocuments/SyncBatchProcessDocumentsListprocessdocumentrequest.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta2/documentunderstandingserviceclient/batchprocessdocuments/SyncBatchProcessDocumentsListprocessdocumentrequest.java
index 1c83d28c991..a1b8536af0e 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta2/documentunderstandingserviceclient/batchprocessdocuments/SyncBatchProcessDocumentsListprocessdocumentrequest.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta2/documentunderstandingserviceclient/batchprocessdocuments/SyncBatchProcessDocumentsListprocessdocumentrequest.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchProcessDocumentsListprocessdocumentrequest() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentUnderstandingServiceClient documentUnderstandingServiceClient =
         DocumentUnderstandingServiceClient.create()) {
       List requests = new ArrayList<>();
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta2/documentunderstandingserviceclient/create/SyncCreateSetCredentialsProvider.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta2/documentunderstandingserviceclient/create/SyncCreateSetCredentialsProvider.java
index bb40e379785..f98a68e8f12 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta2/documentunderstandingserviceclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta2/documentunderstandingserviceclient/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
     DocumentUnderstandingServiceSettings documentUnderstandingServiceSettings =
         DocumentUnderstandingServiceSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta2/documentunderstandingserviceclient/create/SyncCreateSetEndpoint.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta2/documentunderstandingserviceclient/create/SyncCreateSetEndpoint.java
index 0ec97dc4360..df3ae3acbd1 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta2/documentunderstandingserviceclient/create/SyncCreateSetEndpoint.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta2/documentunderstandingserviceclient/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
     DocumentUnderstandingServiceSettings documentUnderstandingServiceSettings =
         DocumentUnderstandingServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
     DocumentUnderstandingServiceClient documentUnderstandingServiceClient =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta2/documentunderstandingserviceclient/processdocument/AsyncProcessDocument.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta2/documentunderstandingserviceclient/processdocument/AsyncProcessDocument.java
index 4d8a080a5c3..d15cdc23ace 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta2/documentunderstandingserviceclient/processdocument/AsyncProcessDocument.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta2/documentunderstandingserviceclient/processdocument/AsyncProcessDocument.java
@@ -36,8 +36,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncProcessDocument() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentUnderstandingServiceClient documentUnderstandingServiceClient =
         DocumentUnderstandingServiceClient.create()) {
       ProcessDocumentRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta2/documentunderstandingserviceclient/processdocument/SyncProcessDocument.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta2/documentunderstandingserviceclient/processdocument/SyncProcessDocument.java
index 2368f200cf3..c41cc8d75af 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta2/documentunderstandingserviceclient/processdocument/SyncProcessDocument.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta2/documentunderstandingserviceclient/processdocument/SyncProcessDocument.java
@@ -35,8 +35,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncProcessDocument() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentUnderstandingServiceClient documentUnderstandingServiceClient =
         DocumentUnderstandingServiceClient.create()) {
       ProcessDocumentRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta2/documentunderstandingservicesettings/processdocument/SyncProcessDocument.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta2/documentunderstandingservicesettings/processdocument/SyncProcessDocument.java
index 56cff858733..a3dc5e3aeae 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta2/documentunderstandingservicesettings/processdocument/SyncProcessDocument.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta2/documentunderstandingservicesettings/processdocument/SyncProcessDocument.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncProcessDocument() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     DocumentUnderstandingServiceSettings.Builder documentUnderstandingServiceSettingsBuilder =
         DocumentUnderstandingServiceSettings.newBuilder();
     documentUnderstandingServiceSettingsBuilder
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta2/stub/documentunderstandingservicestubsettings/processdocument/SyncProcessDocument.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta2/stub/documentunderstandingservicestubsettings/processdocument/SyncProcessDocument.java
index 119a117216c..35b1d06b0c1 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta2/stub/documentunderstandingservicestubsettings/processdocument/SyncProcessDocument.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta2/stub/documentunderstandingservicestubsettings/processdocument/SyncProcessDocument.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncProcessDocument() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     DocumentUnderstandingServiceStubSettings.Builder documentUnderstandingServiceSettingsBuilder =
         DocumentUnderstandingServiceStubSettings.newBuilder();
     documentUnderstandingServiceSettingsBuilder
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/batchprocessdocuments/AsyncBatchProcessDocuments.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/batchprocessdocuments/AsyncBatchProcessDocuments.java
index d4d23ca4584..eea14e919c2 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/batchprocessdocuments/AsyncBatchProcessDocuments.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/batchprocessdocuments/AsyncBatchProcessDocuments.java
@@ -33,8 +33,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncBatchProcessDocuments() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       BatchProcessRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/batchprocessdocuments/AsyncBatchProcessDocumentsLRO.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/batchprocessdocuments/AsyncBatchProcessDocumentsLRO.java
index de56a225d3e..a01338592ba 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/batchprocessdocuments/AsyncBatchProcessDocumentsLRO.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/batchprocessdocuments/AsyncBatchProcessDocumentsLRO.java
@@ -34,8 +34,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncBatchProcessDocumentsLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       BatchProcessRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/batchprocessdocuments/SyncBatchProcessDocuments.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/batchprocessdocuments/SyncBatchProcessDocuments.java
index fe2f497ca97..f2ebdee518a 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/batchprocessdocuments/SyncBatchProcessDocuments.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/batchprocessdocuments/SyncBatchProcessDocuments.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchProcessDocuments() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       BatchProcessRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/batchprocessdocuments/SyncBatchProcessDocumentsResourcename.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/batchprocessdocuments/SyncBatchProcessDocumentsResourcename.java
index 2b95a7c0b94..4894a709927 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/batchprocessdocuments/SyncBatchProcessDocumentsResourcename.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/batchprocessdocuments/SyncBatchProcessDocumentsResourcename.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchProcessDocumentsResourcename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       ResourceName name = ProcessorName.of("[PROJECT]", "[LOCATION]", "[PROCESSOR]");
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/batchprocessdocuments/SyncBatchProcessDocumentsString.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/batchprocessdocuments/SyncBatchProcessDocumentsString.java
index 5d9757f05cd..514774aba00 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/batchprocessdocuments/SyncBatchProcessDocumentsString.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/batchprocessdocuments/SyncBatchProcessDocumentsString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchProcessDocumentsString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       String name = HumanReviewConfigName.of("[PROJECT]", "[LOCATION]", "[PROCESSOR]").toString();
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/create/SyncCreateSetCredentialsProvider.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/create/SyncCreateSetCredentialsProvider.java
index e8e8d539c49..90879923af0 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/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
     DocumentProcessorServiceSettings documentProcessorServiceSettings =
         DocumentProcessorServiceSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/create/SyncCreateSetCredentialsProvider1.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/create/SyncCreateSetCredentialsProvider1.java
index 6f31ddc7d51..a07e704d4f5 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/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
     DocumentProcessorServiceSettings documentProcessorServiceSettings =
         DocumentProcessorServiceSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/create/SyncCreateSetEndpoint.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/create/SyncCreateSetEndpoint.java
index 08226d2bdb6..c186ef8b4c2 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/create/SyncCreateSetEndpoint.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/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
     DocumentProcessorServiceSettings documentProcessorServiceSettings =
         DocumentProcessorServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
     DocumentProcessorServiceClient documentProcessorServiceClient =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/createprocessor/AsyncCreateProcessor.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/createprocessor/AsyncCreateProcessor.java
index 9b8cc5462cf..d744a2eb677 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/createprocessor/AsyncCreateProcessor.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/createprocessor/AsyncCreateProcessor.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateProcessor() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       CreateProcessorRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/createprocessor/SyncCreateProcessor.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/createprocessor/SyncCreateProcessor.java
index f5120dc5804..aa57726c906 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/createprocessor/SyncCreateProcessor.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/createprocessor/SyncCreateProcessor.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateProcessor() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       CreateProcessorRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/createprocessor/SyncCreateProcessorLocationnameProcessor.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/createprocessor/SyncCreateProcessorLocationnameProcessor.java
index ef1ba3c4d32..213b4becfe9 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/createprocessor/SyncCreateProcessorLocationnameProcessor.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/createprocessor/SyncCreateProcessorLocationnameProcessor.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateProcessorLocationnameProcessor() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/createprocessor/SyncCreateProcessorStringProcessor.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/createprocessor/SyncCreateProcessorStringProcessor.java
index 35161829217..80f041938e8 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/createprocessor/SyncCreateProcessorStringProcessor.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/createprocessor/SyncCreateProcessorStringProcessor.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateProcessorStringProcessor() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deleteprocessor/AsyncDeleteProcessor.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deleteprocessor/AsyncDeleteProcessor.java
index c3a8d3e793e..205b32f29f0 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deleteprocessor/AsyncDeleteProcessor.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deleteprocessor/AsyncDeleteProcessor.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteProcessor() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       DeleteProcessorRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deleteprocessor/AsyncDeleteProcessorLRO.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deleteprocessor/AsyncDeleteProcessorLRO.java
index c37049b1272..4ca094f8760 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deleteprocessor/AsyncDeleteProcessorLRO.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deleteprocessor/AsyncDeleteProcessorLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteProcessorLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       DeleteProcessorRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deleteprocessor/SyncDeleteProcessor.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deleteprocessor/SyncDeleteProcessor.java
index 79530313a3d..0c4280a947d 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deleteprocessor/SyncDeleteProcessor.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deleteprocessor/SyncDeleteProcessor.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteProcessor() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       DeleteProcessorRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deleteprocessor/SyncDeleteProcessorProcessorname.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deleteprocessor/SyncDeleteProcessorProcessorname.java
index c94f754def1..64ae756bc5c 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deleteprocessor/SyncDeleteProcessorProcessorname.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deleteprocessor/SyncDeleteProcessorProcessorname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteProcessorProcessorname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       ProcessorName name = ProcessorName.of("[PROJECT]", "[LOCATION]", "[PROCESSOR]");
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deleteprocessor/SyncDeleteProcessorString.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deleteprocessor/SyncDeleteProcessorString.java
index 2f093c1fcea..02076dec712 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deleteprocessor/SyncDeleteProcessorString.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deleteprocessor/SyncDeleteProcessorString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteProcessorString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       String name = ProcessorName.of("[PROJECT]", "[LOCATION]", "[PROCESSOR]").toString();
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deleteprocessorversion/AsyncDeleteProcessorVersion.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deleteprocessorversion/AsyncDeleteProcessorVersion.java
index 06cafc31408..2dd1b12a649 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deleteprocessorversion/AsyncDeleteProcessorVersion.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deleteprocessorversion/AsyncDeleteProcessorVersion.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteProcessorVersion() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       DeleteProcessorVersionRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deleteprocessorversion/AsyncDeleteProcessorVersionLRO.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deleteprocessorversion/AsyncDeleteProcessorVersionLRO.java
index 87cc390f805..7495e324d43 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deleteprocessorversion/AsyncDeleteProcessorVersionLRO.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deleteprocessorversion/AsyncDeleteProcessorVersionLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteProcessorVersionLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       DeleteProcessorVersionRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deleteprocessorversion/SyncDeleteProcessorVersion.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deleteprocessorversion/SyncDeleteProcessorVersion.java
index 6fb1eaabfe0..f4144b348df 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deleteprocessorversion/SyncDeleteProcessorVersion.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deleteprocessorversion/SyncDeleteProcessorVersion.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteProcessorVersion() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       DeleteProcessorVersionRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deleteprocessorversion/SyncDeleteProcessorVersionProcessorversionname.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deleteprocessorversion/SyncDeleteProcessorVersionProcessorversionname.java
index 996ec24c7f4..33bf3ff352f 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deleteprocessorversion/SyncDeleteProcessorVersionProcessorversionname.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deleteprocessorversion/SyncDeleteProcessorVersionProcessorversionname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteProcessorVersionProcessorversionname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       ProcessorVersionName name =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deleteprocessorversion/SyncDeleteProcessorVersionString.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deleteprocessorversion/SyncDeleteProcessorVersionString.java
index 57750311203..fe75b91e706 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deleteprocessorversion/SyncDeleteProcessorVersionString.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deleteprocessorversion/SyncDeleteProcessorVersionString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteProcessorVersionString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       String name =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deployprocessorversion/AsyncDeployProcessorVersion.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deployprocessorversion/AsyncDeployProcessorVersion.java
index eac54ab26a5..31fc637e241 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deployprocessorversion/AsyncDeployProcessorVersion.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deployprocessorversion/AsyncDeployProcessorVersion.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeployProcessorVersion() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       DeployProcessorVersionRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deployprocessorversion/AsyncDeployProcessorVersionLRO.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deployprocessorversion/AsyncDeployProcessorVersionLRO.java
index 844fd7f2eec..f95c3ca9a67 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deployprocessorversion/AsyncDeployProcessorVersionLRO.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deployprocessorversion/AsyncDeployProcessorVersionLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeployProcessorVersionLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       DeployProcessorVersionRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deployprocessorversion/SyncDeployProcessorVersion.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deployprocessorversion/SyncDeployProcessorVersion.java
index 7d82c576bf9..3b6d2bc86c7 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deployprocessorversion/SyncDeployProcessorVersion.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deployprocessorversion/SyncDeployProcessorVersion.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeployProcessorVersion() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       DeployProcessorVersionRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deployprocessorversion/SyncDeployProcessorVersionProcessorversionname.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deployprocessorversion/SyncDeployProcessorVersionProcessorversionname.java
index 696e2484e93..f20a2627be5 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deployprocessorversion/SyncDeployProcessorVersionProcessorversionname.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deployprocessorversion/SyncDeployProcessorVersionProcessorversionname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeployProcessorVersionProcessorversionname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       ProcessorVersionName name =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deployprocessorversion/SyncDeployProcessorVersionString.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deployprocessorversion/SyncDeployProcessorVersionString.java
index 7f2cbd8a945..ebee50bd140 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deployprocessorversion/SyncDeployProcessorVersionString.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/deployprocessorversion/SyncDeployProcessorVersionString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeployProcessorVersionString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       String name =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/disableprocessor/AsyncDisableProcessor.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/disableprocessor/AsyncDisableProcessor.java
index 883cf82f3e9..dfa320ed315 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/disableprocessor/AsyncDisableProcessor.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/disableprocessor/AsyncDisableProcessor.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDisableProcessor() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       DisableProcessorRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/disableprocessor/AsyncDisableProcessorLRO.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/disableprocessor/AsyncDisableProcessorLRO.java
index 2ece111280f..7595a3e8a13 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/disableprocessor/AsyncDisableProcessorLRO.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/disableprocessor/AsyncDisableProcessorLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDisableProcessorLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       DisableProcessorRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/disableprocessor/SyncDisableProcessor.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/disableprocessor/SyncDisableProcessor.java
index 6ee72eb58f7..3b797ccca29 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/disableprocessor/SyncDisableProcessor.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/disableprocessor/SyncDisableProcessor.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDisableProcessor() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       DisableProcessorRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/enableprocessor/AsyncEnableProcessor.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/enableprocessor/AsyncEnableProcessor.java
index db78cce351b..757492a6c9b 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/enableprocessor/AsyncEnableProcessor.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/enableprocessor/AsyncEnableProcessor.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncEnableProcessor() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       EnableProcessorRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/enableprocessor/AsyncEnableProcessorLRO.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/enableprocessor/AsyncEnableProcessorLRO.java
index 77f9cd31560..8e4a69fe9e3 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/enableprocessor/AsyncEnableProcessorLRO.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/enableprocessor/AsyncEnableProcessorLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncEnableProcessorLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       EnableProcessorRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/enableprocessor/SyncEnableProcessor.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/enableprocessor/SyncEnableProcessor.java
index aeaf467b3f9..759f4cac2a4 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/enableprocessor/SyncEnableProcessor.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/enableprocessor/SyncEnableProcessor.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncEnableProcessor() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       EnableProcessorRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/fetchprocessortypes/AsyncFetchProcessorTypes.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/fetchprocessortypes/AsyncFetchProcessorTypes.java
index b68010435fe..8635afc546d 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/fetchprocessortypes/AsyncFetchProcessorTypes.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/fetchprocessortypes/AsyncFetchProcessorTypes.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncFetchProcessorTypes() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       FetchProcessorTypesRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/fetchprocessortypes/SyncFetchProcessorTypes.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/fetchprocessortypes/SyncFetchProcessorTypes.java
index f66ae8cfa3c..3112395455d 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/fetchprocessortypes/SyncFetchProcessorTypes.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/fetchprocessortypes/SyncFetchProcessorTypes.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncFetchProcessorTypes() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       FetchProcessorTypesRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/fetchprocessortypes/SyncFetchProcessorTypesLocationname.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/fetchprocessortypes/SyncFetchProcessorTypesLocationname.java
index 574e8f432d9..2dc69e79ffe 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/fetchprocessortypes/SyncFetchProcessorTypesLocationname.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/fetchprocessortypes/SyncFetchProcessorTypesLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncFetchProcessorTypesLocationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/fetchprocessortypes/SyncFetchProcessorTypesString.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/fetchprocessortypes/SyncFetchProcessorTypesString.java
index 92139988776..b85ceea51e1 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/fetchprocessortypes/SyncFetchProcessorTypesString.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/fetchprocessortypes/SyncFetchProcessorTypesString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncFetchProcessorTypesString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/getlocation/AsyncGetLocation.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/getlocation/AsyncGetLocation.java
index 8f8331c3e23..da884426960 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/getlocation/AsyncGetLocation.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/getlocation/AsyncGetLocation.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/getlocation/SyncGetLocation.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/getlocation/SyncGetLocation.java
index b34e545cb66..2ab8b9ba89e 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/getlocation/SyncGetLocation.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/getlocation/SyncGetLocation.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/getprocessor/AsyncGetProcessor.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/getprocessor/AsyncGetProcessor.java
index 1f2533dc951..94fd120c864 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/getprocessor/AsyncGetProcessor.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/getprocessor/AsyncGetProcessor.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetProcessor() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       GetProcessorRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/getprocessor/SyncGetProcessor.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/getprocessor/SyncGetProcessor.java
index 0e8af6bac2c..3b97fee183e 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/getprocessor/SyncGetProcessor.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/getprocessor/SyncGetProcessor.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetProcessor() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       GetProcessorRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/getprocessor/SyncGetProcessorProcessorname.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/getprocessor/SyncGetProcessorProcessorname.java
index 9ef141449dd..0e702e70193 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/getprocessor/SyncGetProcessorProcessorname.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/getprocessor/SyncGetProcessorProcessorname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetProcessorProcessorname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       ProcessorName name = ProcessorName.of("[PROJECT]", "[LOCATION]", "[PROCESSOR]");
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/getprocessor/SyncGetProcessorString.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/getprocessor/SyncGetProcessorString.java
index fbbcf362e7b..5994dd9de12 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/getprocessor/SyncGetProcessorString.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/getprocessor/SyncGetProcessorString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetProcessorString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       String name = ProcessorName.of("[PROJECT]", "[LOCATION]", "[PROCESSOR]").toString();
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/getprocessorversion/AsyncGetProcessorVersion.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/getprocessorversion/AsyncGetProcessorVersion.java
index ca8b39bad6c..e55e007e263 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/getprocessorversion/AsyncGetProcessorVersion.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/getprocessorversion/AsyncGetProcessorVersion.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetProcessorVersion() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       GetProcessorVersionRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/getprocessorversion/SyncGetProcessorVersion.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/getprocessorversion/SyncGetProcessorVersion.java
index fea4d2c037c..58891c4dc17 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/getprocessorversion/SyncGetProcessorVersion.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/getprocessorversion/SyncGetProcessorVersion.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetProcessorVersion() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       GetProcessorVersionRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/getprocessorversion/SyncGetProcessorVersionProcessorversionname.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/getprocessorversion/SyncGetProcessorVersionProcessorversionname.java
index c2ab1dd70fc..083b9369498 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/getprocessorversion/SyncGetProcessorVersionProcessorversionname.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/getprocessorversion/SyncGetProcessorVersionProcessorversionname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetProcessorVersionProcessorversionname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       ProcessorVersionName name =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/getprocessorversion/SyncGetProcessorVersionString.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/getprocessorversion/SyncGetProcessorVersionString.java
index 66bf637c88f..5011f63bc46 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/getprocessorversion/SyncGetProcessorVersionString.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/getprocessorversion/SyncGetProcessorVersionString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetProcessorVersionString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       String name =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listlocations/AsyncListLocations.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listlocations/AsyncListLocations.java
index a4a824ebdc7..1dad0d3cc24 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listlocations/AsyncListLocations.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listlocations/AsyncListLocations.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       ListLocationsRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listlocations/AsyncListLocationsPaged.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listlocations/AsyncListLocationsPaged.java
index 416b95fc1ee..2c898654e0d 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listlocations/AsyncListLocationsPaged.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listlocations/AsyncListLocationsPaged.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocationsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       ListLocationsRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listlocations/SyncListLocations.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listlocations/SyncListLocations.java
index 1b9b8f773a8..5b353aae179 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listlocations/SyncListLocations.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listlocations/SyncListLocations.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       ListLocationsRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessors/AsyncListProcessors.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessors/AsyncListProcessors.java
index c08b7a4acd7..85003fb5a03 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessors/AsyncListProcessors.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessors/AsyncListProcessors.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListProcessors() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       ListProcessorsRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessors/AsyncListProcessorsPaged.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessors/AsyncListProcessorsPaged.java
index 178977378db..3dc83048b59 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessors/AsyncListProcessorsPaged.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessors/AsyncListProcessorsPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListProcessorsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       ListProcessorsRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessors/SyncListProcessors.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessors/SyncListProcessors.java
index 3c4d5cdb92e..ca234ef4b0a 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessors/SyncListProcessors.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessors/SyncListProcessors.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListProcessors() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       ListProcessorsRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessors/SyncListProcessorsLocationname.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessors/SyncListProcessorsLocationname.java
index 374de510b35..4a2727ba377 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessors/SyncListProcessorsLocationname.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessors/SyncListProcessorsLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListProcessorsLocationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessors/SyncListProcessorsString.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessors/SyncListProcessorsString.java
index 836d3b0a6d1..f8e68d6f1e9 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessors/SyncListProcessorsString.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessors/SyncListProcessorsString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListProcessorsString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessortypes/AsyncListProcessorTypes.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessortypes/AsyncListProcessorTypes.java
index 642e1d477be..d42b0e8fa3c 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessortypes/AsyncListProcessorTypes.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessortypes/AsyncListProcessorTypes.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListProcessorTypes() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       ListProcessorTypesRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessortypes/AsyncListProcessorTypesPaged.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessortypes/AsyncListProcessorTypesPaged.java
index 74817c657b9..020cfdae54f 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessortypes/AsyncListProcessorTypesPaged.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessortypes/AsyncListProcessorTypesPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListProcessorTypesPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       ListProcessorTypesRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessortypes/SyncListProcessorTypes.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessortypes/SyncListProcessorTypes.java
index 0405e67ccae..a5ca551b6a6 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessortypes/SyncListProcessorTypes.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessortypes/SyncListProcessorTypes.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListProcessorTypes() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       ListProcessorTypesRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessortypes/SyncListProcessorTypesLocationname.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessortypes/SyncListProcessorTypesLocationname.java
index 6784fa2ce6d..e930953255b 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessortypes/SyncListProcessorTypesLocationname.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessortypes/SyncListProcessorTypesLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListProcessorTypesLocationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessortypes/SyncListProcessorTypesString.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessortypes/SyncListProcessorTypesString.java
index c6bce525fa4..bd8337052d2 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessortypes/SyncListProcessorTypesString.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessortypes/SyncListProcessorTypesString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListProcessorTypesString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessorversions/AsyncListProcessorVersions.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessorversions/AsyncListProcessorVersions.java
index a9db7dcc0cd..acc0c02e800 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessorversions/AsyncListProcessorVersions.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessorversions/AsyncListProcessorVersions.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListProcessorVersions() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       ListProcessorVersionsRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessorversions/AsyncListProcessorVersionsPaged.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessorversions/AsyncListProcessorVersionsPaged.java
index b55a28fa3f2..bc33d9c9b40 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessorversions/AsyncListProcessorVersionsPaged.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessorversions/AsyncListProcessorVersionsPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListProcessorVersionsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       ListProcessorVersionsRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessorversions/SyncListProcessorVersions.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessorversions/SyncListProcessorVersions.java
index 6bf43452146..bd4ee461459 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessorversions/SyncListProcessorVersions.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessorversions/SyncListProcessorVersions.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListProcessorVersions() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       ListProcessorVersionsRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessorversions/SyncListProcessorVersionsProcessorname.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessorversions/SyncListProcessorVersionsProcessorname.java
index 5983f652212..3c75f9670a8 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessorversions/SyncListProcessorVersionsProcessorname.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessorversions/SyncListProcessorVersionsProcessorname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListProcessorVersionsProcessorname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       ProcessorName parent = ProcessorName.of("[PROJECT]", "[LOCATION]", "[PROCESSOR]");
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessorversions/SyncListProcessorVersionsString.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessorversions/SyncListProcessorVersionsString.java
index e1d853e223f..86c61dcf448 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessorversions/SyncListProcessorVersionsString.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/listprocessorversions/SyncListProcessorVersionsString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListProcessorVersionsString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       String parent = ProcessorName.of("[PROJECT]", "[LOCATION]", "[PROCESSOR]").toString();
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/processdocument/AsyncProcessDocument.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/processdocument/AsyncProcessDocument.java
index cdb420dcfb5..5d0a3dcb85a 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/processdocument/AsyncProcessDocument.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/processdocument/AsyncProcessDocument.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncProcessDocument() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       ProcessRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/processdocument/SyncProcessDocument.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/processdocument/SyncProcessDocument.java
index b50e72fa646..9e5e6e4df30 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/processdocument/SyncProcessDocument.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/processdocument/SyncProcessDocument.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncProcessDocument() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       ProcessRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/processdocument/SyncProcessDocumentResourcename.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/processdocument/SyncProcessDocumentResourcename.java
index 9cb611032ec..824bd62bef5 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/processdocument/SyncProcessDocumentResourcename.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/processdocument/SyncProcessDocumentResourcename.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncProcessDocumentResourcename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       ResourceName name = ProcessorName.of("[PROJECT]", "[LOCATION]", "[PROCESSOR]");
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/processdocument/SyncProcessDocumentString.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/processdocument/SyncProcessDocumentString.java
index e4dec8427cb..e6f5746b11f 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/processdocument/SyncProcessDocumentString.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/processdocument/SyncProcessDocumentString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncProcessDocumentString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       String name = HumanReviewConfigName.of("[PROJECT]", "[LOCATION]", "[PROCESSOR]").toString();
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/reviewdocument/AsyncReviewDocument.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/reviewdocument/AsyncReviewDocument.java
index 1c87df559d9..338d0f5dfea 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/reviewdocument/AsyncReviewDocument.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/reviewdocument/AsyncReviewDocument.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncReviewDocument() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       ReviewDocumentRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/reviewdocument/AsyncReviewDocumentLRO.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/reviewdocument/AsyncReviewDocumentLRO.java
index 47dc474fce9..e8afbf969ca 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/reviewdocument/AsyncReviewDocumentLRO.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/reviewdocument/AsyncReviewDocumentLRO.java
@@ -33,8 +33,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncReviewDocumentLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       ReviewDocumentRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/reviewdocument/SyncReviewDocument.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/reviewdocument/SyncReviewDocument.java
index 71c6d18da91..7c1087aeadd 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/reviewdocument/SyncReviewDocument.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/reviewdocument/SyncReviewDocument.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncReviewDocument() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       ReviewDocumentRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/reviewdocument/SyncReviewDocumentHumanreviewconfigname.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/reviewdocument/SyncReviewDocumentHumanreviewconfigname.java
index cc11d1861e5..dd8a49dab7d 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/reviewdocument/SyncReviewDocumentHumanreviewconfigname.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/reviewdocument/SyncReviewDocumentHumanreviewconfigname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncReviewDocumentHumanreviewconfigname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       HumanReviewConfigName humanReviewConfig =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/reviewdocument/SyncReviewDocumentString.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/reviewdocument/SyncReviewDocumentString.java
index 6c10b8600e0..5307ea3d89f 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/reviewdocument/SyncReviewDocumentString.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/reviewdocument/SyncReviewDocumentString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncReviewDocumentString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       String humanReviewConfig =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/setdefaultprocessorversion/AsyncSetDefaultProcessorVersion.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/setdefaultprocessorversion/AsyncSetDefaultProcessorVersion.java
index f505abde352..cad669c9d40 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/setdefaultprocessorversion/AsyncSetDefaultProcessorVersion.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/setdefaultprocessorversion/AsyncSetDefaultProcessorVersion.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncSetDefaultProcessorVersion() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       SetDefaultProcessorVersionRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/setdefaultprocessorversion/AsyncSetDefaultProcessorVersionLRO.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/setdefaultprocessorversion/AsyncSetDefaultProcessorVersionLRO.java
index daa47d6f9a1..44b0fdbffde 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/setdefaultprocessorversion/AsyncSetDefaultProcessorVersionLRO.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/setdefaultprocessorversion/AsyncSetDefaultProcessorVersionLRO.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncSetDefaultProcessorVersionLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       SetDefaultProcessorVersionRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/setdefaultprocessorversion/SyncSetDefaultProcessorVersion.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/setdefaultprocessorversion/SyncSetDefaultProcessorVersion.java
index d85a63e600f..ba75c9ddef8 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/setdefaultprocessorversion/SyncSetDefaultProcessorVersion.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/setdefaultprocessorversion/SyncSetDefaultProcessorVersion.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSetDefaultProcessorVersion() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       SetDefaultProcessorVersionRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/undeployprocessorversion/AsyncUndeployProcessorVersion.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/undeployprocessorversion/AsyncUndeployProcessorVersion.java
index e8ffc8c5adc..32b65ccfb84 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/undeployprocessorversion/AsyncUndeployProcessorVersion.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/undeployprocessorversion/AsyncUndeployProcessorVersion.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUndeployProcessorVersion() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       UndeployProcessorVersionRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/undeployprocessorversion/AsyncUndeployProcessorVersionLRO.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/undeployprocessorversion/AsyncUndeployProcessorVersionLRO.java
index 3e6a46c7bc2..3a8cc2ac354 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/undeployprocessorversion/AsyncUndeployProcessorVersionLRO.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/undeployprocessorversion/AsyncUndeployProcessorVersionLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUndeployProcessorVersionLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       UndeployProcessorVersionRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/undeployprocessorversion/SyncUndeployProcessorVersion.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/undeployprocessorversion/SyncUndeployProcessorVersion.java
index 153b4414fca..9cd3e1544c6 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/undeployprocessorversion/SyncUndeployProcessorVersion.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/undeployprocessorversion/SyncUndeployProcessorVersion.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUndeployProcessorVersion() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       UndeployProcessorVersionRequest request =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/undeployprocessorversion/SyncUndeployProcessorVersionProcessorversionname.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/undeployprocessorversion/SyncUndeployProcessorVersionProcessorversionname.java
index 354e99f40c2..557b5ab89ce 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/undeployprocessorversion/SyncUndeployProcessorVersionProcessorversionname.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/undeployprocessorversion/SyncUndeployProcessorVersionProcessorversionname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUndeployProcessorVersionProcessorversionname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       ProcessorVersionName name =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/undeployprocessorversion/SyncUndeployProcessorVersionString.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/undeployprocessorversion/SyncUndeployProcessorVersionString.java
index 51aab1a126e..0f07b5d0fd1 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/undeployprocessorversion/SyncUndeployProcessorVersionString.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorserviceclient/undeployprocessorversion/SyncUndeployProcessorVersionString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUndeployProcessorVersionString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentProcessorServiceClient documentProcessorServiceClient =
         DocumentProcessorServiceClient.create()) {
       String name =
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservicesettings/processdocument/SyncProcessDocument.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservicesettings/processdocument/SyncProcessDocument.java
index 93d81df15e5..1f1abdd9452 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservicesettings/processdocument/SyncProcessDocument.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservicesettings/processdocument/SyncProcessDocument.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncProcessDocument() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     DocumentProcessorServiceSettings.Builder documentProcessorServiceSettingsBuilder =
         DocumentProcessorServiceSettings.newBuilder();
     documentProcessorServiceSettingsBuilder
diff --git a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/stub/documentprocessorservicestubsettings/processdocument/SyncProcessDocument.java b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/stub/documentprocessorservicestubsettings/processdocument/SyncProcessDocument.java
index f36b505d25b..cc6848be501 100644
--- a/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/stub/documentprocessorservicestubsettings/processdocument/SyncProcessDocument.java
+++ b/java-document-ai/samples/snippets/generated/com/google/cloud/documentai/v1beta3/stub/documentprocessorservicestubsettings/processdocument/SyncProcessDocument.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncProcessDocument() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     DocumentProcessorServiceStubSettings.Builder documentProcessorServiceSettingsBuilder =
         DocumentProcessorServiceStubSettings.newBuilder();
     documentProcessorServiceSettingsBuilder