diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceClient.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceClient.java index baef8877b989..99d82c644390 100644 --- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceClient.java +++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceClient.java @@ -42,8 +42,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 (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
  *   TenantName parent = TenantName.of("[PROJECT]", "[TENANT]");
  *   Company company = Company.newBuilder().build();
@@ -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
  * CompanyServiceSettings companyServiceSettings =
  *     CompanyServiceSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -92,8 +98,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
  * CompanyServiceSettings companyServiceSettings =
  *     CompanyServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
  * CompanyServiceClient companyServiceClient = CompanyServiceClient.create(companyServiceSettings);
@@ -103,8 +112,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
  * CompanyServiceSettings companyServiceSettings =
  *     CompanyServiceSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -172,8 +184,11 @@ public CompanyServiceStub getStub() {
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
    *   CreateCompanyRequest request =
    *       CreateCompanyRequest.newBuilder()
@@ -257,8 +278,11 @@ public final Company createCompany(CreateCompanyRequest 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 (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
    *   CreateCompanyRequest request =
    *       CreateCompanyRequest.newBuilder()
@@ -282,8 +306,11 @@ public final UnaryCallable createCompanyCallable(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
    *   CompanyName name = CompanyName.of("[PROJECT]", "[TENANT]", "[COMPANY]");
    *   Company response = companyServiceClient.getCompany(name);
@@ -308,8 +335,11 @@ public final Company getCompany(CompanyName 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 (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
    *   String name = CompanyName.of("[PROJECT]", "[TENANT]", "[COMPANY]").toString();
    *   Company response = companyServiceClient.getCompany(name);
@@ -333,8 +363,11 @@ public final Company getCompany(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 (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
    *   GetCompanyRequest request =
    *       GetCompanyRequest.newBuilder()
@@ -358,8 +391,11 @@ public final Company getCompany(GetCompanyRequest 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 (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
    *   GetCompanyRequest request =
    *       GetCompanyRequest.newBuilder()
@@ -382,8 +418,11 @@ public final UnaryCallable getCompanyCallable() {
    * 

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
    *   UpdateCompanyRequest request =
    *       UpdateCompanyRequest.newBuilder()
@@ -439,8 +481,11 @@ public final Company updateCompany(UpdateCompanyRequest 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 (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
    *   UpdateCompanyRequest request =
    *       UpdateCompanyRequest.newBuilder()
@@ -464,8 +509,11 @@ public final UnaryCallable updateCompanyCallable(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
    *   CompanyName name = CompanyName.of("[PROJECT]", "[TENANT]", "[COMPANY]");
    *   companyServiceClient.deleteCompany(name);
@@ -490,8 +538,11 @@ public final void deleteCompany(CompanyName 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 (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
    *   String name = CompanyName.of("[PROJECT]", "[TENANT]", "[COMPANY]").toString();
    *   companyServiceClient.deleteCompany(name);
@@ -515,8 +566,11 @@ public final void deleteCompany(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 (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
    *   DeleteCompanyRequest request =
    *       DeleteCompanyRequest.newBuilder()
@@ -540,8 +594,11 @@ public final void deleteCompany(DeleteCompanyRequest 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 (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
    *   DeleteCompanyRequest request =
    *       DeleteCompanyRequest.newBuilder()
@@ -564,8 +621,11 @@ public final UnaryCallable deleteCompanyCallable()
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
    *   TenantName parent = TenantName.of("[PROJECT]", "[TENANT]");
    *   for (Company element : companyServiceClient.listCompanies(parent).iterateAll()) {
@@ -594,8 +654,11 @@ public final ListCompaniesPagedResponse listCompanies(TenantName 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 (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
    *   String parent = TenantName.of("[PROJECT]", "[TENANT]").toString();
    *   for (Company element : companyServiceClient.listCompanies(parent).iterateAll()) {
@@ -621,8 +684,11 @@ public final ListCompaniesPagedResponse listCompanies(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 (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
    *   ListCompaniesRequest request =
    *       ListCompaniesRequest.newBuilder()
@@ -651,8 +717,11 @@ public final ListCompaniesPagedResponse listCompanies(ListCompaniesRequest 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 (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
    *   ListCompaniesRequest request =
    *       ListCompaniesRequest.newBuilder()
@@ -682,8 +751,11 @@ public final ListCompaniesPagedResponse listCompanies(ListCompaniesRequest 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 (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
    *   ListCompaniesRequest request =
    *       ListCompaniesRequest.newBuilder()
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceSettings.java
index 2daf5030daaf..45dde7ee77a8 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceSettings.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceSettings.java
@@ -54,17 +54,17 @@
  * 

For example, to set the total timeout of createCompany 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
  * CompanyServiceSettings.Builder companyServiceSettingsBuilder =
  *     CompanyServiceSettings.newBuilder();
  * companyServiceSettingsBuilder
  *     .createCompanySettings()
  *     .setRetrySettings(
- *         companyServiceSettingsBuilder
- *             .createCompanySettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         companyServiceSettingsBuilder.createCompanySettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * CompanyServiceSettings companyServiceSettings = companyServiceSettingsBuilder.build();
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionClient.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionClient.java
index d2fc16c3319b..e97adc287197 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionClient.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionClient.java
@@ -32,8 +32,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 (CompletionClient completionClient = CompletionClient.create()) {
  *   CompleteQueryRequest request =
  *       CompleteQueryRequest.newBuilder()
@@ -76,8 +79,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
  * CompletionSettings completionSettings =
  *     CompletionSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -88,8 +94,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
  * CompletionSettings completionSettings =
  *     CompletionSettings.newBuilder().setEndpoint(myEndpoint).build();
  * CompletionClient completionClient = CompletionClient.create(completionSettings);
@@ -99,8 +108,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
  * CompletionSettings completionSettings =
  *     CompletionSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -167,8 +179,11 @@ public CompletionStub getStub() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (CompletionClient completionClient = CompletionClient.create()) {
    *   CompleteQueryRequest request =
    *       CompleteQueryRequest.newBuilder()
@@ -197,8 +212,11 @@ public final CompleteQueryResponse completeQuery(CompleteQueryRequest 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 (CompletionClient completionClient = CompletionClient.create()) {
    *   CompleteQueryRequest request =
    *       CompleteQueryRequest.newBuilder()
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionSettings.java
index b9dc63593394..a514bf13ad3d 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionSettings.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionSettings.java
@@ -50,16 +50,16 @@
  * 

For example, to set the total timeout of completeQuery 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
  * CompletionSettings.Builder completionSettingsBuilder = CompletionSettings.newBuilder();
  * completionSettingsBuilder
  *     .completeQuerySettings()
  *     .setRetrySettings(
- *         completionSettingsBuilder
- *             .completeQuerySettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         completionSettingsBuilder.completeQuerySettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * CompletionSettings completionSettings = completionSettingsBuilder.build();
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceClient.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceClient.java
index 9810c64fb1c6..f27793160c3e 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceClient.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceClient.java
@@ -32,8 +32,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 (EventServiceClient eventServiceClient = EventServiceClient.create()) {
  *   TenantName parent = TenantName.of("[PROJECT]", "[TENANT]");
  *   ClientEvent clientEvent = ClientEvent.newBuilder().build();
@@ -70,8 +73,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
  * EventServiceSettings eventServiceSettings =
  *     EventServiceSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -82,8 +88,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
  * EventServiceSettings eventServiceSettings =
  *     EventServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
  * EventServiceClient eventServiceClient = EventServiceClient.create(eventServiceSettings);
@@ -93,8 +102,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
  * EventServiceSettings eventServiceSettings =
  *     EventServiceSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -164,8 +176,11 @@ public EventServiceStub getStub() {
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EventServiceClient eventServiceClient = EventServiceClient.create()) {
    *   CreateClientEventRequest request =
    *       CreateClientEventRequest.newBuilder()
@@ -260,8 +281,11 @@ public final ClientEvent createClientEvent(CreateClientEventRequest 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 (EventServiceClient eventServiceClient = EventServiceClient.create()) {
    *   CreateClientEventRequest request =
    *       CreateClientEventRequest.newBuilder()
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceSettings.java
index 641f90e1d0c4..15a4619dfcaa 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceSettings.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceSettings.java
@@ -50,16 +50,16 @@
  * 

For example, to set the total timeout of createClientEvent 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
  * EventServiceSettings.Builder eventServiceSettingsBuilder = EventServiceSettings.newBuilder();
  * eventServiceSettingsBuilder
  *     .createClientEventSettings()
  *     .setRetrySettings(
- *         eventServiceSettingsBuilder
- *             .createClientEventSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         eventServiceSettingsBuilder.createClientEventSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * EventServiceSettings eventServiceSettings = eventServiceSettingsBuilder.build();
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceClient.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceClient.java
index ee5f42995cc1..9f2adb243417 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceClient.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceClient.java
@@ -48,8 +48,11 @@
  * calls that map to API methods. Sample code to get started:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
  *   TenantName parent = TenantName.of("[PROJECT]", "[TENANT]");
  *   Job job = Job.newBuilder().build();
@@ -86,8 +89,11 @@
  * 

To customize credentials: * *

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

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * JobServiceSettings jobServiceSettings =
  *     JobServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
  * JobServiceClient jobServiceClient = JobServiceClient.create(jobServiceSettings);
@@ -109,8 +118,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
  * JobServiceSettings jobServiceSettings =
  *     JobServiceSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -203,8 +215,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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   TenantName parent = TenantName.of("[PROJECT]", "[TENANT]");
    *   Job job = Job.newBuilder().build();
@@ -236,8 +251,11 @@ public final Job createJob(TenantName parent, Job job) {
    * 

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   CreateJobRequest request =
    *       CreateJobRequest.newBuilder()
@@ -293,8 +314,11 @@ public final Job createJob(CreateJobRequest 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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   CreateJobRequest request =
    *       CreateJobRequest.newBuilder()
@@ -318,8 +342,11 @@ public final UnaryCallable createJobCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   TenantName parent = TenantName.of("[PROJECT]", "[TENANT]");
    *   List jobs = new ArrayList<>();
@@ -350,8 +377,11 @@ public final UnaryCallable createJobCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   String parent = TenantName.of("[PROJECT]", "[TENANT]").toString();
    *   List jobs = new ArrayList<>();
@@ -379,8 +409,11 @@ public final UnaryCallable createJobCallable() {
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   JobName name = JobName.of("[PROJECT]", "[TENANT]", "[JOB]");
    *   Job response = jobServiceClient.getJob(name);
@@ -485,8 +527,11 @@ public final Job getJob(JobName 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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   String name = JobName.of("[PROJECT]", "[TENANT]", "[JOB]").toString();
    *   Job response = jobServiceClient.getJob(name);
@@ -510,8 +555,11 @@ public final Job getJob(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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   GetJobRequest request =
    *       GetJobRequest.newBuilder()
@@ -535,8 +583,11 @@ public final Job getJob(GetJobRequest 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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   GetJobRequest request =
    *       GetJobRequest.newBuilder()
@@ -562,8 +613,11 @@ public final UnaryCallable getJobCallable() {
    * 

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   UpdateJobRequest request =
    *       UpdateJobRequest.newBuilder()
@@ -625,8 +682,11 @@ public final Job updateJob(UpdateJobRequest 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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   UpdateJobRequest request =
    *       UpdateJobRequest.newBuilder()
@@ -650,8 +710,11 @@ public final UnaryCallable updateJobCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   TenantName parent = TenantName.of("[PROJECT]", "[TENANT]");
    *   List jobs = new ArrayList<>();
@@ -682,8 +745,11 @@ public final UnaryCallable updateJobCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   String parent = TenantName.of("[PROJECT]", "[TENANT]").toString();
    *   List jobs = new ArrayList<>();
@@ -711,8 +777,11 @@ public final UnaryCallable updateJobCallable() {
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   JobName name = JobName.of("[PROJECT]", "[TENANT]", "[JOB]");
    *   jobServiceClient.deleteJob(name);
@@ -824,8 +902,11 @@ public final void deleteJob(JobName 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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   String name = JobName.of("[PROJECT]", "[TENANT]", "[JOB]").toString();
    *   jobServiceClient.deleteJob(name);
@@ -851,8 +932,11 @@ public final void deleteJob(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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   DeleteJobRequest request =
    *       DeleteJobRequest.newBuilder()
@@ -878,8 +962,11 @@ public final void deleteJob(DeleteJobRequest 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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   DeleteJobRequest request =
    *       DeleteJobRequest.newBuilder()
@@ -902,8 +989,11 @@ public final UnaryCallable deleteJobCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   TenantName parent = TenantName.of("[PROJECT]", "[TENANT]");
    *   List names = new ArrayList<>();
@@ -938,8 +1028,11 @@ public final UnaryCallable deleteJobCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   String parent = TenantName.of("[PROJECT]", "[TENANT]").toString();
    *   List names = new ArrayList<>();
@@ -971,8 +1064,11 @@ public final UnaryCallable deleteJobCallable() {
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   ListJobsRequest request =
    *       ListJobsRequest.newBuilder()
@@ -1183,8 +1294,11 @@ public final ListJobsPagedResponse listJobs(ListJobsRequest 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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   ListJobsRequest request =
    *       ListJobsRequest.newBuilder()
@@ -1213,8 +1327,11 @@ public final UnaryCallable listJobsPaged
    * 

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   SearchJobsRequest request =
    *       SearchJobsRequest.newBuilder()
@@ -1294,8 +1414,11 @@ public final SearchJobsResponse searchJobs(SearchJobsRequest 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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   SearchJobsRequest request =
    *       SearchJobsRequest.newBuilder()
@@ -1339,8 +1462,11 @@ public final UnaryCallable searchJobsCall
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   SearchJobsRequest request =
    *       SearchJobsRequest.newBuilder()
@@ -1384,8 +1510,11 @@ public final SearchJobsResponse searchJobsForAlert(SearchJobsRequest 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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   SearchJobsRequest request =
    *       SearchJobsRequest.newBuilder()
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceSettings.java
index d162758708d2..c169c28ac1d6 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceSettings.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceSettings.java
@@ -56,16 +56,16 @@
  * 

For example, to set the total timeout of createJob 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
  * JobServiceSettings.Builder jobServiceSettingsBuilder = JobServiceSettings.newBuilder();
  * jobServiceSettingsBuilder
  *     .createJobSettings()
  *     .setRetrySettings(
- *         jobServiceSettingsBuilder
- *             .createJobSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         jobServiceSettingsBuilder.createJobSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * JobServiceSettings jobServiceSettings = jobServiceSettingsBuilder.build();
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceClient.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceClient.java
index 306e4151b628..f52c014ad94a 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceClient.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceClient.java
@@ -42,8 +42,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 (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
  *   ProjectName parent = ProjectName.of("[PROJECT]");
  *   Tenant tenant = Tenant.newBuilder().build();
@@ -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
  * TenantServiceSettings tenantServiceSettings =
  *     TenantServiceSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -92,8 +98,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
  * TenantServiceSettings tenantServiceSettings =
  *     TenantServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
  * TenantServiceClient tenantServiceClient = TenantServiceClient.create(tenantServiceSettings);
@@ -103,8 +112,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
  * TenantServiceSettings tenantServiceSettings =
  *     TenantServiceSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -172,8 +184,11 @@ public TenantServiceStub getStub() {
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
    *   CreateTenantRequest request =
    *       CreateTenantRequest.newBuilder()
@@ -255,8 +276,11 @@ public final Tenant createTenant(CreateTenantRequest 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 (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
    *   CreateTenantRequest request =
    *       CreateTenantRequest.newBuilder()
@@ -280,8 +304,11 @@ public final UnaryCallable createTenantCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
    *   TenantName name = TenantName.of("[PROJECT]", "[TENANT]");
    *   Tenant response = tenantServiceClient.getTenant(name);
@@ -306,8 +333,11 @@ public final Tenant getTenant(TenantName 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 (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
    *   String name = TenantName.of("[PROJECT]", "[TENANT]").toString();
    *   Tenant response = tenantServiceClient.getTenant(name);
@@ -331,8 +361,11 @@ public final Tenant getTenant(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 (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
    *   GetTenantRequest request =
    *       GetTenantRequest.newBuilder()
@@ -356,8 +389,11 @@ public final Tenant getTenant(GetTenantRequest 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 (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
    *   GetTenantRequest request =
    *       GetTenantRequest.newBuilder()
@@ -380,8 +416,11 @@ public final UnaryCallable getTenantCallable() {
    * 

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
    *   UpdateTenantRequest request =
    *       UpdateTenantRequest.newBuilder()
@@ -437,8 +479,11 @@ public final Tenant updateTenant(UpdateTenantRequest 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 (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
    *   UpdateTenantRequest request =
    *       UpdateTenantRequest.newBuilder()
@@ -462,8 +507,11 @@ public final UnaryCallable updateTenantCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
    *   TenantName name = TenantName.of("[PROJECT]", "[TENANT]");
    *   tenantServiceClient.deleteTenant(name);
@@ -488,8 +536,11 @@ public final void deleteTenant(TenantName 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 (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
    *   String name = TenantName.of("[PROJECT]", "[TENANT]").toString();
    *   tenantServiceClient.deleteTenant(name);
@@ -513,8 +564,11 @@ public final void deleteTenant(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 (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
    *   DeleteTenantRequest request =
    *       DeleteTenantRequest.newBuilder()
@@ -538,8 +592,11 @@ public final void deleteTenant(DeleteTenantRequest 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 (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
    *   DeleteTenantRequest request =
    *       DeleteTenantRequest.newBuilder()
@@ -562,8 +619,11 @@ public final UnaryCallable deleteTenantCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
    *   ProjectName parent = ProjectName.of("[PROJECT]");
    *   for (Tenant element : tenantServiceClient.listTenants(parent).iterateAll()) {
@@ -591,8 +651,11 @@ public final ListTenantsPagedResponse listTenants(ProjectName 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 (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
    *   String parent = ProjectName.of("[PROJECT]").toString();
    *   for (Tenant element : tenantServiceClient.listTenants(parent).iterateAll()) {
@@ -617,8 +680,11 @@ public final ListTenantsPagedResponse listTenants(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 (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
    *   ListTenantsRequest request =
    *       ListTenantsRequest.newBuilder()
@@ -646,8 +712,11 @@ public final ListTenantsPagedResponse listTenants(ListTenantsRequest 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 (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
    *   ListTenantsRequest request =
    *       ListTenantsRequest.newBuilder()
@@ -675,8 +744,11 @@ public final ListTenantsPagedResponse listTenants(ListTenantsRequest 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 (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
    *   ListTenantsRequest request =
    *       ListTenantsRequest.newBuilder()
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceSettings.java
index 94b938e890f8..1b6f8b048ead 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceSettings.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceSettings.java
@@ -54,16 +54,16 @@
  * 

For example, to set the total timeout of createTenant 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
  * TenantServiceSettings.Builder tenantServiceSettingsBuilder = TenantServiceSettings.newBuilder();
  * tenantServiceSettingsBuilder
  *     .createTenantSettings()
  *     .setRetrySettings(
- *         tenantServiceSettingsBuilder
- *             .createTenantSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         tenantServiceSettingsBuilder.createTenantSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * TenantServiceSettings tenantServiceSettings = tenantServiceSettingsBuilder.build();
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/package-info.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/package-info.java
index 311131e3bb8e..4081fd4aa243 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/package-info.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/package-info.java
@@ -25,8 +25,11 @@
  * 

Sample for CompanyServiceClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
  *   TenantName parent = TenantName.of("[PROJECT]", "[TENANT]");
  *   Company company = Company.newBuilder().build();
@@ -41,8 +44,11 @@
  * 

Sample for CompletionClient: * *

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

Sample for EventServiceClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (EventServiceClient eventServiceClient = EventServiceClient.create()) {
  *   TenantName parent = TenantName.of("[PROJECT]", "[TENANT]");
  *   ClientEvent clientEvent = ClientEvent.newBuilder().build();
@@ -80,8 +89,11 @@
  * 

Sample for JobServiceClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
  *   TenantName parent = TenantName.of("[PROJECT]", "[TENANT]");
  *   Job job = Job.newBuilder().build();
@@ -96,8 +108,11 @@
  * 

Sample for TenantServiceClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
  *   ProjectName parent = ProjectName.of("[PROJECT]");
  *   Tenant tenant = Tenant.newBuilder().build();
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompanyServiceStubSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompanyServiceStubSettings.java
index 436bd1a754ff..6cb7f1e66943 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompanyServiceStubSettings.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompanyServiceStubSettings.java
@@ -78,17 +78,17 @@
  * 

For example, to set the total timeout of createCompany 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
  * CompanyServiceStubSettings.Builder companyServiceSettingsBuilder =
  *     CompanyServiceStubSettings.newBuilder();
  * companyServiceSettingsBuilder
  *     .createCompanySettings()
  *     .setRetrySettings(
- *         companyServiceSettingsBuilder
- *             .createCompanySettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         companyServiceSettingsBuilder.createCompanySettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * CompanyServiceStubSettings companyServiceSettings = companyServiceSettingsBuilder.build();
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompletionStubSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompletionStubSettings.java
index 85325fb00e0d..45a7ab33de7a 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompletionStubSettings.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompletionStubSettings.java
@@ -63,16 +63,16 @@
  * 

For example, to set the total timeout of completeQuery 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
  * CompletionStubSettings.Builder completionSettingsBuilder = CompletionStubSettings.newBuilder();
  * completionSettingsBuilder
  *     .completeQuerySettings()
  *     .setRetrySettings(
- *         completionSettingsBuilder
- *             .completeQuerySettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         completionSettingsBuilder.completeQuerySettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * CompletionStubSettings completionSettings = completionSettingsBuilder.build();
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/EventServiceStubSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/EventServiceStubSettings.java
index 11e920d73212..1e2d7e09e5d5 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/EventServiceStubSettings.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/EventServiceStubSettings.java
@@ -63,17 +63,17 @@
  * 

For example, to set the total timeout of createClientEvent 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
  * EventServiceStubSettings.Builder eventServiceSettingsBuilder =
  *     EventServiceStubSettings.newBuilder();
  * eventServiceSettingsBuilder
  *     .createClientEventSettings()
  *     .setRetrySettings(
- *         eventServiceSettingsBuilder
- *             .createClientEventSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         eventServiceSettingsBuilder.createClientEventSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * EventServiceStubSettings eventServiceSettings = eventServiceSettingsBuilder.build();
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompanyServiceStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompanyServiceStub.java
index 9e7d2009972a..bc881a79630b 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompanyServiceStub.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompanyServiceStub.java
@@ -84,7 +84,8 @@ public class HttpJsonCompanyServiceStub extends CompanyServiceStub {
                           })
                       .setRequestBodyExtractor(
                           request ->
-                              ProtoRestSerializer.create().toBody("company", request.getCompany()))
+                              ProtoRestSerializer.create()
+                                  .toBody("company", request.getCompany(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -153,7 +154,8 @@ public class HttpJsonCompanyServiceStub extends CompanyServiceStub {
                           })
                       .setRequestBodyExtractor(
                           request ->
-                              ProtoRestSerializer.create().toBody("company", request.getCompany()))
+                              ProtoRestSerializer.create()
+                                  .toBody("company", request.getCompany(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonEventServiceStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonEventServiceStub.java
index c99a590d27a5..6e9af128b759 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonEventServiceStub.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonEventServiceStub.java
@@ -77,7 +77,7 @@ public class HttpJsonEventServiceStub extends EventServiceStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("clientEvent", request.getClientEvent()))
+                                  .toBody("clientEvent", request.getClientEvent(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonJobServiceStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonJobServiceStub.java
index a5ff3c6d24c3..5276784374af 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonJobServiceStub.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonJobServiceStub.java
@@ -101,7 +101,8 @@ public class HttpJsonJobServiceStub extends JobServiceStub {
                         return fields;
                       })
                   .setRequestBodyExtractor(
-                      request -> ProtoRestSerializer.create().toBody("job", request.getJob()))
+                      request ->
+                          ProtoRestSerializer.create().toBody("job", request.getJob(), false))
                   .build())
           .setResponseParser(
               ProtoMessageResponseParser.newBuilder()
@@ -137,7 +138,7 @@ public class HttpJsonJobServiceStub extends JobServiceStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -206,7 +207,8 @@ public class HttpJsonJobServiceStub extends JobServiceStub {
                         return fields;
                       })
                   .setRequestBodyExtractor(
-                      request -> ProtoRestSerializer.create().toBody("job", request.getJob()))
+                      request ->
+                          ProtoRestSerializer.create().toBody("job", request.getJob(), false))
                   .build())
           .setResponseParser(
               ProtoMessageResponseParser.newBuilder()
@@ -242,7 +244,7 @@ public class HttpJsonJobServiceStub extends JobServiceStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -313,7 +315,7 @@ public class HttpJsonJobServiceStub extends JobServiceStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -389,7 +391,7 @@ public class HttpJsonJobServiceStub extends JobServiceStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -425,7 +427,7 @@ public class HttpJsonJobServiceStub extends JobServiceStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonTenantServiceStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonTenantServiceStub.java
index 6ca87cfae8e7..a465aba48879 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonTenantServiceStub.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonTenantServiceStub.java
@@ -84,7 +84,8 @@ public class HttpJsonTenantServiceStub extends TenantServiceStub {
                           })
                       .setRequestBodyExtractor(
                           request ->
-                              ProtoRestSerializer.create().toBody("tenant", request.getTenant()))
+                              ProtoRestSerializer.create()
+                                  .toBody("tenant", request.getTenant(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -153,7 +154,8 @@ public class HttpJsonTenantServiceStub extends TenantServiceStub {
                           })
                       .setRequestBodyExtractor(
                           request ->
-                              ProtoRestSerializer.create().toBody("tenant", request.getTenant()))
+                              ProtoRestSerializer.create()
+                                  .toBody("tenant", request.getTenant(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/JobServiceStubSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/JobServiceStubSettings.java
index 7b8475d83af8..047275f9912c 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/JobServiceStubSettings.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/JobServiceStubSettings.java
@@ -92,16 +92,16 @@
  * 

For example, to set the total timeout of createJob 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
  * JobServiceStubSettings.Builder jobServiceSettingsBuilder = JobServiceStubSettings.newBuilder();
  * jobServiceSettingsBuilder
  *     .createJobSettings()
  *     .setRetrySettings(
- *         jobServiceSettingsBuilder
- *             .createJobSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         jobServiceSettingsBuilder.createJobSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * JobServiceStubSettings jobServiceSettings = jobServiceSettingsBuilder.build();
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/TenantServiceStubSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/TenantServiceStubSettings.java
index 717718b9ca32..2ad192db45bc 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/TenantServiceStubSettings.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/TenantServiceStubSettings.java
@@ -78,17 +78,17 @@
  * 

For example, to set the total timeout of createTenant 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
  * TenantServiceStubSettings.Builder tenantServiceSettingsBuilder =
  *     TenantServiceStubSettings.newBuilder();
  * tenantServiceSettingsBuilder
  *     .createTenantSettings()
  *     .setRetrySettings(
- *         tenantServiceSettingsBuilder
- *             .createTenantSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         tenantServiceSettingsBuilder.createTenantSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * TenantServiceStubSettings tenantServiceSettings = tenantServiceSettingsBuilder.build();
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceClient.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceClient.java
index 2c5c6c57fecc..d432eaac8238 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceClient.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceClient.java
@@ -42,8 +42,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 (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
  *   ProjectName parent = ProjectName.of("[PROJECT]");
  *   Company company = Company.newBuilder().build();
@@ -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
  * CompanyServiceSettings companyServiceSettings =
  *     CompanyServiceSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -92,8 +98,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
  * CompanyServiceSettings companyServiceSettings =
  *     CompanyServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
  * CompanyServiceClient companyServiceClient = CompanyServiceClient.create(companyServiceSettings);
@@ -103,8 +112,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
  * CompanyServiceSettings companyServiceSettings =
  *     CompanyServiceSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -173,8 +185,11 @@ public CompanyServiceStub getStub() {
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
    *   CreateCompanyRequest request =
    *       CreateCompanyRequest.newBuilder()
@@ -292,8 +316,11 @@ public final Company createCompany(CreateCompanyRequest 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 (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
    *   CreateCompanyRequest request =
    *       CreateCompanyRequest.newBuilder()
@@ -317,8 +344,11 @@ public final UnaryCallable createCompanyCallable(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
    *   CompanyName name =
    *       CompanyName.ofProjectTenantCompanyName("[PROJECT]", "[TENANT]", "[COMPANY]");
@@ -346,8 +376,11 @@ public final Company getCompany(CompanyName 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 (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
    *   String name =
    *       CompanyName.ofProjectTenantCompanyName("[PROJECT]", "[TENANT]", "[COMPANY]").toString();
@@ -374,8 +407,11 @@ public final Company getCompany(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 (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
    *   GetCompanyRequest request =
    *       GetCompanyRequest.newBuilder()
@@ -401,8 +437,11 @@ public final Company getCompany(GetCompanyRequest 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 (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
    *   GetCompanyRequest request =
    *       GetCompanyRequest.newBuilder()
@@ -427,8 +466,11 @@ public final UnaryCallable getCompanyCallable() {
    * 

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
    *   UpdateCompanyRequest request =
    *       UpdateCompanyRequest.newBuilder()
@@ -476,8 +521,11 @@ public final Company updateCompany(UpdateCompanyRequest 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 (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
    *   UpdateCompanyRequest request =
    *       UpdateCompanyRequest.newBuilder()
@@ -501,8 +549,11 @@ public final UnaryCallable updateCompanyCallable(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
    *   CompanyName name =
    *       CompanyName.ofProjectTenantCompanyName("[PROJECT]", "[TENANT]", "[COMPANY]");
@@ -530,8 +581,11 @@ public final void deleteCompany(CompanyName 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 (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
    *   String name =
    *       CompanyName.ofProjectTenantCompanyName("[PROJECT]", "[TENANT]", "[COMPANY]").toString();
@@ -558,8 +612,11 @@ public final void deleteCompany(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 (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
    *   DeleteCompanyRequest request =
    *       DeleteCompanyRequest.newBuilder()
@@ -585,8 +642,11 @@ public final void deleteCompany(DeleteCompanyRequest 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 (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
    *   DeleteCompanyRequest request =
    *       DeleteCompanyRequest.newBuilder()
@@ -611,8 +671,11 @@ public final UnaryCallable deleteCompanyCallable()
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
    *   ProjectName parent = ProjectName.of("[PROJECT]");
    *   for (Company element : companyServiceClient.listCompanies(parent).iterateAll()) {
@@ -643,8 +706,11 @@ public final ListCompaniesPagedResponse listCompanies(ProjectName 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 (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
    *   TenantName parent = TenantName.of("[PROJECT]", "[TENANT]");
    *   for (Company element : companyServiceClient.listCompanies(parent).iterateAll()) {
@@ -675,8 +741,11 @@ public final ListCompaniesPagedResponse listCompanies(TenantName 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 (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
    *   String parent = TenantName.of("[PROJECT]", "[TENANT]").toString();
    *   for (Company element : companyServiceClient.listCompanies(parent).iterateAll()) {
@@ -704,8 +773,11 @@ public final ListCompaniesPagedResponse listCompanies(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 (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
    *   ListCompaniesRequest request =
    *       ListCompaniesRequest.newBuilder()
@@ -734,8 +806,11 @@ public final ListCompaniesPagedResponse listCompanies(ListCompaniesRequest 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 (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
    *   ListCompaniesRequest request =
    *       ListCompaniesRequest.newBuilder()
@@ -765,8 +840,11 @@ public final ListCompaniesPagedResponse listCompanies(ListCompaniesRequest 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 (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
    *   ListCompaniesRequest request =
    *       ListCompaniesRequest.newBuilder()
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceSettings.java
index 95aa47adead6..1f2bcc67d53a 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceSettings.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceSettings.java
@@ -54,17 +54,17 @@
  * 

For example, to set the total timeout of createCompany 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
  * CompanyServiceSettings.Builder companyServiceSettingsBuilder =
  *     CompanyServiceSettings.newBuilder();
  * companyServiceSettingsBuilder
  *     .createCompanySettings()
  *     .setRetrySettings(
- *         companyServiceSettingsBuilder
- *             .createCompanySettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         companyServiceSettingsBuilder.createCompanySettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * CompanyServiceSettings companyServiceSettings = companyServiceSettingsBuilder.build();
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionClient.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionClient.java
index 8bf186b8f421..b08ac7d5b21d 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionClient.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionClient.java
@@ -33,8 +33,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 (CompletionClient completionClient = CompletionClient.create()) {
  *   CompleteQueryRequest request =
  *       CompleteQueryRequest.newBuilder()
@@ -79,8 +82,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
  * CompletionSettings completionSettings =
  *     CompletionSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -91,8 +97,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
  * CompletionSettings completionSettings =
  *     CompletionSettings.newBuilder().setEndpoint(myEndpoint).build();
  * CompletionClient completionClient = CompletionClient.create(completionSettings);
@@ -102,8 +111,11 @@
  * the wire:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * CompletionSettings completionSettings =
  *     CompletionSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -171,8 +183,11 @@ public CompletionStub getStub() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (CompletionClient completionClient = CompletionClient.create()) {
    *   CompleteQueryRequest request =
    *       CompleteQueryRequest.newBuilder()
@@ -203,8 +218,11 @@ public final CompleteQueryResponse completeQuery(CompleteQueryRequest 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 (CompletionClient completionClient = CompletionClient.create()) {
    *   CompleteQueryRequest request =
    *       CompleteQueryRequest.newBuilder()
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionSettings.java
index 3fcbf80e37ae..21d25617a9eb 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionSettings.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionSettings.java
@@ -50,16 +50,16 @@
  * 

For example, to set the total timeout of completeQuery 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
  * CompletionSettings.Builder completionSettingsBuilder = CompletionSettings.newBuilder();
  * completionSettingsBuilder
  *     .completeQuerySettings()
  *     .setRetrySettings(
- *         completionSettingsBuilder
- *             .completeQuerySettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         completionSettingsBuilder.completeQuerySettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * CompletionSettings completionSettings = completionSettingsBuilder.build();
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceClient.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceClient.java
index 214aeb947b57..f46a38018ec4 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceClient.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceClient.java
@@ -33,8 +33,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 (EventServiceClient eventServiceClient = EventServiceClient.create()) {
  *   ProjectName parent = ProjectName.of("[PROJECT]");
  *   ClientEvent clientEvent = ClientEvent.newBuilder().build();
@@ -71,8 +74,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
  * EventServiceSettings eventServiceSettings =
  *     EventServiceSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -83,8 +89,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
  * EventServiceSettings eventServiceSettings =
  *     EventServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
  * EventServiceClient eventServiceClient = EventServiceClient.create(eventServiceSettings);
@@ -94,8 +103,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
  * EventServiceSettings eventServiceSettings =
  *     EventServiceSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -166,8 +178,11 @@ public EventServiceStub getStub() {
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EventServiceClient eventServiceClient = EventServiceClient.create()) {
    *   CreateClientEventRequest request =
    *       CreateClientEventRequest.newBuilder()
@@ -300,8 +324,11 @@ public final ClientEvent createClientEvent(CreateClientEventRequest 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 (EventServiceClient eventServiceClient = EventServiceClient.create()) {
    *   CreateClientEventRequest request =
    *       CreateClientEventRequest.newBuilder()
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceSettings.java
index 8a39329b8326..cc719d0f4f37 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceSettings.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceSettings.java
@@ -50,16 +50,16 @@
  * 

For example, to set the total timeout of createClientEvent 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
  * EventServiceSettings.Builder eventServiceSettingsBuilder = EventServiceSettings.newBuilder();
  * eventServiceSettingsBuilder
  *     .createClientEventSettings()
  *     .setRetrySettings(
- *         eventServiceSettingsBuilder
- *             .createClientEventSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         eventServiceSettingsBuilder.createClientEventSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * EventServiceSettings eventServiceSettings = eventServiceSettingsBuilder.build();
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceClient.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceClient.java
index e21ef9bfebca..8b1805a9093a 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceClient.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceClient.java
@@ -47,8 +47,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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
  *   ProjectName parent = ProjectName.of("[PROJECT]");
  *   Job job = Job.newBuilder().build();
@@ -85,8 +88,11 @@
  * 

To customize credentials: * *

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

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * JobServiceSettings jobServiceSettings =
  *     JobServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
  * JobServiceClient jobServiceClient = JobServiceClient.create(jobServiceSettings);
@@ -108,8 +117,11 @@
  * the wire:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * JobServiceSettings jobServiceSettings =
  *     JobServiceSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -203,8 +215,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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   ProjectName parent = ProjectName.of("[PROJECT]");
    *   Job job = Job.newBuilder().build();
@@ -237,8 +252,11 @@ public final Job createJob(ProjectName parent, Job job) {
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   CreateJobRequest request =
    *       CreateJobRequest.newBuilder()
@@ -329,8 +353,11 @@ public final Job createJob(CreateJobRequest 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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   CreateJobRequest request =
    *       CreateJobRequest.newBuilder()
@@ -354,8 +381,11 @@ public final UnaryCallable createJobCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   ProjectName parent = ProjectName.of("[PROJECT]");
    *   List jobs = new ArrayList<>();
@@ -387,8 +417,11 @@ public final OperationFuture batchCr
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   TenantName parent = TenantName.of("[PROJECT]", "[TENANT]");
    *   List jobs = new ArrayList<>();
@@ -420,8 +453,11 @@ public final OperationFuture batchCr
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   String parent = TenantName.of("[PROJECT]", "[TENANT]").toString();
    *   List jobs = new ArrayList<>();
@@ -450,8 +486,11 @@ public final OperationFuture batchCr
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   JobName name = JobName.ofProjectTenantJobName("[PROJECT]", "[TENANT]", "[JOB]");
    *   Job response = jobServiceClient.getJob(name);
@@ -557,8 +605,11 @@ public final Job getJob(JobName 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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   String name = JobName.ofProjectTenantJobName("[PROJECT]", "[TENANT]", "[JOB]").toString();
    *   Job response = jobServiceClient.getJob(name);
@@ -584,8 +635,11 @@ public final Job getJob(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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   GetJobRequest request =
    *       GetJobRequest.newBuilder()
@@ -609,8 +663,11 @@ public final Job getJob(GetJobRequest 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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   GetJobRequest request =
    *       GetJobRequest.newBuilder()
@@ -636,8 +693,11 @@ public final UnaryCallable getJobCallable() {
    * 

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   UpdateJobRequest request =
    *       UpdateJobRequest.newBuilder()
@@ -691,8 +754,11 @@ public final Job updateJob(UpdateJobRequest 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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   UpdateJobRequest request =
    *       UpdateJobRequest.newBuilder()
@@ -716,8 +782,11 @@ public final UnaryCallable updateJobCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   ProjectName parent = ProjectName.of("[PROJECT]");
    *   List jobs = new ArrayList<>();
@@ -749,8 +818,11 @@ public final OperationFuture batchUp
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   TenantName parent = TenantName.of("[PROJECT]", "[TENANT]");
    *   List jobs = new ArrayList<>();
@@ -782,8 +854,11 @@ public final OperationFuture batchUp
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   String parent = TenantName.of("[PROJECT]", "[TENANT]").toString();
    *   List jobs = new ArrayList<>();
@@ -812,8 +887,11 @@ public final OperationFuture batchUp
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   JobName name = JobName.ofProjectTenantJobName("[PROJECT]", "[TENANT]", "[JOB]");
    *   jobServiceClient.deleteJob(name);
@@ -926,8 +1013,11 @@ public final void deleteJob(JobName 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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   String name = JobName.ofProjectTenantJobName("[PROJECT]", "[TENANT]", "[JOB]").toString();
    *   jobServiceClient.deleteJob(name);
@@ -955,8 +1045,11 @@ public final void deleteJob(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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   DeleteJobRequest request =
    *       DeleteJobRequest.newBuilder()
@@ -982,8 +1075,11 @@ public final void deleteJob(DeleteJobRequest 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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   DeleteJobRequest request =
    *       DeleteJobRequest.newBuilder()
@@ -1006,8 +1102,11 @@ public final UnaryCallable deleteJobCallable() {
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   BatchDeleteJobsRequest request =
    *       BatchDeleteJobsRequest.newBuilder()
@@ -1146,8 +1254,11 @@ public final void batchDeleteJobs(BatchDeleteJobsRequest 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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   BatchDeleteJobsRequest request =
    *       BatchDeleteJobsRequest.newBuilder()
@@ -1171,8 +1282,11 @@ public final UnaryCallable batchDeleteJobsCallabl
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   ListJobsRequest request =
    *       ListJobsRequest.newBuilder()
@@ -1358,8 +1481,11 @@ public final ListJobsPagedResponse listJobs(ListJobsRequest 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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   ListJobsRequest request =
    *       ListJobsRequest.newBuilder()
@@ -1388,8 +1514,11 @@ public final UnaryCallable listJobsPaged
    * 

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   SearchJobsRequest request =
    *       SearchJobsRequest.newBuilder()
@@ -1475,8 +1607,11 @@ public final SearchJobsPagedResponse searchJobs(SearchJobsRequest 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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   SearchJobsRequest request =
    *       SearchJobsRequest.newBuilder()
@@ -1519,8 +1654,11 @@ public final UnaryCallable searchJob
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   SearchJobsRequest request =
    *       SearchJobsRequest.newBuilder()
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceSettings.java
index e6d2078ecafa..bb698eeaf6f2 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceSettings.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceSettings.java
@@ -58,16 +58,16 @@
  * 

For example, to set the total timeout of createJob 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
  * JobServiceSettings.Builder jobServiceSettingsBuilder = JobServiceSettings.newBuilder();
  * jobServiceSettingsBuilder
  *     .createJobSettings()
  *     .setRetrySettings(
- *         jobServiceSettingsBuilder
- *             .createJobSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         jobServiceSettingsBuilder.createJobSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * JobServiceSettings jobServiceSettings = jobServiceSettingsBuilder.build();
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceClient.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceClient.java
index 9329244c61f5..ad9ef20d444e 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceClient.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceClient.java
@@ -42,8 +42,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 (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
  *   ProjectName parent = ProjectName.of("[PROJECT]");
  *   Tenant tenant = Tenant.newBuilder().build();
@@ -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
  * TenantServiceSettings tenantServiceSettings =
  *     TenantServiceSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -92,8 +98,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
  * TenantServiceSettings tenantServiceSettings =
  *     TenantServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
  * TenantServiceClient tenantServiceClient = TenantServiceClient.create(tenantServiceSettings);
@@ -103,8 +112,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
  * TenantServiceSettings tenantServiceSettings =
  *     TenantServiceSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -173,8 +185,11 @@ public TenantServiceStub getStub() {
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
    *   CreateTenantRequest request =
    *       CreateTenantRequest.newBuilder()
@@ -256,8 +277,11 @@ public final Tenant createTenant(CreateTenantRequest 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 (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
    *   CreateTenantRequest request =
    *       CreateTenantRequest.newBuilder()
@@ -281,8 +305,11 @@ public final UnaryCallable createTenantCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
    *   TenantName name = TenantName.of("[PROJECT]", "[TENANT]");
    *   Tenant response = tenantServiceClient.getTenant(name);
@@ -307,8 +334,11 @@ public final Tenant getTenant(TenantName 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 (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
    *   String name = TenantName.of("[PROJECT]", "[TENANT]").toString();
    *   Tenant response = tenantServiceClient.getTenant(name);
@@ -332,8 +362,11 @@ public final Tenant getTenant(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 (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
    *   GetTenantRequest request =
    *       GetTenantRequest.newBuilder()
@@ -357,8 +390,11 @@ public final Tenant getTenant(GetTenantRequest 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 (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
    *   GetTenantRequest request =
    *       GetTenantRequest.newBuilder()
@@ -381,8 +417,11 @@ public final UnaryCallable getTenantCallable() {
    * 

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
    *   UpdateTenantRequest request =
    *       UpdateTenantRequest.newBuilder()
@@ -430,8 +472,11 @@ public final Tenant updateTenant(UpdateTenantRequest 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 (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
    *   UpdateTenantRequest request =
    *       UpdateTenantRequest.newBuilder()
@@ -455,8 +500,11 @@ public final UnaryCallable updateTenantCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
    *   TenantName name = TenantName.of("[PROJECT]", "[TENANT]");
    *   tenantServiceClient.deleteTenant(name);
@@ -481,8 +529,11 @@ public final void deleteTenant(TenantName 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 (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
    *   String name = TenantName.of("[PROJECT]", "[TENANT]").toString();
    *   tenantServiceClient.deleteTenant(name);
@@ -506,8 +557,11 @@ public final void deleteTenant(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 (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
    *   DeleteTenantRequest request =
    *       DeleteTenantRequest.newBuilder()
@@ -531,8 +585,11 @@ public final void deleteTenant(DeleteTenantRequest 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 (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
    *   DeleteTenantRequest request =
    *       DeleteTenantRequest.newBuilder()
@@ -555,8 +612,11 @@ public final UnaryCallable deleteTenantCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
    *   ProjectName parent = ProjectName.of("[PROJECT]");
    *   for (Tenant element : tenantServiceClient.listTenants(parent).iterateAll()) {
@@ -584,8 +644,11 @@ public final ListTenantsPagedResponse listTenants(ProjectName 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 (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
    *   String parent = ProjectName.of("[PROJECT]").toString();
    *   for (Tenant element : tenantServiceClient.listTenants(parent).iterateAll()) {
@@ -610,8 +673,11 @@ public final ListTenantsPagedResponse listTenants(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 (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
    *   ListTenantsRequest request =
    *       ListTenantsRequest.newBuilder()
@@ -639,8 +705,11 @@ public final ListTenantsPagedResponse listTenants(ListTenantsRequest 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 (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
    *   ListTenantsRequest request =
    *       ListTenantsRequest.newBuilder()
@@ -668,8 +737,11 @@ public final ListTenantsPagedResponse listTenants(ListTenantsRequest 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 (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
    *   ListTenantsRequest request =
    *       ListTenantsRequest.newBuilder()
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceSettings.java
index 2a3543004114..a3853a4af5e0 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceSettings.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceSettings.java
@@ -54,16 +54,16 @@
  * 

For example, to set the total timeout of createTenant 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
  * TenantServiceSettings.Builder tenantServiceSettingsBuilder = TenantServiceSettings.newBuilder();
  * tenantServiceSettingsBuilder
  *     .createTenantSettings()
  *     .setRetrySettings(
- *         tenantServiceSettingsBuilder
- *             .createTenantSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         tenantServiceSettingsBuilder.createTenantSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * TenantServiceSettings tenantServiceSettings = tenantServiceSettingsBuilder.build();
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/package-info.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/package-info.java
index 9fb3ff79afda..0091861590ad 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/package-info.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/package-info.java
@@ -27,8 +27,11 @@
  * 

Sample for CompanyServiceClient: * *

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

Sample for CompletionClient: * *

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

Sample for EventServiceClient: * *

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

Sample for JobServiceClient: * *

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

Sample for TenantServiceClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
  *   ProjectName parent = ProjectName.of("[PROJECT]");
  *   Tenant tenant = Tenant.newBuilder().build();
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompanyServiceStubSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompanyServiceStubSettings.java
index 6bd59427e7cb..7d6567ce2b72 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompanyServiceStubSettings.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompanyServiceStubSettings.java
@@ -78,17 +78,17 @@
  * 

For example, to set the total timeout of createCompany 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
  * CompanyServiceStubSettings.Builder companyServiceSettingsBuilder =
  *     CompanyServiceStubSettings.newBuilder();
  * companyServiceSettingsBuilder
  *     .createCompanySettings()
  *     .setRetrySettings(
- *         companyServiceSettingsBuilder
- *             .createCompanySettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         companyServiceSettingsBuilder.createCompanySettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * CompanyServiceStubSettings companyServiceSettings = companyServiceSettingsBuilder.build();
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompletionStubSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompletionStubSettings.java
index a2868fbda39b..c6bcc9857a51 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompletionStubSettings.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompletionStubSettings.java
@@ -63,16 +63,16 @@
  * 

For example, to set the total timeout of completeQuery 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
  * CompletionStubSettings.Builder completionSettingsBuilder = CompletionStubSettings.newBuilder();
  * completionSettingsBuilder
  *     .completeQuerySettings()
  *     .setRetrySettings(
- *         completionSettingsBuilder
- *             .completeQuerySettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         completionSettingsBuilder.completeQuerySettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * CompletionStubSettings completionSettings = completionSettingsBuilder.build();
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/EventServiceStubSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/EventServiceStubSettings.java
index 9e945f18a68e..f09f38c1f6b6 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/EventServiceStubSettings.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/EventServiceStubSettings.java
@@ -63,17 +63,17 @@
  * 

For example, to set the total timeout of createClientEvent 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
  * EventServiceStubSettings.Builder eventServiceSettingsBuilder =
  *     EventServiceStubSettings.newBuilder();
  * eventServiceSettingsBuilder
  *     .createClientEventSettings()
  *     .setRetrySettings(
- *         eventServiceSettingsBuilder
- *             .createClientEventSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         eventServiceSettingsBuilder.createClientEventSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * EventServiceStubSettings eventServiceSettings = eventServiceSettingsBuilder.build();
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompanyServiceStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompanyServiceStub.java
index e4d201d6cf44..8dd625253114 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompanyServiceStub.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompanyServiceStub.java
@@ -86,7 +86,7 @@ public class HttpJsonCompanyServiceStub extends CompanyServiceStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -156,7 +156,8 @@ public class HttpJsonCompanyServiceStub extends CompanyServiceStub {
                           })
                       .setRequestBodyExtractor(
                           request ->
-                              ProtoRestSerializer.create().toBody("*", request.toBuilder().build()))
+                              ProtoRestSerializer.create()
+                                  .toBody("*", request.toBuilder().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonEventServiceStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonEventServiceStub.java
index 39daeb9ec515..227e243abd6b 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonEventServiceStub.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonEventServiceStub.java
@@ -78,7 +78,7 @@ public class HttpJsonEventServiceStub extends EventServiceStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonJobServiceStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonJobServiceStub.java
index e6b46a1471ca..bdfcaa69c7f0 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonJobServiceStub.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonJobServiceStub.java
@@ -102,7 +102,7 @@ public class HttpJsonJobServiceStub extends JobServiceStub {
                   .setRequestBodyExtractor(
                       request ->
                           ProtoRestSerializer.create()
-                              .toBody("*", request.toBuilder().clearParent().build()))
+                              .toBody("*", request.toBuilder().clearParent().build(), false))
                   .build())
           .setResponseParser(
               ProtoMessageResponseParser.newBuilder()
@@ -139,7 +139,7 @@ public class HttpJsonJobServiceStub extends JobServiceStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -210,7 +210,8 @@ public class HttpJsonJobServiceStub extends JobServiceStub {
                       })
                   .setRequestBodyExtractor(
                       request ->
-                          ProtoRestSerializer.create().toBody("*", request.toBuilder().build()))
+                          ProtoRestSerializer.create()
+                              .toBody("*", request.toBuilder().build(), false))
                   .build())
           .setResponseParser(
               ProtoMessageResponseParser.newBuilder()
@@ -247,7 +248,7 @@ public class HttpJsonJobServiceStub extends JobServiceStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -320,7 +321,7 @@ public class HttpJsonJobServiceStub extends JobServiceStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -395,7 +396,7 @@ public class HttpJsonJobServiceStub extends JobServiceStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -432,7 +433,7 @@ public class HttpJsonJobServiceStub extends JobServiceStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonTenantServiceStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonTenantServiceStub.java
index 2969fcc126db..ac26b08b27e4 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonTenantServiceStub.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonTenantServiceStub.java
@@ -85,7 +85,7 @@ public class HttpJsonTenantServiceStub extends TenantServiceStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -153,7 +153,8 @@ public class HttpJsonTenantServiceStub extends TenantServiceStub {
                           })
                       .setRequestBodyExtractor(
                           request ->
-                              ProtoRestSerializer.create().toBody("*", request.toBuilder().build()))
+                              ProtoRestSerializer.create()
+                                  .toBody("*", request.toBuilder().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/JobServiceStubSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/JobServiceStubSettings.java
index da86f3ecd350..a5152fdd2197 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/JobServiceStubSettings.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/JobServiceStubSettings.java
@@ -92,16 +92,16 @@
  * 

For example, to set the total timeout of createJob 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
  * JobServiceStubSettings.Builder jobServiceSettingsBuilder = JobServiceStubSettings.newBuilder();
  * jobServiceSettingsBuilder
  *     .createJobSettings()
  *     .setRetrySettings(
- *         jobServiceSettingsBuilder
- *             .createJobSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         jobServiceSettingsBuilder.createJobSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * JobServiceStubSettings jobServiceSettings = jobServiceSettingsBuilder.build();
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/TenantServiceStubSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/TenantServiceStubSettings.java
index 3bce2cb5ad37..96a4ef93a57f 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/TenantServiceStubSettings.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/TenantServiceStubSettings.java
@@ -78,17 +78,17 @@
  * 

For example, to set the total timeout of createTenant 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
  * TenantServiceStubSettings.Builder tenantServiceSettingsBuilder =
  *     TenantServiceStubSettings.newBuilder();
  * tenantServiceSettingsBuilder
  *     .createTenantSettings()
  *     .setRetrySettings(
- *         tenantServiceSettingsBuilder
- *             .createTenantSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         tenantServiceSettingsBuilder.createTenantSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * TenantServiceStubSettings tenantServiceSettings = tenantServiceSettingsBuilder.build();
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/create/SyncCreateSetCredentialsProvider.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/create/SyncCreateSetCredentialsProvider.java
index fd35b55ae1f0..a4fd1c81a540 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/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
     CompanyServiceSettings companyServiceSettings =
         CompanyServiceSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/create/SyncCreateSetCredentialsProvider1.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/create/SyncCreateSetCredentialsProvider1.java
index 856573185aa8..bf7d633d2de4 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/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
     CompanyServiceSettings companyServiceSettings =
         CompanyServiceSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/create/SyncCreateSetEndpoint.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/create/SyncCreateSetEndpoint.java
index 6dce1bb2f27a..926672065831 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/create/SyncCreateSetEndpoint.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/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
     CompanyServiceSettings companyServiceSettings =
         CompanyServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
     CompanyServiceClient companyServiceClient = CompanyServiceClient.create(companyServiceSettings);
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/createcompany/AsyncCreateCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/createcompany/AsyncCreateCompany.java
index 908395122d99..5449a967379f 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/createcompany/AsyncCreateCompany.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/createcompany/AsyncCreateCompany.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateCompany() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
       CreateCompanyRequest request =
           CreateCompanyRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/createcompany/SyncCreateCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/createcompany/SyncCreateCompany.java
index 34c05f0cc7f4..7b82118bf239 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/createcompany/SyncCreateCompany.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/createcompany/SyncCreateCompany.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateCompany() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
       CreateCompanyRequest request =
           CreateCompanyRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/createcompany/SyncCreateCompanyStringCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/createcompany/SyncCreateCompanyStringCompany.java
index 4b00f714379d..817729992569 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/createcompany/SyncCreateCompanyStringCompany.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/createcompany/SyncCreateCompanyStringCompany.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateCompanyStringCompany() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
       String parent = TenantName.of("[PROJECT]", "[TENANT]").toString();
       Company company = Company.newBuilder().build();
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/createcompany/SyncCreateCompanyTenantnameCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/createcompany/SyncCreateCompanyTenantnameCompany.java
index 7da3d337e8a9..5e936a4c7e3b 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/createcompany/SyncCreateCompanyTenantnameCompany.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/createcompany/SyncCreateCompanyTenantnameCompany.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateCompanyTenantnameCompany() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
       TenantName parent = TenantName.of("[PROJECT]", "[TENANT]");
       Company company = Company.newBuilder().build();
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/deletecompany/AsyncDeleteCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/deletecompany/AsyncDeleteCompany.java
index a79de6cdef48..ff8ebed3e945 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/deletecompany/AsyncDeleteCompany.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/deletecompany/AsyncDeleteCompany.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteCompany() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
       DeleteCompanyRequest request =
           DeleteCompanyRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/deletecompany/SyncDeleteCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/deletecompany/SyncDeleteCompany.java
index 99425afbcee2..8f4a0b643b3e 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/deletecompany/SyncDeleteCompany.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/deletecompany/SyncDeleteCompany.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteCompany() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
       DeleteCompanyRequest request =
           DeleteCompanyRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/deletecompany/SyncDeleteCompanyCompanyname.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/deletecompany/SyncDeleteCompanyCompanyname.java
index dfa9a5cdce3f..60e85f041585 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/deletecompany/SyncDeleteCompanyCompanyname.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/deletecompany/SyncDeleteCompanyCompanyname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteCompanyCompanyname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
       CompanyName name = CompanyName.of("[PROJECT]", "[TENANT]", "[COMPANY]");
       companyServiceClient.deleteCompany(name);
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/deletecompany/SyncDeleteCompanyString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/deletecompany/SyncDeleteCompanyString.java
index e6e2406edc27..8050197e2203 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/deletecompany/SyncDeleteCompanyString.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/deletecompany/SyncDeleteCompanyString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteCompanyString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
       String name = CompanyName.of("[PROJECT]", "[TENANT]", "[COMPANY]").toString();
       companyServiceClient.deleteCompany(name);
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/getcompany/AsyncGetCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/getcompany/AsyncGetCompany.java
index 0f9d511752e8..c54fda6e46b7 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/getcompany/AsyncGetCompany.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/getcompany/AsyncGetCompany.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetCompany() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
       GetCompanyRequest request =
           GetCompanyRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/getcompany/SyncGetCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/getcompany/SyncGetCompany.java
index 7a3266831b34..86a4ba56d6ce 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/getcompany/SyncGetCompany.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/getcompany/SyncGetCompany.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetCompany() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
       GetCompanyRequest request =
           GetCompanyRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/getcompany/SyncGetCompanyCompanyname.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/getcompany/SyncGetCompanyCompanyname.java
index 34eca71df7d7..662b80d84723 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/getcompany/SyncGetCompanyCompanyname.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/getcompany/SyncGetCompanyCompanyname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetCompanyCompanyname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
       CompanyName name = CompanyName.of("[PROJECT]", "[TENANT]", "[COMPANY]");
       Company response = companyServiceClient.getCompany(name);
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/getcompany/SyncGetCompanyString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/getcompany/SyncGetCompanyString.java
index 64ccf90ec627..11875c699da6 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/getcompany/SyncGetCompanyString.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/getcompany/SyncGetCompanyString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetCompanyString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
       String name = CompanyName.of("[PROJECT]", "[TENANT]", "[COMPANY]").toString();
       Company response = companyServiceClient.getCompany(name);
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/listcompanies/AsyncListCompanies.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/listcompanies/AsyncListCompanies.java
index d5e735ef76ec..10f1e9a9ef95 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/listcompanies/AsyncListCompanies.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/listcompanies/AsyncListCompanies.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListCompanies() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
       ListCompaniesRequest request =
           ListCompaniesRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/listcompanies/AsyncListCompaniesPaged.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/listcompanies/AsyncListCompaniesPaged.java
index 21de10b31703..4176981aaeff 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/listcompanies/AsyncListCompaniesPaged.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/listcompanies/AsyncListCompaniesPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListCompaniesPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
       ListCompaniesRequest request =
           ListCompaniesRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/listcompanies/SyncListCompanies.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/listcompanies/SyncListCompanies.java
index 6750bdf515d5..f6b2aa3f73e6 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/listcompanies/SyncListCompanies.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/listcompanies/SyncListCompanies.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListCompanies() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
       ListCompaniesRequest request =
           ListCompaniesRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/listcompanies/SyncListCompaniesString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/listcompanies/SyncListCompaniesString.java
index cba947d671cd..70665a7a2b9c 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/listcompanies/SyncListCompaniesString.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/listcompanies/SyncListCompaniesString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListCompaniesString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
       String parent = TenantName.of("[PROJECT]", "[TENANT]").toString();
       for (Company element : companyServiceClient.listCompanies(parent).iterateAll()) {
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/listcompanies/SyncListCompaniesTenantname.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/listcompanies/SyncListCompaniesTenantname.java
index f7e134c958c5..4f446d1c5067 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/listcompanies/SyncListCompaniesTenantname.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/listcompanies/SyncListCompaniesTenantname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListCompaniesTenantname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
       TenantName parent = TenantName.of("[PROJECT]", "[TENANT]");
       for (Company element : companyServiceClient.listCompanies(parent).iterateAll()) {
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/updatecompany/AsyncUpdateCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/updatecompany/AsyncUpdateCompany.java
index d389d25423a4..767af8c977d0 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/updatecompany/AsyncUpdateCompany.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/updatecompany/AsyncUpdateCompany.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateCompany() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
       UpdateCompanyRequest request =
           UpdateCompanyRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/updatecompany/SyncUpdateCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/updatecompany/SyncUpdateCompany.java
index 817ba73d7590..c5f842b7a1d5 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/updatecompany/SyncUpdateCompany.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/updatecompany/SyncUpdateCompany.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateCompany() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
       UpdateCompanyRequest request =
           UpdateCompanyRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/updatecompany/SyncUpdateCompanyCompanyFieldmask.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/updatecompany/SyncUpdateCompanyCompanyFieldmask.java
index dfbeecc0f339..78233cf38c28 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/updatecompany/SyncUpdateCompanyCompanyFieldmask.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/updatecompany/SyncUpdateCompanyCompanyFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateCompanyCompanyFieldmask() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
       Company company = Company.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservicesettings/createcompany/SyncCreateCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservicesettings/createcompany/SyncCreateCompany.java
index 0bcc585a60fe..1d2f174d4705 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservicesettings/createcompany/SyncCreateCompany.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservicesettings/createcompany/SyncCreateCompany.java
@@ -27,17 +27,17 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateCompany() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     CompanyServiceSettings.Builder companyServiceSettingsBuilder =
         CompanyServiceSettings.newBuilder();
     companyServiceSettingsBuilder
         .createCompanySettings()
         .setRetrySettings(
-            companyServiceSettingsBuilder
-                .createCompanySettings()
-                .getRetrySettings()
-                .toBuilder()
+            companyServiceSettingsBuilder.createCompanySettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     CompanyServiceSettings companyServiceSettings = companyServiceSettingsBuilder.build();
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completionclient/completequery/AsyncCompleteQuery.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completionclient/completequery/AsyncCompleteQuery.java
index 3c07042e90ac..41053a5c904a 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completionclient/completequery/AsyncCompleteQuery.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completionclient/completequery/AsyncCompleteQuery.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCompleteQuery() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CompletionClient completionClient = CompletionClient.create()) {
       CompleteQueryRequest request =
           CompleteQueryRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completionclient/completequery/SyncCompleteQuery.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completionclient/completequery/SyncCompleteQuery.java
index 612e547facd3..28c66a6a97b0 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completionclient/completequery/SyncCompleteQuery.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completionclient/completequery/SyncCompleteQuery.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCompleteQuery() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CompletionClient completionClient = CompletionClient.create()) {
       CompleteQueryRequest request =
           CompleteQueryRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completionclient/create/SyncCreateSetCredentialsProvider.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completionclient/create/SyncCreateSetCredentialsProvider.java
index de0f37279ed9..0448e45a05c3 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completionclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completionclient/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
     CompletionSettings completionSettings =
         CompletionSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completionclient/create/SyncCreateSetCredentialsProvider1.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completionclient/create/SyncCreateSetCredentialsProvider1.java
index 72c48573c2f1..de630cbd0d79 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completionclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completionclient/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
     CompletionSettings completionSettings =
         CompletionSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completionclient/create/SyncCreateSetEndpoint.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completionclient/create/SyncCreateSetEndpoint.java
index 8c7b4d75cbb9..660b234d9f68 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completionclient/create/SyncCreateSetEndpoint.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completionclient/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
     CompletionSettings completionSettings =
         CompletionSettings.newBuilder().setEndpoint(myEndpoint).build();
     CompletionClient completionClient = CompletionClient.create(completionSettings);
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completionsettings/completequery/SyncCompleteQuery.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completionsettings/completequery/SyncCompleteQuery.java
index 6d5b481a2914..56011c35cbdd 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completionsettings/completequery/SyncCompleteQuery.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completionsettings/completequery/SyncCompleteQuery.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCompleteQuery() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     CompletionSettings.Builder completionSettingsBuilder = CompletionSettings.newBuilder();
     completionSettingsBuilder
         .completeQuerySettings()
         .setRetrySettings(
-            completionSettingsBuilder
-                .completeQuerySettings()
-                .getRetrySettings()
-                .toBuilder()
+            completionSettingsBuilder.completeQuerySettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     CompletionSettings completionSettings = completionSettingsBuilder.build();
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventserviceclient/create/SyncCreateSetCredentialsProvider.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventserviceclient/create/SyncCreateSetCredentialsProvider.java
index 481cdb74df4c..ef0e191da215 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventserviceclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventserviceclient/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
     EventServiceSettings eventServiceSettings =
         EventServiceSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventserviceclient/create/SyncCreateSetCredentialsProvider1.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventserviceclient/create/SyncCreateSetCredentialsProvider1.java
index 53ffbe4fc056..3b28d803599e 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventserviceclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventserviceclient/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
     EventServiceSettings eventServiceSettings =
         EventServiceSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventserviceclient/create/SyncCreateSetEndpoint.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventserviceclient/create/SyncCreateSetEndpoint.java
index 3a4791e1b7ca..c03cef537600 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventserviceclient/create/SyncCreateSetEndpoint.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventserviceclient/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
     EventServiceSettings eventServiceSettings =
         EventServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
     EventServiceClient eventServiceClient = EventServiceClient.create(eventServiceSettings);
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventserviceclient/createclientevent/AsyncCreateClientEvent.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventserviceclient/createclientevent/AsyncCreateClientEvent.java
index 75e3ca5a94c0..9ba0df639e4e 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventserviceclient/createclientevent/AsyncCreateClientEvent.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventserviceclient/createclientevent/AsyncCreateClientEvent.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateClientEvent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventServiceClient eventServiceClient = EventServiceClient.create()) {
       CreateClientEventRequest request =
           CreateClientEventRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventserviceclient/createclientevent/SyncCreateClientEvent.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventserviceclient/createclientevent/SyncCreateClientEvent.java
index 7f2bc2d6a842..a15505eac2c6 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventserviceclient/createclientevent/SyncCreateClientEvent.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventserviceclient/createclientevent/SyncCreateClientEvent.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateClientEvent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventServiceClient eventServiceClient = EventServiceClient.create()) {
       CreateClientEventRequest request =
           CreateClientEventRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventserviceclient/createclientevent/SyncCreateClientEventStringClientevent.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventserviceclient/createclientevent/SyncCreateClientEventStringClientevent.java
index 43f9f59f9498..cba1496c9211 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventserviceclient/createclientevent/SyncCreateClientEventStringClientevent.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventserviceclient/createclientevent/SyncCreateClientEventStringClientevent.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateClientEventStringClientevent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventServiceClient eventServiceClient = EventServiceClient.create()) {
       String parent = TenantName.of("[PROJECT]", "[TENANT]").toString();
       ClientEvent clientEvent = ClientEvent.newBuilder().build();
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventserviceclient/createclientevent/SyncCreateClientEventTenantnameClientevent.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventserviceclient/createclientevent/SyncCreateClientEventTenantnameClientevent.java
index d76a042025d5..e59374fd37f6 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventserviceclient/createclientevent/SyncCreateClientEventTenantnameClientevent.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventserviceclient/createclientevent/SyncCreateClientEventTenantnameClientevent.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateClientEventTenantnameClientevent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventServiceClient eventServiceClient = EventServiceClient.create()) {
       TenantName parent = TenantName.of("[PROJECT]", "[TENANT]");
       ClientEvent clientEvent = ClientEvent.newBuilder().build();
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservicesettings/createclientevent/SyncCreateClientEvent.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservicesettings/createclientevent/SyncCreateClientEvent.java
index 0022a6b4976b..a2d349ee1d19 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservicesettings/createclientevent/SyncCreateClientEvent.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservicesettings/createclientevent/SyncCreateClientEvent.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateClientEvent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     EventServiceSettings.Builder eventServiceSettingsBuilder = EventServiceSettings.newBuilder();
     eventServiceSettingsBuilder
         .createClientEventSettings()
         .setRetrySettings(
-            eventServiceSettingsBuilder
-                .createClientEventSettings()
-                .getRetrySettings()
-                .toBuilder()
+            eventServiceSettingsBuilder.createClientEventSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     EventServiceSettings eventServiceSettings = eventServiceSettingsBuilder.build();
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchcreatejobs/AsyncBatchCreateJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchcreatejobs/AsyncBatchCreateJobs.java
index a6b9474d164e..3d306f68fecd 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchcreatejobs/AsyncBatchCreateJobs.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchcreatejobs/AsyncBatchCreateJobs.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncBatchCreateJobs() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       BatchCreateJobsRequest request =
           BatchCreateJobsRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchcreatejobs/AsyncBatchCreateJobsLRO.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchcreatejobs/AsyncBatchCreateJobsLRO.java
index 6ceff52dffac..a3fe3578a7f7 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchcreatejobs/AsyncBatchCreateJobsLRO.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchcreatejobs/AsyncBatchCreateJobsLRO.java
@@ -33,8 +33,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncBatchCreateJobsLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       BatchCreateJobsRequest request =
           BatchCreateJobsRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchcreatejobs/SyncBatchCreateJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchcreatejobs/SyncBatchCreateJobs.java
index fcdae4743ab8..3a014e34339d 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchcreatejobs/SyncBatchCreateJobs.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchcreatejobs/SyncBatchCreateJobs.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchCreateJobs() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       BatchCreateJobsRequest request =
           BatchCreateJobsRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchcreatejobs/SyncBatchCreateJobsStringListjob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchcreatejobs/SyncBatchCreateJobsStringListjob.java
index 3b086a831914..523308de2f8d 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchcreatejobs/SyncBatchCreateJobsStringListjob.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchcreatejobs/SyncBatchCreateJobsStringListjob.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchCreateJobsStringListjob() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       String parent = TenantName.of("[PROJECT]", "[TENANT]").toString();
       List jobs = new ArrayList<>();
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchcreatejobs/SyncBatchCreateJobsTenantnameListjob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchcreatejobs/SyncBatchCreateJobsTenantnameListjob.java
index fa6358fa845f..b51b6fe2aafa 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchcreatejobs/SyncBatchCreateJobsTenantnameListjob.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchcreatejobs/SyncBatchCreateJobsTenantnameListjob.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchCreateJobsTenantnameListjob() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       TenantName parent = TenantName.of("[PROJECT]", "[TENANT]");
       List jobs = new ArrayList<>();
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchdeletejobs/AsyncBatchDeleteJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchdeletejobs/AsyncBatchDeleteJobs.java
index 7ef3560a5cf7..74c9af7357ae 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchdeletejobs/AsyncBatchDeleteJobs.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchdeletejobs/AsyncBatchDeleteJobs.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncBatchDeleteJobs() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       BatchDeleteJobsRequest request =
           BatchDeleteJobsRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchdeletejobs/AsyncBatchDeleteJobsLRO.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchdeletejobs/AsyncBatchDeleteJobsLRO.java
index 574a095f2e3a..e7ff0afc70df 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchdeletejobs/AsyncBatchDeleteJobsLRO.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchdeletejobs/AsyncBatchDeleteJobsLRO.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncBatchDeleteJobsLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       BatchDeleteJobsRequest request =
           BatchDeleteJobsRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchdeletejobs/SyncBatchDeleteJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchdeletejobs/SyncBatchDeleteJobs.java
index 2e93832ed57c..fdb762cef2d2 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchdeletejobs/SyncBatchDeleteJobs.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchdeletejobs/SyncBatchDeleteJobs.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchDeleteJobs() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       BatchDeleteJobsRequest request =
           BatchDeleteJobsRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchdeletejobs/SyncBatchDeleteJobsStringListstring.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchdeletejobs/SyncBatchDeleteJobsStringListstring.java
index 7c9ed9e57836..df1fb763fda1 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchdeletejobs/SyncBatchDeleteJobsStringListstring.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchdeletejobs/SyncBatchDeleteJobsStringListstring.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchDeleteJobsStringListstring() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       String parent = TenantName.of("[PROJECT]", "[TENANT]").toString();
       List names = new ArrayList<>();
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchdeletejobs/SyncBatchDeleteJobsTenantnameListstring.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchdeletejobs/SyncBatchDeleteJobsTenantnameListstring.java
index 92c2d4f94bee..b861bc069555 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchdeletejobs/SyncBatchDeleteJobsTenantnameListstring.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchdeletejobs/SyncBatchDeleteJobsTenantnameListstring.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchDeleteJobsTenantnameListstring() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       TenantName parent = TenantName.of("[PROJECT]", "[TENANT]");
       List names = new ArrayList<>();
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchupdatejobs/AsyncBatchUpdateJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchupdatejobs/AsyncBatchUpdateJobs.java
index cbc54000a047..af777abd4019 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchupdatejobs/AsyncBatchUpdateJobs.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchupdatejobs/AsyncBatchUpdateJobs.java
@@ -33,8 +33,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncBatchUpdateJobs() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       BatchUpdateJobsRequest request =
           BatchUpdateJobsRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchupdatejobs/AsyncBatchUpdateJobsLRO.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchupdatejobs/AsyncBatchUpdateJobsLRO.java
index 844986edc6af..987802a3ba6f 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchupdatejobs/AsyncBatchUpdateJobsLRO.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchupdatejobs/AsyncBatchUpdateJobsLRO.java
@@ -34,8 +34,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncBatchUpdateJobsLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       BatchUpdateJobsRequest request =
           BatchUpdateJobsRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchupdatejobs/SyncBatchUpdateJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchupdatejobs/SyncBatchUpdateJobs.java
index dc1aa2686b11..0826c321a801 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchupdatejobs/SyncBatchUpdateJobs.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchupdatejobs/SyncBatchUpdateJobs.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchUpdateJobs() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       BatchUpdateJobsRequest request =
           BatchUpdateJobsRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchupdatejobs/SyncBatchUpdateJobsStringListjob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchupdatejobs/SyncBatchUpdateJobsStringListjob.java
index f025ae1665b6..90a8abd365f9 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchupdatejobs/SyncBatchUpdateJobsStringListjob.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchupdatejobs/SyncBatchUpdateJobsStringListjob.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchUpdateJobsStringListjob() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       String parent = TenantName.of("[PROJECT]", "[TENANT]").toString();
       List jobs = new ArrayList<>();
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchupdatejobs/SyncBatchUpdateJobsTenantnameListjob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchupdatejobs/SyncBatchUpdateJobsTenantnameListjob.java
index 2d21df1858aa..9367b3562bc2 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchupdatejobs/SyncBatchUpdateJobsTenantnameListjob.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/batchupdatejobs/SyncBatchUpdateJobsTenantnameListjob.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchUpdateJobsTenantnameListjob() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       TenantName parent = TenantName.of("[PROJECT]", "[TENANT]");
       List jobs = new ArrayList<>();
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/create/SyncCreateSetCredentialsProvider.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/create/SyncCreateSetCredentialsProvider.java
index 89b60a06a74b..f83252b55429 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/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
     JobServiceSettings jobServiceSettings =
         JobServiceSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/create/SyncCreateSetCredentialsProvider1.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/create/SyncCreateSetCredentialsProvider1.java
index 60974386880a..2574c11fa0f3 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/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
     JobServiceSettings jobServiceSettings =
         JobServiceSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/create/SyncCreateSetEndpoint.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/create/SyncCreateSetEndpoint.java
index 3568e2755dfd..28c9f35eb868 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/create/SyncCreateSetEndpoint.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/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
     JobServiceSettings jobServiceSettings =
         JobServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
     JobServiceClient jobServiceClient = JobServiceClient.create(jobServiceSettings);
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/createjob/AsyncCreateJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/createjob/AsyncCreateJob.java
index 4b0f2e2182d0..94eeb92f6bc9 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/createjob/AsyncCreateJob.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/createjob/AsyncCreateJob.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateJob() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       CreateJobRequest request =
           CreateJobRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/createjob/SyncCreateJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/createjob/SyncCreateJob.java
index 42a04b6f5023..a5fa2e47ed89 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/createjob/SyncCreateJob.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/createjob/SyncCreateJob.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateJob() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       CreateJobRequest request =
           CreateJobRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/createjob/SyncCreateJobStringJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/createjob/SyncCreateJobStringJob.java
index 3b0db141c023..0b5bafc6294b 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/createjob/SyncCreateJobStringJob.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/createjob/SyncCreateJobStringJob.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateJobStringJob() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       String parent = TenantName.of("[PROJECT]", "[TENANT]").toString();
       Job job = Job.newBuilder().build();
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/createjob/SyncCreateJobTenantnameJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/createjob/SyncCreateJobTenantnameJob.java
index 5ba7932951b8..105621fa02e1 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/createjob/SyncCreateJobTenantnameJob.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/createjob/SyncCreateJobTenantnameJob.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateJobTenantnameJob() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       TenantName parent = TenantName.of("[PROJECT]", "[TENANT]");
       Job job = Job.newBuilder().build();
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/deletejob/AsyncDeleteJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/deletejob/AsyncDeleteJob.java
index 1691af82fbee..42af9da7a988 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/deletejob/AsyncDeleteJob.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/deletejob/AsyncDeleteJob.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteJob() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       DeleteJobRequest request =
           DeleteJobRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/deletejob/SyncDeleteJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/deletejob/SyncDeleteJob.java
index 0a3b64762275..123ced49df1e 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/deletejob/SyncDeleteJob.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/deletejob/SyncDeleteJob.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteJob() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       DeleteJobRequest request =
           DeleteJobRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/deletejob/SyncDeleteJobJobname.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/deletejob/SyncDeleteJobJobname.java
index 609497360235..7ff66e62e78e 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/deletejob/SyncDeleteJobJobname.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/deletejob/SyncDeleteJobJobname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteJobJobname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       JobName name = JobName.of("[PROJECT]", "[TENANT]", "[JOB]");
       jobServiceClient.deleteJob(name);
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/deletejob/SyncDeleteJobString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/deletejob/SyncDeleteJobString.java
index 4430c55898e4..98c5d8f267d6 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/deletejob/SyncDeleteJobString.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/deletejob/SyncDeleteJobString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteJobString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       String name = JobName.of("[PROJECT]", "[TENANT]", "[JOB]").toString();
       jobServiceClient.deleteJob(name);
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/getjob/AsyncGetJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/getjob/AsyncGetJob.java
index 9fa4c5474b94..912316d7104b 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/getjob/AsyncGetJob.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/getjob/AsyncGetJob.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetJob() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       GetJobRequest request =
           GetJobRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/getjob/SyncGetJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/getjob/SyncGetJob.java
index ecb8b152d236..fd6dfc2743d1 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/getjob/SyncGetJob.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/getjob/SyncGetJob.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetJob() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       GetJobRequest request =
           GetJobRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/getjob/SyncGetJobJobname.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/getjob/SyncGetJobJobname.java
index cdb328777567..83d6c98b7629 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/getjob/SyncGetJobJobname.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/getjob/SyncGetJobJobname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetJobJobname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       JobName name = JobName.of("[PROJECT]", "[TENANT]", "[JOB]");
       Job response = jobServiceClient.getJob(name);
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/getjob/SyncGetJobString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/getjob/SyncGetJobString.java
index 081b4558d065..b60cd81aa0b4 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/getjob/SyncGetJobString.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/getjob/SyncGetJobString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetJobString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       String name = JobName.of("[PROJECT]", "[TENANT]", "[JOB]").toString();
       Job response = jobServiceClient.getJob(name);
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/listjobs/AsyncListJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/listjobs/AsyncListJobs.java
index 15b9b63c7295..c6cb30f5978f 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/listjobs/AsyncListJobs.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/listjobs/AsyncListJobs.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListJobs() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       ListJobsRequest request =
           ListJobsRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/listjobs/AsyncListJobsPaged.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/listjobs/AsyncListJobsPaged.java
index f86a0c31fbe2..75a05b609a11 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/listjobs/AsyncListJobsPaged.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/listjobs/AsyncListJobsPaged.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListJobsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       ListJobsRequest request =
           ListJobsRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/listjobs/SyncListJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/listjobs/SyncListJobs.java
index 92655ffee51f..af5c07f53be7 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/listjobs/SyncListJobs.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/listjobs/SyncListJobs.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListJobs() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       ListJobsRequest request =
           ListJobsRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/listjobs/SyncListJobsStringString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/listjobs/SyncListJobsStringString.java
index 0da73117af86..366540314174 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/listjobs/SyncListJobsStringString.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/listjobs/SyncListJobsStringString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListJobsStringString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       String parent = TenantName.of("[PROJECT]", "[TENANT]").toString();
       String filter = "filter-1274492040";
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/listjobs/SyncListJobsTenantnameString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/listjobs/SyncListJobsTenantnameString.java
index f97f6a0efee1..dc18014563f1 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/listjobs/SyncListJobsTenantnameString.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/listjobs/SyncListJobsTenantnameString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListJobsTenantnameString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       TenantName parent = TenantName.of("[PROJECT]", "[TENANT]");
       String filter = "filter-1274492040";
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/searchjobs/AsyncSearchJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/searchjobs/AsyncSearchJobs.java
index 87fdc7ead638..a3460a892753 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/searchjobs/AsyncSearchJobs.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/searchjobs/AsyncSearchJobs.java
@@ -35,8 +35,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncSearchJobs() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       SearchJobsRequest request =
           SearchJobsRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/searchjobs/SyncSearchJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/searchjobs/SyncSearchJobs.java
index d7a3f7bbfd12..ae60f8988b21 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/searchjobs/SyncSearchJobs.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/searchjobs/SyncSearchJobs.java
@@ -34,8 +34,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSearchJobs() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       SearchJobsRequest request =
           SearchJobsRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/searchjobsforalert/AsyncSearchJobsForAlert.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/searchjobsforalert/AsyncSearchJobsForAlert.java
index 396c7730bde0..7604de795ae1 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/searchjobsforalert/AsyncSearchJobsForAlert.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/searchjobsforalert/AsyncSearchJobsForAlert.java
@@ -35,8 +35,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncSearchJobsForAlert() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       SearchJobsRequest request =
           SearchJobsRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/searchjobsforalert/SyncSearchJobsForAlert.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/searchjobsforalert/SyncSearchJobsForAlert.java
index 935885856c4c..1e2a2bb95169 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/searchjobsforalert/SyncSearchJobsForAlert.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/searchjobsforalert/SyncSearchJobsForAlert.java
@@ -34,8 +34,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSearchJobsForAlert() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       SearchJobsRequest request =
           SearchJobsRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/updatejob/AsyncUpdateJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/updatejob/AsyncUpdateJob.java
index 6b266188d3c9..09fdb8e8790a 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/updatejob/AsyncUpdateJob.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/updatejob/AsyncUpdateJob.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateJob() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       UpdateJobRequest request =
           UpdateJobRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/updatejob/SyncUpdateJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/updatejob/SyncUpdateJob.java
index 0bd0ebf6fbc3..9ab4f1300903 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/updatejob/SyncUpdateJob.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/updatejob/SyncUpdateJob.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateJob() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       UpdateJobRequest request =
           UpdateJobRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/updatejob/SyncUpdateJobJobFieldmask.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/updatejob/SyncUpdateJobJobFieldmask.java
index 5cb15013d0e4..5cbcccba1a92 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/updatejob/SyncUpdateJobJobFieldmask.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobserviceclient/updatejob/SyncUpdateJobJobFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateJobJobFieldmask() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       Job job = Job.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservicesettings/createjob/SyncCreateJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservicesettings/createjob/SyncCreateJob.java
index 75ceb424943b..88603b8af479 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservicesettings/createjob/SyncCreateJob.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservicesettings/createjob/SyncCreateJob.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateJob() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     JobServiceSettings.Builder jobServiceSettingsBuilder = JobServiceSettings.newBuilder();
     jobServiceSettingsBuilder
         .createJobSettings()
         .setRetrySettings(
-            jobServiceSettingsBuilder
-                .createJobSettings()
-                .getRetrySettings()
-                .toBuilder()
+            jobServiceSettingsBuilder.createJobSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     JobServiceSettings jobServiceSettings = jobServiceSettingsBuilder.build();
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/companyservicestubsettings/createcompany/SyncCreateCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/companyservicestubsettings/createcompany/SyncCreateCompany.java
index 0530a27dee31..a04887e82fe9 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/companyservicestubsettings/createcompany/SyncCreateCompany.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/companyservicestubsettings/createcompany/SyncCreateCompany.java
@@ -27,17 +27,17 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateCompany() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     CompanyServiceStubSettings.Builder companyServiceSettingsBuilder =
         CompanyServiceStubSettings.newBuilder();
     companyServiceSettingsBuilder
         .createCompanySettings()
         .setRetrySettings(
-            companyServiceSettingsBuilder
-                .createCompanySettings()
-                .getRetrySettings()
-                .toBuilder()
+            companyServiceSettingsBuilder.createCompanySettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     CompanyServiceStubSettings companyServiceSettings = companyServiceSettingsBuilder.build();
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/completionstubsettings/completequery/SyncCompleteQuery.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/completionstubsettings/completequery/SyncCompleteQuery.java
index dd05da2bb016..87b705438602 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/completionstubsettings/completequery/SyncCompleteQuery.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/completionstubsettings/completequery/SyncCompleteQuery.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCompleteQuery() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     CompletionStubSettings.Builder completionSettingsBuilder = CompletionStubSettings.newBuilder();
     completionSettingsBuilder
         .completeQuerySettings()
         .setRetrySettings(
-            completionSettingsBuilder
-                .completeQuerySettings()
-                .getRetrySettings()
-                .toBuilder()
+            completionSettingsBuilder.completeQuerySettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     CompletionStubSettings completionSettings = completionSettingsBuilder.build();
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/eventservicestubsettings/createclientevent/SyncCreateClientEvent.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/eventservicestubsettings/createclientevent/SyncCreateClientEvent.java
index 8ec0da3f0a72..ee10d6b5a9d5 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/eventservicestubsettings/createclientevent/SyncCreateClientEvent.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/eventservicestubsettings/createclientevent/SyncCreateClientEvent.java
@@ -27,17 +27,17 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateClientEvent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     EventServiceStubSettings.Builder eventServiceSettingsBuilder =
         EventServiceStubSettings.newBuilder();
     eventServiceSettingsBuilder
         .createClientEventSettings()
         .setRetrySettings(
-            eventServiceSettingsBuilder
-                .createClientEventSettings()
-                .getRetrySettings()
-                .toBuilder()
+            eventServiceSettingsBuilder.createClientEventSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     EventServiceStubSettings eventServiceSettings = eventServiceSettingsBuilder.build();
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/jobservicestubsettings/createjob/SyncCreateJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/jobservicestubsettings/createjob/SyncCreateJob.java
index 5807b548b920..28ca32e7d2a8 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/jobservicestubsettings/createjob/SyncCreateJob.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/jobservicestubsettings/createjob/SyncCreateJob.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateJob() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     JobServiceStubSettings.Builder jobServiceSettingsBuilder = JobServiceStubSettings.newBuilder();
     jobServiceSettingsBuilder
         .createJobSettings()
         .setRetrySettings(
-            jobServiceSettingsBuilder
-                .createJobSettings()
-                .getRetrySettings()
-                .toBuilder()
+            jobServiceSettingsBuilder.createJobSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     JobServiceStubSettings jobServiceSettings = jobServiceSettingsBuilder.build();
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/tenantservicestubsettings/createtenant/SyncCreateTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/tenantservicestubsettings/createtenant/SyncCreateTenant.java
index 11189a0ad595..eef4efaaece4 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/tenantservicestubsettings/createtenant/SyncCreateTenant.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/tenantservicestubsettings/createtenant/SyncCreateTenant.java
@@ -27,17 +27,17 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateTenant() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     TenantServiceStubSettings.Builder tenantServiceSettingsBuilder =
         TenantServiceStubSettings.newBuilder();
     tenantServiceSettingsBuilder
         .createTenantSettings()
         .setRetrySettings(
-            tenantServiceSettingsBuilder
-                .createTenantSettings()
-                .getRetrySettings()
-                .toBuilder()
+            tenantServiceSettingsBuilder.createTenantSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     TenantServiceStubSettings tenantServiceSettings = tenantServiceSettingsBuilder.build();
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/create/SyncCreateSetCredentialsProvider.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/create/SyncCreateSetCredentialsProvider.java
index d16170143abc..60046d597b85 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/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
     TenantServiceSettings tenantServiceSettings =
         TenantServiceSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/create/SyncCreateSetCredentialsProvider1.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/create/SyncCreateSetCredentialsProvider1.java
index 094c519a4fb3..ce55ec8ec5a8 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/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
     TenantServiceSettings tenantServiceSettings =
         TenantServiceSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/create/SyncCreateSetEndpoint.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/create/SyncCreateSetEndpoint.java
index 3e65bcd3761a..b87e0357b078 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/create/SyncCreateSetEndpoint.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/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
     TenantServiceSettings tenantServiceSettings =
         TenantServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
     TenantServiceClient tenantServiceClient = TenantServiceClient.create(tenantServiceSettings);
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/createtenant/AsyncCreateTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/createtenant/AsyncCreateTenant.java
index 4f2d9c9a066e..c1e5aa1ce12e 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/createtenant/AsyncCreateTenant.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/createtenant/AsyncCreateTenant.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateTenant() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
       CreateTenantRequest request =
           CreateTenantRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/createtenant/SyncCreateTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/createtenant/SyncCreateTenant.java
index a926d50db2bd..725b0a3b2375 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/createtenant/SyncCreateTenant.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/createtenant/SyncCreateTenant.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateTenant() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
       CreateTenantRequest request =
           CreateTenantRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/createtenant/SyncCreateTenantProjectnameTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/createtenant/SyncCreateTenantProjectnameTenant.java
index f377d60f079b..7096e950f9a8 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/createtenant/SyncCreateTenantProjectnameTenant.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/createtenant/SyncCreateTenantProjectnameTenant.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateTenantProjectnameTenant() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
       ProjectName parent = ProjectName.of("[PROJECT]");
       Tenant tenant = Tenant.newBuilder().build();
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/createtenant/SyncCreateTenantStringTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/createtenant/SyncCreateTenantStringTenant.java
index 39bf2197dc6f..bf7f1832728d 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/createtenant/SyncCreateTenantStringTenant.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/createtenant/SyncCreateTenantStringTenant.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateTenantStringTenant() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
       String parent = ProjectName.of("[PROJECT]").toString();
       Tenant tenant = Tenant.newBuilder().build();
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/deletetenant/AsyncDeleteTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/deletetenant/AsyncDeleteTenant.java
index b073274ae0fe..27b195fa3c4e 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/deletetenant/AsyncDeleteTenant.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/deletetenant/AsyncDeleteTenant.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteTenant() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
       DeleteTenantRequest request =
           DeleteTenantRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/deletetenant/SyncDeleteTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/deletetenant/SyncDeleteTenant.java
index 5f9b9d90af5c..374189daa55e 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/deletetenant/SyncDeleteTenant.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/deletetenant/SyncDeleteTenant.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteTenant() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
       DeleteTenantRequest request =
           DeleteTenantRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/deletetenant/SyncDeleteTenantString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/deletetenant/SyncDeleteTenantString.java
index 085b80523810..87917c8c9f73 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/deletetenant/SyncDeleteTenantString.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/deletetenant/SyncDeleteTenantString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteTenantString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
       String name = TenantName.of("[PROJECT]", "[TENANT]").toString();
       tenantServiceClient.deleteTenant(name);
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/deletetenant/SyncDeleteTenantTenantname.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/deletetenant/SyncDeleteTenantTenantname.java
index cd84f58bc447..41d073e9f737 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/deletetenant/SyncDeleteTenantTenantname.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/deletetenant/SyncDeleteTenantTenantname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteTenantTenantname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
       TenantName name = TenantName.of("[PROJECT]", "[TENANT]");
       tenantServiceClient.deleteTenant(name);
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/gettenant/AsyncGetTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/gettenant/AsyncGetTenant.java
index 10428ad5814a..7b419ed46f81 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/gettenant/AsyncGetTenant.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/gettenant/AsyncGetTenant.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetTenant() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
       GetTenantRequest request =
           GetTenantRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/gettenant/SyncGetTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/gettenant/SyncGetTenant.java
index de3a59bb0982..bd9e9bb0da91 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/gettenant/SyncGetTenant.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/gettenant/SyncGetTenant.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetTenant() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
       GetTenantRequest request =
           GetTenantRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/gettenant/SyncGetTenantString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/gettenant/SyncGetTenantString.java
index 509522611b1d..147a5f16766e 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/gettenant/SyncGetTenantString.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/gettenant/SyncGetTenantString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetTenantString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
       String name = TenantName.of("[PROJECT]", "[TENANT]").toString();
       Tenant response = tenantServiceClient.getTenant(name);
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/gettenant/SyncGetTenantTenantname.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/gettenant/SyncGetTenantTenantname.java
index 8373586c9f2f..96d486c3e9c1 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/gettenant/SyncGetTenantTenantname.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/gettenant/SyncGetTenantTenantname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetTenantTenantname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
       TenantName name = TenantName.of("[PROJECT]", "[TENANT]");
       Tenant response = tenantServiceClient.getTenant(name);
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/listtenants/AsyncListTenants.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/listtenants/AsyncListTenants.java
index a8dc68b20d2e..ba57e6cc6d83 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/listtenants/AsyncListTenants.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/listtenants/AsyncListTenants.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListTenants() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
       ListTenantsRequest request =
           ListTenantsRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/listtenants/AsyncListTenantsPaged.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/listtenants/AsyncListTenantsPaged.java
index 765abc34d4ce..92f4cf68aa7b 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/listtenants/AsyncListTenantsPaged.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/listtenants/AsyncListTenantsPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListTenantsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
       ListTenantsRequest request =
           ListTenantsRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/listtenants/SyncListTenants.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/listtenants/SyncListTenants.java
index fd48d5ef82a1..a1d342da4f80 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/listtenants/SyncListTenants.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/listtenants/SyncListTenants.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListTenants() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
       ListTenantsRequest request =
           ListTenantsRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/listtenants/SyncListTenantsProjectname.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/listtenants/SyncListTenantsProjectname.java
index ea6fa06ab1e6..d616965f2d73 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/listtenants/SyncListTenantsProjectname.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/listtenants/SyncListTenantsProjectname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListTenantsProjectname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
       ProjectName parent = ProjectName.of("[PROJECT]");
       for (Tenant element : tenantServiceClient.listTenants(parent).iterateAll()) {
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/listtenants/SyncListTenantsString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/listtenants/SyncListTenantsString.java
index f0e48be05107..f15646f8f84a 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/listtenants/SyncListTenantsString.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/listtenants/SyncListTenantsString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListTenantsString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
       String parent = ProjectName.of("[PROJECT]").toString();
       for (Tenant element : tenantServiceClient.listTenants(parent).iterateAll()) {
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/updatetenant/AsyncUpdateTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/updatetenant/AsyncUpdateTenant.java
index d61ee9bd91d9..400cdc11df5c 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/updatetenant/AsyncUpdateTenant.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/updatetenant/AsyncUpdateTenant.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateTenant() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
       UpdateTenantRequest request =
           UpdateTenantRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/updatetenant/SyncUpdateTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/updatetenant/SyncUpdateTenant.java
index 07be25a202b0..ce239605c085 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/updatetenant/SyncUpdateTenant.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/updatetenant/SyncUpdateTenant.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateTenant() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
       UpdateTenantRequest request =
           UpdateTenantRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/updatetenant/SyncUpdateTenantTenantFieldmask.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/updatetenant/SyncUpdateTenantTenantFieldmask.java
index d1a3d59bb30c..a067ddfdb25c 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/updatetenant/SyncUpdateTenantTenantFieldmask.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantserviceclient/updatetenant/SyncUpdateTenantTenantFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateTenantTenantFieldmask() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
       Tenant tenant = Tenant.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservicesettings/createtenant/SyncCreateTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservicesettings/createtenant/SyncCreateTenant.java
index 1150a2e00a00..d4c550c14f03 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservicesettings/createtenant/SyncCreateTenant.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservicesettings/createtenant/SyncCreateTenant.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateTenant() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     TenantServiceSettings.Builder tenantServiceSettingsBuilder = TenantServiceSettings.newBuilder();
     tenantServiceSettingsBuilder
         .createTenantSettings()
         .setRetrySettings(
-            tenantServiceSettingsBuilder
-                .createTenantSettings()
-                .getRetrySettings()
-                .toBuilder()
+            tenantServiceSettingsBuilder.createTenantSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     TenantServiceSettings tenantServiceSettings = tenantServiceSettingsBuilder.build();
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/create/SyncCreateSetCredentialsProvider.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/create/SyncCreateSetCredentialsProvider.java
index f058bcbd134b..ac32dbd64a79 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/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
     CompanyServiceSettings companyServiceSettings =
         CompanyServiceSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/create/SyncCreateSetCredentialsProvider1.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/create/SyncCreateSetCredentialsProvider1.java
index d34706f9b081..b01ff85bcee3 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/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
     CompanyServiceSettings companyServiceSettings =
         CompanyServiceSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/create/SyncCreateSetEndpoint.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/create/SyncCreateSetEndpoint.java
index 2155eaa8c65c..21f1b0339f7d 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/create/SyncCreateSetEndpoint.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/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
     CompanyServiceSettings companyServiceSettings =
         CompanyServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
     CompanyServiceClient companyServiceClient = CompanyServiceClient.create(companyServiceSettings);
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/createcompany/AsyncCreateCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/createcompany/AsyncCreateCompany.java
index 0f6a9d6cd8e1..eb622905c0f2 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/createcompany/AsyncCreateCompany.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/createcompany/AsyncCreateCompany.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateCompany() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
       CreateCompanyRequest request =
           CreateCompanyRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/createcompany/SyncCreateCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/createcompany/SyncCreateCompany.java
index 8c4103627745..aa57c987322b 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/createcompany/SyncCreateCompany.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/createcompany/SyncCreateCompany.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateCompany() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
       CreateCompanyRequest request =
           CreateCompanyRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/createcompany/SyncCreateCompanyProjectnameCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/createcompany/SyncCreateCompanyProjectnameCompany.java
index de4ad5686bba..75395a02be7a 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/createcompany/SyncCreateCompanyProjectnameCompany.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/createcompany/SyncCreateCompanyProjectnameCompany.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateCompanyProjectnameCompany() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
       ProjectName parent = ProjectName.of("[PROJECT]");
       Company company = Company.newBuilder().build();
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/createcompany/SyncCreateCompanyStringCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/createcompany/SyncCreateCompanyStringCompany.java
index eb259db4417a..a83c4b26f7c4 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/createcompany/SyncCreateCompanyStringCompany.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/createcompany/SyncCreateCompanyStringCompany.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateCompanyStringCompany() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
       String parent = TenantName.of("[PROJECT]", "[TENANT]").toString();
       Company company = Company.newBuilder().build();
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/createcompany/SyncCreateCompanyTenantnameCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/createcompany/SyncCreateCompanyTenantnameCompany.java
index 0a5e781dcca1..9d5e65360e05 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/createcompany/SyncCreateCompanyTenantnameCompany.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/createcompany/SyncCreateCompanyTenantnameCompany.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateCompanyTenantnameCompany() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
       TenantName parent = TenantName.of("[PROJECT]", "[TENANT]");
       Company company = Company.newBuilder().build();
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/deletecompany/AsyncDeleteCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/deletecompany/AsyncDeleteCompany.java
index 06ac4571cb76..af83d59b2fb5 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/deletecompany/AsyncDeleteCompany.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/deletecompany/AsyncDeleteCompany.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteCompany() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
       DeleteCompanyRequest request =
           DeleteCompanyRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/deletecompany/SyncDeleteCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/deletecompany/SyncDeleteCompany.java
index 87663f8faeb7..a7c39ca8bfa6 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/deletecompany/SyncDeleteCompany.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/deletecompany/SyncDeleteCompany.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteCompany() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
       DeleteCompanyRequest request =
           DeleteCompanyRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/deletecompany/SyncDeleteCompanyCompanyname.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/deletecompany/SyncDeleteCompanyCompanyname.java
index 77eaf0dc57d3..d0828d97870d 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/deletecompany/SyncDeleteCompanyCompanyname.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/deletecompany/SyncDeleteCompanyCompanyname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteCompanyCompanyname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
       CompanyName name =
           CompanyName.ofProjectTenantCompanyName("[PROJECT]", "[TENANT]", "[COMPANY]");
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/deletecompany/SyncDeleteCompanyString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/deletecompany/SyncDeleteCompanyString.java
index 64a4992e7ba8..14d789952193 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/deletecompany/SyncDeleteCompanyString.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/deletecompany/SyncDeleteCompanyString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteCompanyString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
       String name =
           CompanyName.ofProjectTenantCompanyName("[PROJECT]", "[TENANT]", "[COMPANY]").toString();
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/getcompany/AsyncGetCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/getcompany/AsyncGetCompany.java
index b327e80d7150..10e19f50fc86 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/getcompany/AsyncGetCompany.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/getcompany/AsyncGetCompany.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetCompany() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
       GetCompanyRequest request =
           GetCompanyRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/getcompany/SyncGetCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/getcompany/SyncGetCompany.java
index cd281e9e2a99..f2e4ff223751 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/getcompany/SyncGetCompany.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/getcompany/SyncGetCompany.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetCompany() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
       GetCompanyRequest request =
           GetCompanyRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/getcompany/SyncGetCompanyCompanyname.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/getcompany/SyncGetCompanyCompanyname.java
index 9cd6c5fddf73..1a922f20ef3f 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/getcompany/SyncGetCompanyCompanyname.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/getcompany/SyncGetCompanyCompanyname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetCompanyCompanyname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
       CompanyName name =
           CompanyName.ofProjectTenantCompanyName("[PROJECT]", "[TENANT]", "[COMPANY]");
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/getcompany/SyncGetCompanyString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/getcompany/SyncGetCompanyString.java
index 009758ad18e9..a112d99c7e33 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/getcompany/SyncGetCompanyString.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/getcompany/SyncGetCompanyString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetCompanyString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
       String name =
           CompanyName.ofProjectTenantCompanyName("[PROJECT]", "[TENANT]", "[COMPANY]").toString();
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/listcompanies/AsyncListCompanies.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/listcompanies/AsyncListCompanies.java
index ce24628e8573..2b22fee9613b 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/listcompanies/AsyncListCompanies.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/listcompanies/AsyncListCompanies.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListCompanies() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
       ListCompaniesRequest request =
           ListCompaniesRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/listcompanies/AsyncListCompaniesPaged.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/listcompanies/AsyncListCompaniesPaged.java
index be6efecbae52..cc4791ba6953 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/listcompanies/AsyncListCompaniesPaged.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/listcompanies/AsyncListCompaniesPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListCompaniesPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
       ListCompaniesRequest request =
           ListCompaniesRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/listcompanies/SyncListCompanies.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/listcompanies/SyncListCompanies.java
index 207c608112a4..76dd6d7d37b3 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/listcompanies/SyncListCompanies.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/listcompanies/SyncListCompanies.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListCompanies() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
       ListCompaniesRequest request =
           ListCompaniesRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/listcompanies/SyncListCompaniesProjectname.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/listcompanies/SyncListCompaniesProjectname.java
index 6e437f74599d..3fb121cbfb9a 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/listcompanies/SyncListCompaniesProjectname.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/listcompanies/SyncListCompaniesProjectname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListCompaniesProjectname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
       ProjectName parent = ProjectName.of("[PROJECT]");
       for (Company element : companyServiceClient.listCompanies(parent).iterateAll()) {
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/listcompanies/SyncListCompaniesString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/listcompanies/SyncListCompaniesString.java
index aa3937984dd0..eaba1f06b88d 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/listcompanies/SyncListCompaniesString.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/listcompanies/SyncListCompaniesString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListCompaniesString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
       String parent = TenantName.of("[PROJECT]", "[TENANT]").toString();
       for (Company element : companyServiceClient.listCompanies(parent).iterateAll()) {
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/listcompanies/SyncListCompaniesTenantname.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/listcompanies/SyncListCompaniesTenantname.java
index bdc3196c4de0..ea558fab1f12 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/listcompanies/SyncListCompaniesTenantname.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/listcompanies/SyncListCompaniesTenantname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListCompaniesTenantname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
       TenantName parent = TenantName.of("[PROJECT]", "[TENANT]");
       for (Company element : companyServiceClient.listCompanies(parent).iterateAll()) {
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/updatecompany/AsyncUpdateCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/updatecompany/AsyncUpdateCompany.java
index d2653c2afe36..803e0e2ba089 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/updatecompany/AsyncUpdateCompany.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/updatecompany/AsyncUpdateCompany.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateCompany() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
       UpdateCompanyRequest request =
           UpdateCompanyRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/updatecompany/SyncUpdateCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/updatecompany/SyncUpdateCompany.java
index eb62d5c1885f..5175dd481326 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/updatecompany/SyncUpdateCompany.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/updatecompany/SyncUpdateCompany.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateCompany() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
       UpdateCompanyRequest request =
           UpdateCompanyRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/updatecompany/SyncUpdateCompanyCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/updatecompany/SyncUpdateCompanyCompany.java
index 042de15dfbc5..d9e1db4e3e01 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/updatecompany/SyncUpdateCompanyCompany.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyserviceclient/updatecompany/SyncUpdateCompanyCompany.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateCompanyCompany() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
       Company company = Company.newBuilder().build();
       Company response = companyServiceClient.updateCompany(company);
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservicesettings/createcompany/SyncCreateCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservicesettings/createcompany/SyncCreateCompany.java
index c1352fb2e4b8..ebbf5d7f2d37 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservicesettings/createcompany/SyncCreateCompany.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservicesettings/createcompany/SyncCreateCompany.java
@@ -27,17 +27,17 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateCompany() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     CompanyServiceSettings.Builder companyServiceSettingsBuilder =
         CompanyServiceSettings.newBuilder();
     companyServiceSettingsBuilder
         .createCompanySettings()
         .setRetrySettings(
-            companyServiceSettingsBuilder
-                .createCompanySettings()
-                .getRetrySettings()
-                .toBuilder()
+            companyServiceSettingsBuilder.createCompanySettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     CompanyServiceSettings companyServiceSettings = companyServiceSettingsBuilder.build();
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completionclient/completequery/AsyncCompleteQuery.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completionclient/completequery/AsyncCompleteQuery.java
index daf79b85bc84..2ba40db5216b 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completionclient/completequery/AsyncCompleteQuery.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completionclient/completequery/AsyncCompleteQuery.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCompleteQuery() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CompletionClient completionClient = CompletionClient.create()) {
       CompleteQueryRequest request =
           CompleteQueryRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completionclient/completequery/SyncCompleteQuery.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completionclient/completequery/SyncCompleteQuery.java
index 6ac31707b383..add0c0549ac1 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completionclient/completequery/SyncCompleteQuery.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completionclient/completequery/SyncCompleteQuery.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCompleteQuery() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CompletionClient completionClient = CompletionClient.create()) {
       CompleteQueryRequest request =
           CompleteQueryRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completionclient/create/SyncCreateSetCredentialsProvider.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completionclient/create/SyncCreateSetCredentialsProvider.java
index 67cd0a0674c6..13480fe25087 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completionclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completionclient/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
     CompletionSettings completionSettings =
         CompletionSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completionclient/create/SyncCreateSetCredentialsProvider1.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completionclient/create/SyncCreateSetCredentialsProvider1.java
index 06c6c1fdfbd8..dead4c83f7a4 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completionclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completionclient/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
     CompletionSettings completionSettings =
         CompletionSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completionclient/create/SyncCreateSetEndpoint.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completionclient/create/SyncCreateSetEndpoint.java
index 7ed54e50d77a..da7ccb632d20 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completionclient/create/SyncCreateSetEndpoint.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completionclient/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
     CompletionSettings completionSettings =
         CompletionSettings.newBuilder().setEndpoint(myEndpoint).build();
     CompletionClient completionClient = CompletionClient.create(completionSettings);
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completionsettings/completequery/SyncCompleteQuery.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completionsettings/completequery/SyncCompleteQuery.java
index 73ca5d2a386d..ad289f6a4959 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completionsettings/completequery/SyncCompleteQuery.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completionsettings/completequery/SyncCompleteQuery.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCompleteQuery() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     CompletionSettings.Builder completionSettingsBuilder = CompletionSettings.newBuilder();
     completionSettingsBuilder
         .completeQuerySettings()
         .setRetrySettings(
-            completionSettingsBuilder
-                .completeQuerySettings()
-                .getRetrySettings()
-                .toBuilder()
+            completionSettingsBuilder.completeQuerySettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     CompletionSettings completionSettings = completionSettingsBuilder.build();
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventserviceclient/create/SyncCreateSetCredentialsProvider.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventserviceclient/create/SyncCreateSetCredentialsProvider.java
index 8b6ad4d7d777..eebb1e450aa3 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventserviceclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventserviceclient/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
     EventServiceSettings eventServiceSettings =
         EventServiceSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventserviceclient/create/SyncCreateSetCredentialsProvider1.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventserviceclient/create/SyncCreateSetCredentialsProvider1.java
index 55b436b0fdb6..579bd27658c9 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventserviceclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventserviceclient/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
     EventServiceSettings eventServiceSettings =
         EventServiceSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventserviceclient/create/SyncCreateSetEndpoint.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventserviceclient/create/SyncCreateSetEndpoint.java
index d8710a906243..a03045e0bd1e 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventserviceclient/create/SyncCreateSetEndpoint.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventserviceclient/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
     EventServiceSettings eventServiceSettings =
         EventServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
     EventServiceClient eventServiceClient = EventServiceClient.create(eventServiceSettings);
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventserviceclient/createclientevent/AsyncCreateClientEvent.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventserviceclient/createclientevent/AsyncCreateClientEvent.java
index 9b7b93a0a157..0c1a9b96d7fe 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventserviceclient/createclientevent/AsyncCreateClientEvent.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventserviceclient/createclientevent/AsyncCreateClientEvent.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateClientEvent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventServiceClient eventServiceClient = EventServiceClient.create()) {
       CreateClientEventRequest request =
           CreateClientEventRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventserviceclient/createclientevent/SyncCreateClientEvent.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventserviceclient/createclientevent/SyncCreateClientEvent.java
index 84bcab03cdcc..c4311d171ccb 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventserviceclient/createclientevent/SyncCreateClientEvent.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventserviceclient/createclientevent/SyncCreateClientEvent.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateClientEvent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventServiceClient eventServiceClient = EventServiceClient.create()) {
       CreateClientEventRequest request =
           CreateClientEventRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventserviceclient/createclientevent/SyncCreateClientEventProjectnameClientevent.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventserviceclient/createclientevent/SyncCreateClientEventProjectnameClientevent.java
index 9f74e94d5796..9961f46157e0 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventserviceclient/createclientevent/SyncCreateClientEventProjectnameClientevent.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventserviceclient/createclientevent/SyncCreateClientEventProjectnameClientevent.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateClientEventProjectnameClientevent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventServiceClient eventServiceClient = EventServiceClient.create()) {
       ProjectName parent = ProjectName.of("[PROJECT]");
       ClientEvent clientEvent = ClientEvent.newBuilder().build();
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventserviceclient/createclientevent/SyncCreateClientEventStringClientevent.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventserviceclient/createclientevent/SyncCreateClientEventStringClientevent.java
index 416ab7b500a4..838150fb0566 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventserviceclient/createclientevent/SyncCreateClientEventStringClientevent.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventserviceclient/createclientevent/SyncCreateClientEventStringClientevent.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateClientEventStringClientevent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventServiceClient eventServiceClient = EventServiceClient.create()) {
       String parent = TenantName.of("[PROJECT]", "[TENANT]").toString();
       ClientEvent clientEvent = ClientEvent.newBuilder().build();
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventserviceclient/createclientevent/SyncCreateClientEventTenantnameClientevent.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventserviceclient/createclientevent/SyncCreateClientEventTenantnameClientevent.java
index 55a728021db8..9ddc9df4ecb5 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventserviceclient/createclientevent/SyncCreateClientEventTenantnameClientevent.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventserviceclient/createclientevent/SyncCreateClientEventTenantnameClientevent.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateClientEventTenantnameClientevent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventServiceClient eventServiceClient = EventServiceClient.create()) {
       TenantName parent = TenantName.of("[PROJECT]", "[TENANT]");
       ClientEvent clientEvent = ClientEvent.newBuilder().build();
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservicesettings/createclientevent/SyncCreateClientEvent.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservicesettings/createclientevent/SyncCreateClientEvent.java
index 52c32c0b12c6..ea27ed0b53bb 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservicesettings/createclientevent/SyncCreateClientEvent.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservicesettings/createclientevent/SyncCreateClientEvent.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateClientEvent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     EventServiceSettings.Builder eventServiceSettingsBuilder = EventServiceSettings.newBuilder();
     eventServiceSettingsBuilder
         .createClientEventSettings()
         .setRetrySettings(
-            eventServiceSettingsBuilder
-                .createClientEventSettings()
-                .getRetrySettings()
-                .toBuilder()
+            eventServiceSettingsBuilder.createClientEventSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     EventServiceSettings eventServiceSettings = eventServiceSettingsBuilder.build();
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchcreatejobs/AsyncBatchCreateJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchcreatejobs/AsyncBatchCreateJobs.java
index 2d8f3b2766b6..967ca66d4c58 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchcreatejobs/AsyncBatchCreateJobs.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchcreatejobs/AsyncBatchCreateJobs.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncBatchCreateJobs() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       BatchCreateJobsRequest request =
           BatchCreateJobsRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchcreatejobs/AsyncBatchCreateJobsLRO.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchcreatejobs/AsyncBatchCreateJobsLRO.java
index 4c21977a4cb3..c0b3c6ed07bf 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchcreatejobs/AsyncBatchCreateJobsLRO.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchcreatejobs/AsyncBatchCreateJobsLRO.java
@@ -33,8 +33,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncBatchCreateJobsLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       BatchCreateJobsRequest request =
           BatchCreateJobsRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchcreatejobs/SyncBatchCreateJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchcreatejobs/SyncBatchCreateJobs.java
index 82f68ccc51f6..23a367825204 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchcreatejobs/SyncBatchCreateJobs.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchcreatejobs/SyncBatchCreateJobs.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchCreateJobs() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       BatchCreateJobsRequest request =
           BatchCreateJobsRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchcreatejobs/SyncBatchCreateJobsProjectnameListjob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchcreatejobs/SyncBatchCreateJobsProjectnameListjob.java
index c7b81dccd6d3..58c82e653b13 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchcreatejobs/SyncBatchCreateJobsProjectnameListjob.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchcreatejobs/SyncBatchCreateJobsProjectnameListjob.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchCreateJobsProjectnameListjob() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       ProjectName parent = ProjectName.of("[PROJECT]");
       List jobs = new ArrayList<>();
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchcreatejobs/SyncBatchCreateJobsStringListjob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchcreatejobs/SyncBatchCreateJobsStringListjob.java
index bbf7ab1e470a..a783183bfd91 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchcreatejobs/SyncBatchCreateJobsStringListjob.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchcreatejobs/SyncBatchCreateJobsStringListjob.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchCreateJobsStringListjob() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       String parent = TenantName.of("[PROJECT]", "[TENANT]").toString();
       List jobs = new ArrayList<>();
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchcreatejobs/SyncBatchCreateJobsTenantnameListjob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchcreatejobs/SyncBatchCreateJobsTenantnameListjob.java
index de5218b748e0..361049170ea1 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchcreatejobs/SyncBatchCreateJobsTenantnameListjob.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchcreatejobs/SyncBatchCreateJobsTenantnameListjob.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchCreateJobsTenantnameListjob() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       TenantName parent = TenantName.of("[PROJECT]", "[TENANT]");
       List jobs = new ArrayList<>();
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchdeletejobs/AsyncBatchDeleteJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchdeletejobs/AsyncBatchDeleteJobs.java
index a2f931c1b899..2c7ed5d1c1c8 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchdeletejobs/AsyncBatchDeleteJobs.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchdeletejobs/AsyncBatchDeleteJobs.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncBatchDeleteJobs() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       BatchDeleteJobsRequest request =
           BatchDeleteJobsRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchdeletejobs/SyncBatchDeleteJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchdeletejobs/SyncBatchDeleteJobs.java
index 7de803974b43..caf9e1b3ae89 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchdeletejobs/SyncBatchDeleteJobs.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchdeletejobs/SyncBatchDeleteJobs.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchDeleteJobs() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       BatchDeleteJobsRequest request =
           BatchDeleteJobsRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchdeletejobs/SyncBatchDeleteJobsProjectnameString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchdeletejobs/SyncBatchDeleteJobsProjectnameString.java
index 4b577f8e1ed3..f1539c3699ce 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchdeletejobs/SyncBatchDeleteJobsProjectnameString.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchdeletejobs/SyncBatchDeleteJobsProjectnameString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchDeleteJobsProjectnameString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       ProjectName parent = ProjectName.of("[PROJECT]");
       String filter = "filter-1274492040";
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchdeletejobs/SyncBatchDeleteJobsStringString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchdeletejobs/SyncBatchDeleteJobsStringString.java
index e717bbf6b3ba..8bfe715975f0 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchdeletejobs/SyncBatchDeleteJobsStringString.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchdeletejobs/SyncBatchDeleteJobsStringString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchDeleteJobsStringString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       String parent = TenantName.of("[PROJECT]", "[TENANT]").toString();
       String filter = "filter-1274492040";
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchdeletejobs/SyncBatchDeleteJobsTenantnameString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchdeletejobs/SyncBatchDeleteJobsTenantnameString.java
index e1ddc2f47f30..79b0a2ae1616 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchdeletejobs/SyncBatchDeleteJobsTenantnameString.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchdeletejobs/SyncBatchDeleteJobsTenantnameString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchDeleteJobsTenantnameString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       TenantName parent = TenantName.of("[PROJECT]", "[TENANT]");
       String filter = "filter-1274492040";
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchupdatejobs/AsyncBatchUpdateJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchupdatejobs/AsyncBatchUpdateJobs.java
index f12f6874c5d0..037504bd500b 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchupdatejobs/AsyncBatchUpdateJobs.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchupdatejobs/AsyncBatchUpdateJobs.java
@@ -33,8 +33,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncBatchUpdateJobs() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       BatchUpdateJobsRequest request =
           BatchUpdateJobsRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchupdatejobs/AsyncBatchUpdateJobsLRO.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchupdatejobs/AsyncBatchUpdateJobsLRO.java
index 3cb720bfc880..16990944bb03 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchupdatejobs/AsyncBatchUpdateJobsLRO.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchupdatejobs/AsyncBatchUpdateJobsLRO.java
@@ -34,8 +34,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncBatchUpdateJobsLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       BatchUpdateJobsRequest request =
           BatchUpdateJobsRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchupdatejobs/SyncBatchUpdateJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchupdatejobs/SyncBatchUpdateJobs.java
index d3d042efb215..1bdb7b209828 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchupdatejobs/SyncBatchUpdateJobs.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchupdatejobs/SyncBatchUpdateJobs.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchUpdateJobs() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       BatchUpdateJobsRequest request =
           BatchUpdateJobsRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchupdatejobs/SyncBatchUpdateJobsProjectnameListjob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchupdatejobs/SyncBatchUpdateJobsProjectnameListjob.java
index 0dc51283b901..43bc2ee51fd8 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchupdatejobs/SyncBatchUpdateJobsProjectnameListjob.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchupdatejobs/SyncBatchUpdateJobsProjectnameListjob.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchUpdateJobsProjectnameListjob() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       ProjectName parent = ProjectName.of("[PROJECT]");
       List jobs = new ArrayList<>();
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchupdatejobs/SyncBatchUpdateJobsStringListjob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchupdatejobs/SyncBatchUpdateJobsStringListjob.java
index a9714d0f18b9..276e766a2810 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchupdatejobs/SyncBatchUpdateJobsStringListjob.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchupdatejobs/SyncBatchUpdateJobsStringListjob.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchUpdateJobsStringListjob() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       String parent = TenantName.of("[PROJECT]", "[TENANT]").toString();
       List jobs = new ArrayList<>();
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchupdatejobs/SyncBatchUpdateJobsTenantnameListjob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchupdatejobs/SyncBatchUpdateJobsTenantnameListjob.java
index f1443802655e..ef825ff4533a 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchupdatejobs/SyncBatchUpdateJobsTenantnameListjob.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/batchupdatejobs/SyncBatchUpdateJobsTenantnameListjob.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchUpdateJobsTenantnameListjob() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       TenantName parent = TenantName.of("[PROJECT]", "[TENANT]");
       List jobs = new ArrayList<>();
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/create/SyncCreateSetCredentialsProvider.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/create/SyncCreateSetCredentialsProvider.java
index b379026aa71a..82d8340e68d5 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/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
     JobServiceSettings jobServiceSettings =
         JobServiceSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/create/SyncCreateSetCredentialsProvider1.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/create/SyncCreateSetCredentialsProvider1.java
index d0b40a7bc07b..8ded65093259 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/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
     JobServiceSettings jobServiceSettings =
         JobServiceSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/create/SyncCreateSetEndpoint.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/create/SyncCreateSetEndpoint.java
index 63e50d21512d..fb10d5e57c69 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/create/SyncCreateSetEndpoint.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/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
     JobServiceSettings jobServiceSettings =
         JobServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
     JobServiceClient jobServiceClient = JobServiceClient.create(jobServiceSettings);
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/createjob/AsyncCreateJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/createjob/AsyncCreateJob.java
index 0fc510760809..2624c603b081 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/createjob/AsyncCreateJob.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/createjob/AsyncCreateJob.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateJob() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       CreateJobRequest request =
           CreateJobRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/createjob/SyncCreateJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/createjob/SyncCreateJob.java
index b343929a8833..7536406885be 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/createjob/SyncCreateJob.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/createjob/SyncCreateJob.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateJob() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       CreateJobRequest request =
           CreateJobRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/createjob/SyncCreateJobProjectnameJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/createjob/SyncCreateJobProjectnameJob.java
index 1449a868792d..e0bb2ae21b56 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/createjob/SyncCreateJobProjectnameJob.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/createjob/SyncCreateJobProjectnameJob.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateJobProjectnameJob() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       ProjectName parent = ProjectName.of("[PROJECT]");
       Job job = Job.newBuilder().build();
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/createjob/SyncCreateJobStringJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/createjob/SyncCreateJobStringJob.java
index 33c97ed86b21..0e12dea81c66 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/createjob/SyncCreateJobStringJob.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/createjob/SyncCreateJobStringJob.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateJobStringJob() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       String parent = TenantName.of("[PROJECT]", "[TENANT]").toString();
       Job job = Job.newBuilder().build();
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/createjob/SyncCreateJobTenantnameJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/createjob/SyncCreateJobTenantnameJob.java
index 997302139073..6d65df91a2a5 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/createjob/SyncCreateJobTenantnameJob.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/createjob/SyncCreateJobTenantnameJob.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateJobTenantnameJob() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       TenantName parent = TenantName.of("[PROJECT]", "[TENANT]");
       Job job = Job.newBuilder().build();
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/deletejob/AsyncDeleteJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/deletejob/AsyncDeleteJob.java
index efbe20addd6b..740f82c74c0c 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/deletejob/AsyncDeleteJob.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/deletejob/AsyncDeleteJob.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteJob() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       DeleteJobRequest request =
           DeleteJobRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/deletejob/SyncDeleteJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/deletejob/SyncDeleteJob.java
index 7869a980bf30..15590c06db96 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/deletejob/SyncDeleteJob.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/deletejob/SyncDeleteJob.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteJob() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       DeleteJobRequest request =
           DeleteJobRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/deletejob/SyncDeleteJobJobname.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/deletejob/SyncDeleteJobJobname.java
index c21797d30302..874a1c47b07a 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/deletejob/SyncDeleteJobJobname.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/deletejob/SyncDeleteJobJobname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteJobJobname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       JobName name = JobName.ofProjectTenantJobName("[PROJECT]", "[TENANT]", "[JOB]");
       jobServiceClient.deleteJob(name);
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/deletejob/SyncDeleteJobString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/deletejob/SyncDeleteJobString.java
index 5fca8bc17d79..53661d2ab65b 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/deletejob/SyncDeleteJobString.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/deletejob/SyncDeleteJobString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteJobString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       String name = JobName.ofProjectTenantJobName("[PROJECT]", "[TENANT]", "[JOB]").toString();
       jobServiceClient.deleteJob(name);
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/getjob/AsyncGetJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/getjob/AsyncGetJob.java
index a38a5ed21aea..af90d799dc8b 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/getjob/AsyncGetJob.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/getjob/AsyncGetJob.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetJob() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       GetJobRequest request =
           GetJobRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/getjob/SyncGetJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/getjob/SyncGetJob.java
index 769bb8885edf..0973a6027b2d 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/getjob/SyncGetJob.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/getjob/SyncGetJob.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetJob() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       GetJobRequest request =
           GetJobRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/getjob/SyncGetJobJobname.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/getjob/SyncGetJobJobname.java
index e4c3d088b82a..5ac746a576d8 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/getjob/SyncGetJobJobname.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/getjob/SyncGetJobJobname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetJobJobname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       JobName name = JobName.ofProjectTenantJobName("[PROJECT]", "[TENANT]", "[JOB]");
       Job response = jobServiceClient.getJob(name);
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/getjob/SyncGetJobString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/getjob/SyncGetJobString.java
index 92a1d4cb2a5b..f003707b43d0 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/getjob/SyncGetJobString.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/getjob/SyncGetJobString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetJobString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       String name = JobName.ofProjectTenantJobName("[PROJECT]", "[TENANT]", "[JOB]").toString();
       Job response = jobServiceClient.getJob(name);
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/listjobs/AsyncListJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/listjobs/AsyncListJobs.java
index c05fc175e77b..70dab31b10a3 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/listjobs/AsyncListJobs.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/listjobs/AsyncListJobs.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListJobs() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       ListJobsRequest request =
           ListJobsRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/listjobs/AsyncListJobsPaged.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/listjobs/AsyncListJobsPaged.java
index 8282f637d38f..2dcebafcb334 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/listjobs/AsyncListJobsPaged.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/listjobs/AsyncListJobsPaged.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListJobsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       ListJobsRequest request =
           ListJobsRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/listjobs/SyncListJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/listjobs/SyncListJobs.java
index bc29d4ffae83..f899d3d86269 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/listjobs/SyncListJobs.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/listjobs/SyncListJobs.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListJobs() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       ListJobsRequest request =
           ListJobsRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/listjobs/SyncListJobsProjectnameString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/listjobs/SyncListJobsProjectnameString.java
index ae5e87fa8bbd..98b6c1c21b06 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/listjobs/SyncListJobsProjectnameString.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/listjobs/SyncListJobsProjectnameString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListJobsProjectnameString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       ProjectName parent = ProjectName.of("[PROJECT]");
       String filter = "filter-1274492040";
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/listjobs/SyncListJobsStringString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/listjobs/SyncListJobsStringString.java
index e9fb6c9fcbfb..0a916890d494 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/listjobs/SyncListJobsStringString.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/listjobs/SyncListJobsStringString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListJobsStringString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       String parent = TenantName.of("[PROJECT]", "[TENANT]").toString();
       String filter = "filter-1274492040";
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/listjobs/SyncListJobsTenantnameString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/listjobs/SyncListJobsTenantnameString.java
index 2729f8568b48..fbbd374f6d9a 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/listjobs/SyncListJobsTenantnameString.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/listjobs/SyncListJobsTenantnameString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListJobsTenantnameString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       TenantName parent = TenantName.of("[PROJECT]", "[TENANT]");
       String filter = "filter-1274492040";
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/searchjobs/AsyncSearchJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/searchjobs/AsyncSearchJobs.java
index af33b12a475f..8b75dcd16bfc 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/searchjobs/AsyncSearchJobs.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/searchjobs/AsyncSearchJobs.java
@@ -35,8 +35,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncSearchJobs() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       SearchJobsRequest request =
           SearchJobsRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/searchjobs/AsyncSearchJobsPaged.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/searchjobs/AsyncSearchJobsPaged.java
index 077376200d87..69d1295b6bba 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/searchjobs/AsyncSearchJobsPaged.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/searchjobs/AsyncSearchJobsPaged.java
@@ -35,8 +35,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncSearchJobsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       SearchJobsRequest request =
           SearchJobsRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/searchjobs/SyncSearchJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/searchjobs/SyncSearchJobs.java
index e2935ec08e6b..cab4ec131871 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/searchjobs/SyncSearchJobs.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/searchjobs/SyncSearchJobs.java
@@ -34,8 +34,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSearchJobs() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       SearchJobsRequest request =
           SearchJobsRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/searchjobsforalert/AsyncSearchJobsForAlert.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/searchjobsforalert/AsyncSearchJobsForAlert.java
index d0f8f7a7262c..3eedd7b6d36c 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/searchjobsforalert/AsyncSearchJobsForAlert.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/searchjobsforalert/AsyncSearchJobsForAlert.java
@@ -35,8 +35,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncSearchJobsForAlert() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       SearchJobsRequest request =
           SearchJobsRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/searchjobsforalert/AsyncSearchJobsForAlertPaged.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/searchjobsforalert/AsyncSearchJobsForAlertPaged.java
index ec17ff11fe8c..bda1639dd563 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/searchjobsforalert/AsyncSearchJobsForAlertPaged.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/searchjobsforalert/AsyncSearchJobsForAlertPaged.java
@@ -35,8 +35,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncSearchJobsForAlertPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       SearchJobsRequest request =
           SearchJobsRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/searchjobsforalert/SyncSearchJobsForAlert.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/searchjobsforalert/SyncSearchJobsForAlert.java
index 9d2adc648c2e..cb69408a2cdf 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/searchjobsforalert/SyncSearchJobsForAlert.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/searchjobsforalert/SyncSearchJobsForAlert.java
@@ -34,8 +34,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSearchJobsForAlert() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       SearchJobsRequest request =
           SearchJobsRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/updatejob/AsyncUpdateJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/updatejob/AsyncUpdateJob.java
index 6014f2845cc4..a71d0bcdfcd4 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/updatejob/AsyncUpdateJob.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/updatejob/AsyncUpdateJob.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateJob() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       UpdateJobRequest request =
           UpdateJobRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/updatejob/SyncUpdateJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/updatejob/SyncUpdateJob.java
index a267c506add7..e538228d94e9 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/updatejob/SyncUpdateJob.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/updatejob/SyncUpdateJob.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateJob() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       UpdateJobRequest request =
           UpdateJobRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/updatejob/SyncUpdateJobJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/updatejob/SyncUpdateJobJob.java
index 5d0d61b5a593..8491689d7520 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/updatejob/SyncUpdateJobJob.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobserviceclient/updatejob/SyncUpdateJobJob.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateJobJob() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
       Job job = Job.newBuilder().build();
       Job response = jobServiceClient.updateJob(job);
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservicesettings/createjob/SyncCreateJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservicesettings/createjob/SyncCreateJob.java
index d2ebfab5198c..329af6acc4c2 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservicesettings/createjob/SyncCreateJob.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservicesettings/createjob/SyncCreateJob.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateJob() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     JobServiceSettings.Builder jobServiceSettingsBuilder = JobServiceSettings.newBuilder();
     jobServiceSettingsBuilder
         .createJobSettings()
         .setRetrySettings(
-            jobServiceSettingsBuilder
-                .createJobSettings()
-                .getRetrySettings()
-                .toBuilder()
+            jobServiceSettingsBuilder.createJobSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     JobServiceSettings jobServiceSettings = jobServiceSettingsBuilder.build();
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/companyservicestubsettings/createcompany/SyncCreateCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/companyservicestubsettings/createcompany/SyncCreateCompany.java
index 908f13d7245c..ca8fadc8a68b 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/companyservicestubsettings/createcompany/SyncCreateCompany.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/companyservicestubsettings/createcompany/SyncCreateCompany.java
@@ -27,17 +27,17 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateCompany() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     CompanyServiceStubSettings.Builder companyServiceSettingsBuilder =
         CompanyServiceStubSettings.newBuilder();
     companyServiceSettingsBuilder
         .createCompanySettings()
         .setRetrySettings(
-            companyServiceSettingsBuilder
-                .createCompanySettings()
-                .getRetrySettings()
-                .toBuilder()
+            companyServiceSettingsBuilder.createCompanySettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     CompanyServiceStubSettings companyServiceSettings = companyServiceSettingsBuilder.build();
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/completionstubsettings/completequery/SyncCompleteQuery.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/completionstubsettings/completequery/SyncCompleteQuery.java
index 8757e549083f..da564025fa25 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/completionstubsettings/completequery/SyncCompleteQuery.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/completionstubsettings/completequery/SyncCompleteQuery.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCompleteQuery() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     CompletionStubSettings.Builder completionSettingsBuilder = CompletionStubSettings.newBuilder();
     completionSettingsBuilder
         .completeQuerySettings()
         .setRetrySettings(
-            completionSettingsBuilder
-                .completeQuerySettings()
-                .getRetrySettings()
-                .toBuilder()
+            completionSettingsBuilder.completeQuerySettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     CompletionStubSettings completionSettings = completionSettingsBuilder.build();
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/eventservicestubsettings/createclientevent/SyncCreateClientEvent.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/eventservicestubsettings/createclientevent/SyncCreateClientEvent.java
index a6ab4e2cd060..45d96470c933 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/eventservicestubsettings/createclientevent/SyncCreateClientEvent.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/eventservicestubsettings/createclientevent/SyncCreateClientEvent.java
@@ -27,17 +27,17 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateClientEvent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     EventServiceStubSettings.Builder eventServiceSettingsBuilder =
         EventServiceStubSettings.newBuilder();
     eventServiceSettingsBuilder
         .createClientEventSettings()
         .setRetrySettings(
-            eventServiceSettingsBuilder
-                .createClientEventSettings()
-                .getRetrySettings()
-                .toBuilder()
+            eventServiceSettingsBuilder.createClientEventSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     EventServiceStubSettings eventServiceSettings = eventServiceSettingsBuilder.build();
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/jobservicestubsettings/createjob/SyncCreateJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/jobservicestubsettings/createjob/SyncCreateJob.java
index 69ff5839670c..baaa5978f52a 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/jobservicestubsettings/createjob/SyncCreateJob.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/jobservicestubsettings/createjob/SyncCreateJob.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateJob() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     JobServiceStubSettings.Builder jobServiceSettingsBuilder = JobServiceStubSettings.newBuilder();
     jobServiceSettingsBuilder
         .createJobSettings()
         .setRetrySettings(
-            jobServiceSettingsBuilder
-                .createJobSettings()
-                .getRetrySettings()
-                .toBuilder()
+            jobServiceSettingsBuilder.createJobSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     JobServiceStubSettings jobServiceSettings = jobServiceSettingsBuilder.build();
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/tenantservicestubsettings/createtenant/SyncCreateTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/tenantservicestubsettings/createtenant/SyncCreateTenant.java
index 58d2c7d7e37d..750793af6b1b 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/tenantservicestubsettings/createtenant/SyncCreateTenant.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/tenantservicestubsettings/createtenant/SyncCreateTenant.java
@@ -27,17 +27,17 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateTenant() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     TenantServiceStubSettings.Builder tenantServiceSettingsBuilder =
         TenantServiceStubSettings.newBuilder();
     tenantServiceSettingsBuilder
         .createTenantSettings()
         .setRetrySettings(
-            tenantServiceSettingsBuilder
-                .createTenantSettings()
-                .getRetrySettings()
-                .toBuilder()
+            tenantServiceSettingsBuilder.createTenantSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     TenantServiceStubSettings tenantServiceSettings = tenantServiceSettingsBuilder.build();
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/create/SyncCreateSetCredentialsProvider.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/create/SyncCreateSetCredentialsProvider.java
index 0a9437887915..810d5455b67e 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/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
     TenantServiceSettings tenantServiceSettings =
         TenantServiceSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/create/SyncCreateSetCredentialsProvider1.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/create/SyncCreateSetCredentialsProvider1.java
index d3c730119e2c..41bf04fad208 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/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
     TenantServiceSettings tenantServiceSettings =
         TenantServiceSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/create/SyncCreateSetEndpoint.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/create/SyncCreateSetEndpoint.java
index e7b2bbfc5b40..e791a8af6753 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/create/SyncCreateSetEndpoint.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/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
     TenantServiceSettings tenantServiceSettings =
         TenantServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
     TenantServiceClient tenantServiceClient = TenantServiceClient.create(tenantServiceSettings);
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/createtenant/AsyncCreateTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/createtenant/AsyncCreateTenant.java
index aea74d50bb68..4c0e11ae2658 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/createtenant/AsyncCreateTenant.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/createtenant/AsyncCreateTenant.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateTenant() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
       CreateTenantRequest request =
           CreateTenantRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/createtenant/SyncCreateTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/createtenant/SyncCreateTenant.java
index 7135a821f763..07447cd64b29 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/createtenant/SyncCreateTenant.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/createtenant/SyncCreateTenant.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateTenant() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
       CreateTenantRequest request =
           CreateTenantRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/createtenant/SyncCreateTenantProjectnameTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/createtenant/SyncCreateTenantProjectnameTenant.java
index 0e515957c0da..111195830d2c 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/createtenant/SyncCreateTenantProjectnameTenant.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/createtenant/SyncCreateTenantProjectnameTenant.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateTenantProjectnameTenant() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
       ProjectName parent = ProjectName.of("[PROJECT]");
       Tenant tenant = Tenant.newBuilder().build();
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/createtenant/SyncCreateTenantStringTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/createtenant/SyncCreateTenantStringTenant.java
index a97fa9f9b1c3..15130889c8d9 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/createtenant/SyncCreateTenantStringTenant.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/createtenant/SyncCreateTenantStringTenant.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateTenantStringTenant() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
       String parent = ProjectName.of("[PROJECT]").toString();
       Tenant tenant = Tenant.newBuilder().build();
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/deletetenant/AsyncDeleteTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/deletetenant/AsyncDeleteTenant.java
index 6e01d958d8c9..7b0ad1ce99cb 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/deletetenant/AsyncDeleteTenant.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/deletetenant/AsyncDeleteTenant.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteTenant() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
       DeleteTenantRequest request =
           DeleteTenantRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/deletetenant/SyncDeleteTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/deletetenant/SyncDeleteTenant.java
index 24d217cdc12b..bd63418dfcc7 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/deletetenant/SyncDeleteTenant.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/deletetenant/SyncDeleteTenant.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteTenant() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
       DeleteTenantRequest request =
           DeleteTenantRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/deletetenant/SyncDeleteTenantString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/deletetenant/SyncDeleteTenantString.java
index 4c47f182f932..fbd486a4f3a5 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/deletetenant/SyncDeleteTenantString.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/deletetenant/SyncDeleteTenantString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteTenantString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
       String name = TenantName.of("[PROJECT]", "[TENANT]").toString();
       tenantServiceClient.deleteTenant(name);
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/deletetenant/SyncDeleteTenantTenantname.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/deletetenant/SyncDeleteTenantTenantname.java
index bcdbe723cb74..fbf592119d41 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/deletetenant/SyncDeleteTenantTenantname.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/deletetenant/SyncDeleteTenantTenantname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteTenantTenantname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
       TenantName name = TenantName.of("[PROJECT]", "[TENANT]");
       tenantServiceClient.deleteTenant(name);
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/gettenant/AsyncGetTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/gettenant/AsyncGetTenant.java
index cc24ad80f9c9..62db592ea490 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/gettenant/AsyncGetTenant.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/gettenant/AsyncGetTenant.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetTenant() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
       GetTenantRequest request =
           GetTenantRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/gettenant/SyncGetTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/gettenant/SyncGetTenant.java
index d280744e9d1e..176b34f65bf5 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/gettenant/SyncGetTenant.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/gettenant/SyncGetTenant.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetTenant() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
       GetTenantRequest request =
           GetTenantRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/gettenant/SyncGetTenantString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/gettenant/SyncGetTenantString.java
index d5075a441bcd..895b542b3be1 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/gettenant/SyncGetTenantString.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/gettenant/SyncGetTenantString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetTenantString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
       String name = TenantName.of("[PROJECT]", "[TENANT]").toString();
       Tenant response = tenantServiceClient.getTenant(name);
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/gettenant/SyncGetTenantTenantname.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/gettenant/SyncGetTenantTenantname.java
index 40700c52ade0..1a88ce88eac7 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/gettenant/SyncGetTenantTenantname.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/gettenant/SyncGetTenantTenantname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetTenantTenantname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
       TenantName name = TenantName.of("[PROJECT]", "[TENANT]");
       Tenant response = tenantServiceClient.getTenant(name);
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/listtenants/AsyncListTenants.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/listtenants/AsyncListTenants.java
index 8ef2016e68ce..35d7128fbe5e 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/listtenants/AsyncListTenants.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/listtenants/AsyncListTenants.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListTenants() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
       ListTenantsRequest request =
           ListTenantsRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/listtenants/AsyncListTenantsPaged.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/listtenants/AsyncListTenantsPaged.java
index c504197238eb..f7e299d8b4d5 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/listtenants/AsyncListTenantsPaged.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/listtenants/AsyncListTenantsPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListTenantsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
       ListTenantsRequest request =
           ListTenantsRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/listtenants/SyncListTenants.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/listtenants/SyncListTenants.java
index 93ba0be0a5f7..14ea2dce76fe 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/listtenants/SyncListTenants.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/listtenants/SyncListTenants.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListTenants() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
       ListTenantsRequest request =
           ListTenantsRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/listtenants/SyncListTenantsProjectname.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/listtenants/SyncListTenantsProjectname.java
index 3c66852e068c..55c6af424465 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/listtenants/SyncListTenantsProjectname.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/listtenants/SyncListTenantsProjectname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListTenantsProjectname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
       ProjectName parent = ProjectName.of("[PROJECT]");
       for (Tenant element : tenantServiceClient.listTenants(parent).iterateAll()) {
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/listtenants/SyncListTenantsString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/listtenants/SyncListTenantsString.java
index f04b7f4c61e2..2c9666688084 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/listtenants/SyncListTenantsString.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/listtenants/SyncListTenantsString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListTenantsString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
       String parent = ProjectName.of("[PROJECT]").toString();
       for (Tenant element : tenantServiceClient.listTenants(parent).iterateAll()) {
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/updatetenant/AsyncUpdateTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/updatetenant/AsyncUpdateTenant.java
index 8eebf6af8131..447f225c7f49 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/updatetenant/AsyncUpdateTenant.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/updatetenant/AsyncUpdateTenant.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateTenant() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
       UpdateTenantRequest request =
           UpdateTenantRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/updatetenant/SyncUpdateTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/updatetenant/SyncUpdateTenant.java
index f0ed73c0e68d..ff50a33c1edc 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/updatetenant/SyncUpdateTenant.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/updatetenant/SyncUpdateTenant.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateTenant() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
       UpdateTenantRequest request =
           UpdateTenantRequest.newBuilder()
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/updatetenant/SyncUpdateTenantTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/updatetenant/SyncUpdateTenantTenant.java
index 3f7000fbab66..722ec2fe62f4 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/updatetenant/SyncUpdateTenantTenant.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantserviceclient/updatetenant/SyncUpdateTenantTenant.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateTenantTenant() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
       Tenant tenant = Tenant.newBuilder().build();
       Tenant response = tenantServiceClient.updateTenant(tenant);
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservicesettings/createtenant/SyncCreateTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservicesettings/createtenant/SyncCreateTenant.java
index 184ec944e177..d700f9a75715 100644
--- a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservicesettings/createtenant/SyncCreateTenant.java
+++ b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservicesettings/createtenant/SyncCreateTenant.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateTenant() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     TenantServiceSettings.Builder tenantServiceSettingsBuilder = TenantServiceSettings.newBuilder();
     tenantServiceSettingsBuilder
         .createTenantSettings()
         .setRetrySettings(
-            tenantServiceSettingsBuilder
-                .createTenantSettings()
-                .getRetrySettings()
-                .toBuilder()
+            tenantServiceSettingsBuilder.createTenantSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     TenantServiceSettings tenantServiceSettings = tenantServiceSettingsBuilder.build();