diff --git a/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsClient.java b/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsClient.java index f2eb79a2f7c8..eeadafabb459 100644 --- a/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsClient.java +++ b/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsClient.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 (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
  *   String name = "name3373707";
  *   Environment response = environmentsClient.getEnvironment(name);
@@ -84,8 +87,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
  * EnvironmentsSettings environmentsSettings =
  *     EnvironmentsSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -96,8 +102,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
  * EnvironmentsSettings environmentsSettings =
  *     EnvironmentsSettings.newBuilder().setEndpoint(myEndpoint).build();
  * EnvironmentsClient environmentsClient = EnvironmentsClient.create(environmentsSettings);
@@ -107,8 +116,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
  * EnvironmentsSettings environmentsSettings =
  *     EnvironmentsSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -200,8 +212,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 (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
    *   String parent = "parent-995424086";
    *   Environment environment = Environment.newBuilder().build();
@@ -227,8 +242,11 @@ public final OperationFuture createEnvironmentAs
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
    *   String name = "name3373707";
    *   Environment response = environmentsClient.getEnvironment(name);
@@ -331,8 +358,11 @@ public final Environment getEnvironment(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 (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
    *   GetEnvironmentRequest request =
    *       GetEnvironmentRequest.newBuilder().setName("name3373707").build();
@@ -354,8 +384,11 @@ public final Environment getEnvironment(GetEnvironmentRequest 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 (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
    *   GetEnvironmentRequest request =
    *       GetEnvironmentRequest.newBuilder().setName("name3373707").build();
@@ -377,8 +410,11 @@ public final UnaryCallable getEnvironmentCal
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
    *   String parent = "parent-995424086";
    *   for (Environment element : environmentsClient.listEnvironments(parent).iterateAll()) {
@@ -404,8 +440,11 @@ public final ListEnvironmentsPagedResponse listEnvironments(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 (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
    *   ListEnvironmentsRequest request =
    *       ListEnvironmentsRequest.newBuilder()
@@ -433,8 +472,11 @@ public final ListEnvironmentsPagedResponse listEnvironments(ListEnvironmentsRequ
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
    *   DeleteEnvironmentRequest request =
    *       DeleteEnvironmentRequest.newBuilder().setName("name3373707").build();
diff --git a/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsSettings.java b/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsSettings.java
index 7cd32cb7ac54..5f96bf9a4c57 100644
--- a/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsSettings.java
+++ b/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsSettings.java
@@ -56,16 +56,16 @@
  * 

For example, to set the total timeout of getEnvironment 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
  * EnvironmentsSettings.Builder environmentsSettingsBuilder = EnvironmentsSettings.newBuilder();
  * environmentsSettingsBuilder
  *     .getEnvironmentSettings()
  *     .setRetrySettings(
- *         environmentsSettingsBuilder
- *             .getEnvironmentSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         environmentsSettingsBuilder.getEnvironmentSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * EnvironmentsSettings environmentsSettings = environmentsSettingsBuilder.build();
diff --git a/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsClient.java b/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsClient.java
index d139399ebf50..f31421ca86f4 100644
--- a/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsClient.java
+++ b/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsClient.java
@@ -40,8 +40,11 @@
  * calls that map to API methods. Sample code to get started:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (ImageVersionsClient imageVersionsClient = ImageVersionsClient.create()) {
  *   String parent = "parent-995424086";
  *   for (ImageVersion element : imageVersionsClient.listImageVersions(parent).iterateAll()) {
@@ -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
  * ImageVersionsSettings imageVersionsSettings =
  *     ImageVersionsSettings.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
  * ImageVersionsSettings imageVersionsSettings =
  *     ImageVersionsSettings.newBuilder().setEndpoint(myEndpoint).build();
  * ImageVersionsClient imageVersionsClient = ImageVersionsClient.create(imageVersionsSettings);
@@ -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
  * ImageVersionsSettings imageVersionsSettings =
  *     ImageVersionsSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -171,8 +183,11 @@ public ImageVersionsStub 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 (ImageVersionsClient imageVersionsClient = ImageVersionsClient.create()) {
    *   String parent = "parent-995424086";
    *   for (ImageVersion element : imageVersionsClient.listImageVersions(parent).iterateAll()) {
@@ -198,8 +213,11 @@ public final ListImageVersionsPagedResponse listImageVersions(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 (ImageVersionsClient imageVersionsClient = ImageVersionsClient.create()) {
    *   ListImageVersionsRequest request =
    *       ListImageVersionsRequest.newBuilder()
@@ -228,8 +246,11 @@ public final ListImageVersionsPagedResponse listImageVersions(ListImageVersionsR
    * 

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ImageVersionsClient imageVersionsClient = ImageVersionsClient.create()) {
    *   ListImageVersionsRequest request =
    *       ListImageVersionsRequest.newBuilder()
diff --git a/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsSettings.java b/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsSettings.java
index 6cbe1752030c..cd9565a75888 100644
--- a/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsSettings.java
+++ b/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsSettings.java
@@ -53,16 +53,16 @@
  * 

For example, to set the total timeout of listImageVersions 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
  * ImageVersionsSettings.Builder imageVersionsSettingsBuilder = ImageVersionsSettings.newBuilder();
  * imageVersionsSettingsBuilder
  *     .listImageVersionsSettings()
  *     .setRetrySettings(
- *         imageVersionsSettingsBuilder
- *             .listImageVersionsSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         imageVersionsSettingsBuilder.listImageVersionsSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * ImageVersionsSettings imageVersionsSettings = imageVersionsSettingsBuilder.build();
diff --git a/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/package-info.java b/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/package-info.java
index e9a9071e5741..3bbc40a5c0bf 100644
--- a/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/package-info.java
+++ b/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/package-info.java
@@ -24,8 +24,11 @@
  * 

Sample for EnvironmentsClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
  *   String name = "name3373707";
  *   Environment response = environmentsClient.getEnvironment(name);
@@ -39,8 +42,11 @@
  * 

Sample for ImageVersionsClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (ImageVersionsClient imageVersionsClient = ImageVersionsClient.create()) {
  *   String parent = "parent-995424086";
  *   for (ImageVersion element : imageVersionsClient.listImageVersions(parent).iterateAll()) {
diff --git a/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/EnvironmentsStubSettings.java b/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/EnvironmentsStubSettings.java
index 4a669abb58b2..93e64be4fe5b 100644
--- a/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/EnvironmentsStubSettings.java
+++ b/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/EnvironmentsStubSettings.java
@@ -84,17 +84,17 @@
  * 

For example, to set the total timeout of getEnvironment 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
  * EnvironmentsStubSettings.Builder environmentsSettingsBuilder =
  *     EnvironmentsStubSettings.newBuilder();
  * environmentsSettingsBuilder
  *     .getEnvironmentSettings()
  *     .setRetrySettings(
- *         environmentsSettingsBuilder
- *             .getEnvironmentSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         environmentsSettingsBuilder.getEnvironmentSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * EnvironmentsStubSettings environmentsSettings = environmentsSettingsBuilder.build();
diff --git a/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/HttpJsonEnvironmentsStub.java b/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/HttpJsonEnvironmentsStub.java
index 08dfe2b2a1db..2747eec76577 100644
--- a/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/HttpJsonEnvironmentsStub.java
+++ b/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/HttpJsonEnvironmentsStub.java
@@ -96,7 +96,7 @@ public class HttpJsonEnvironmentsStub extends EnvironmentsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("environment", request.getEnvironment()))
+                                  .toBody("environment", request.getEnvironment(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -207,7 +207,7 @@ public class HttpJsonEnvironmentsStub extends EnvironmentsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("environment", request.getEnvironment()))
+                                  .toBody("environment", request.getEnvironment(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/ImageVersionsStubSettings.java b/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/ImageVersionsStubSettings.java
index 471d4b9f1018..c978c67c9b79 100644
--- a/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/ImageVersionsStubSettings.java
+++ b/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/ImageVersionsStubSettings.java
@@ -72,17 +72,17 @@
  * 

For example, to set the total timeout of listImageVersions 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
  * ImageVersionsStubSettings.Builder imageVersionsSettingsBuilder =
  *     ImageVersionsStubSettings.newBuilder();
  * imageVersionsSettingsBuilder
  *     .listImageVersionsSettings()
  *     .setRetrySettings(
- *         imageVersionsSettingsBuilder
- *             .listImageVersionsSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         imageVersionsSettingsBuilder.listImageVersionsSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * ImageVersionsStubSettings imageVersionsSettings = imageVersionsSettingsBuilder.build();
diff --git a/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsClient.java b/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsClient.java
index 4b68059b4e9b..661e80a8a127 100644
--- a/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsClient.java
+++ b/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsClient.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 (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
  *   String name = "name3373707";
  *   Environment response = environmentsClient.getEnvironment(name);
@@ -84,8 +87,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
  * EnvironmentsSettings environmentsSettings =
  *     EnvironmentsSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -96,8 +102,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
  * EnvironmentsSettings environmentsSettings =
  *     EnvironmentsSettings.newBuilder().setEndpoint(myEndpoint).build();
  * EnvironmentsClient environmentsClient = EnvironmentsClient.create(environmentsSettings);
@@ -107,8 +116,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
  * EnvironmentsSettings environmentsSettings =
  *     EnvironmentsSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -201,8 +213,11 @@ public final OperationsClient getHttpJsonOperationsClient() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
    *   String parent = "parent-995424086";
    *   Environment environment = Environment.newBuilder().build();
@@ -228,8 +243,11 @@ public final OperationFuture createEnvironmentAs
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
    *   String name = "name3373707";
    *   Environment response = environmentsClient.getEnvironment(name);
@@ -332,8 +359,11 @@ public final Environment getEnvironment(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 (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
    *   GetEnvironmentRequest request =
    *       GetEnvironmentRequest.newBuilder().setName("name3373707").build();
@@ -355,8 +385,11 @@ public final Environment getEnvironment(GetEnvironmentRequest 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 (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
    *   GetEnvironmentRequest request =
    *       GetEnvironmentRequest.newBuilder().setName("name3373707").build();
@@ -378,8 +411,11 @@ public final UnaryCallable getEnvironmentCal
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
    *   String parent = "parent-995424086";
    *   for (Environment element : environmentsClient.listEnvironments(parent).iterateAll()) {
@@ -405,8 +441,11 @@ public final ListEnvironmentsPagedResponse listEnvironments(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 (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
    *   ListEnvironmentsRequest request =
    *       ListEnvironmentsRequest.newBuilder()
@@ -434,8 +473,11 @@ public final ListEnvironmentsPagedResponse listEnvironments(ListEnvironmentsRequ
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
    *   CheckUpgradeRequest request =
    *       CheckUpgradeRequest.newBuilder()
diff --git a/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsSettings.java b/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsSettings.java
index 4a6853e6c051..870374310341 100644
--- a/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsSettings.java
+++ b/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsSettings.java
@@ -56,16 +56,16 @@
  * 

For example, to set the total timeout of getEnvironment 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
  * EnvironmentsSettings.Builder environmentsSettingsBuilder = EnvironmentsSettings.newBuilder();
  * environmentsSettingsBuilder
  *     .getEnvironmentSettings()
  *     .setRetrySettings(
- *         environmentsSettingsBuilder
- *             .getEnvironmentSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         environmentsSettingsBuilder.getEnvironmentSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * EnvironmentsSettings environmentsSettings = environmentsSettingsBuilder.build();
diff --git a/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsClient.java b/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsClient.java
index 41fa3219fed5..6d746070e4bd 100644
--- a/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsClient.java
+++ b/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsClient.java
@@ -41,8 +41,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 (ImageVersionsClient imageVersionsClient = ImageVersionsClient.create()) {
  *   String parent = "parent-995424086";
  *   for (ImageVersion element : imageVersionsClient.listImageVersions(parent).iterateAll()) {
@@ -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
  * ImageVersionsSettings imageVersionsSettings =
  *     ImageVersionsSettings.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
  * ImageVersionsSettings imageVersionsSettings =
  *     ImageVersionsSettings.newBuilder().setEndpoint(myEndpoint).build();
  * ImageVersionsClient imageVersionsClient = ImageVersionsClient.create(imageVersionsSettings);
@@ -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
  * ImageVersionsSettings imageVersionsSettings =
  *     ImageVersionsSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -173,8 +185,11 @@ public ImageVersionsStub 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 (ImageVersionsClient imageVersionsClient = ImageVersionsClient.create()) {
    *   String parent = "parent-995424086";
    *   for (ImageVersion element : imageVersionsClient.listImageVersions(parent).iterateAll()) {
@@ -200,8 +215,11 @@ public final ListImageVersionsPagedResponse listImageVersions(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 (ImageVersionsClient imageVersionsClient = ImageVersionsClient.create()) {
    *   ListImageVersionsRequest request =
    *       ListImageVersionsRequest.newBuilder()
@@ -230,8 +248,11 @@ public final ListImageVersionsPagedResponse listImageVersions(ListImageVersionsR
    * 

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ImageVersionsClient imageVersionsClient = ImageVersionsClient.create()) {
    *   ListImageVersionsRequest request =
    *       ListImageVersionsRequest.newBuilder()
diff --git a/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsSettings.java b/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsSettings.java
index 603a04713479..6ecaa0f4a22c 100644
--- a/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsSettings.java
+++ b/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsSettings.java
@@ -53,16 +53,16 @@
  * 

For example, to set the total timeout of listImageVersions 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
  * ImageVersionsSettings.Builder imageVersionsSettingsBuilder = ImageVersionsSettings.newBuilder();
  * imageVersionsSettingsBuilder
  *     .listImageVersionsSettings()
  *     .setRetrySettings(
- *         imageVersionsSettingsBuilder
- *             .listImageVersionsSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         imageVersionsSettingsBuilder.listImageVersionsSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * ImageVersionsSettings imageVersionsSettings = imageVersionsSettingsBuilder.build();
diff --git a/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/package-info.java b/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/package-info.java
index 82ad66146192..fdc25df7f9c4 100644
--- a/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/package-info.java
+++ b/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/package-info.java
@@ -24,8 +24,11 @@
  * 

Sample for EnvironmentsClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
  *   String name = "name3373707";
  *   Environment response = environmentsClient.getEnvironment(name);
@@ -39,8 +42,11 @@
  * 

Sample for ImageVersionsClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (ImageVersionsClient imageVersionsClient = ImageVersionsClient.create()) {
  *   String parent = "parent-995424086";
  *   for (ImageVersion element : imageVersionsClient.listImageVersions(parent).iterateAll()) {
diff --git a/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/EnvironmentsStubSettings.java b/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/EnvironmentsStubSettings.java
index 60e39592d948..85f22d92ac6e 100644
--- a/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/EnvironmentsStubSettings.java
+++ b/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/EnvironmentsStubSettings.java
@@ -87,17 +87,17 @@
  * 

For example, to set the total timeout of getEnvironment 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
  * EnvironmentsStubSettings.Builder environmentsSettingsBuilder =
  *     EnvironmentsStubSettings.newBuilder();
  * environmentsSettingsBuilder
  *     .getEnvironmentSettings()
  *     .setRetrySettings(
- *         environmentsSettingsBuilder
- *             .getEnvironmentSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         environmentsSettingsBuilder.getEnvironmentSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * EnvironmentsStubSettings environmentsSettings = environmentsSettingsBuilder.build();
diff --git a/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/HttpJsonEnvironmentsStub.java b/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/HttpJsonEnvironmentsStub.java
index f6a7b56cc890..ca658d3698e6 100644
--- a/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/HttpJsonEnvironmentsStub.java
+++ b/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/HttpJsonEnvironmentsStub.java
@@ -100,7 +100,7 @@ public class HttpJsonEnvironmentsStub extends EnvironmentsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("environment", request.getEnvironment()))
+                                  .toBody("environment", request.getEnvironment(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -211,7 +211,7 @@ public class HttpJsonEnvironmentsStub extends EnvironmentsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("environment", request.getEnvironment()))
+                                  .toBody("environment", request.getEnvironment(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -288,7 +288,7 @@ public class HttpJsonEnvironmentsStub extends EnvironmentsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearName().build()))
+                                  .toBody("*", request.toBuilder().clearName().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -329,7 +329,8 @@ public class HttpJsonEnvironmentsStub extends EnvironmentsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearEnvironment().build()))
+                                  .toBody(
+                                      "*", request.toBuilder().clearEnvironment().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/ImageVersionsStubSettings.java b/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/ImageVersionsStubSettings.java
index 1d99cd924d62..e6acd116f992 100644
--- a/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/ImageVersionsStubSettings.java
+++ b/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/ImageVersionsStubSettings.java
@@ -72,17 +72,17 @@
  * 

For example, to set the total timeout of listImageVersions 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
  * ImageVersionsStubSettings.Builder imageVersionsSettingsBuilder =
  *     ImageVersionsStubSettings.newBuilder();
  * imageVersionsSettingsBuilder
  *     .listImageVersionsSettings()
  *     .setRetrySettings(
- *         imageVersionsSettingsBuilder
- *             .listImageVersionsSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         imageVersionsSettingsBuilder.listImageVersionsSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * ImageVersionsStubSettings imageVersionsSettings = imageVersionsSettingsBuilder.build();
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/create/SyncCreateSetCredentialsProvider.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/create/SyncCreateSetCredentialsProvider.java
index 97a6844dece1..690763a1446a 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/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
     EnvironmentsSettings environmentsSettings =
         EnvironmentsSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/create/SyncCreateSetCredentialsProvider1.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/create/SyncCreateSetCredentialsProvider1.java
index 7b5352ea2fb3..7e3347850af7 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/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
     EnvironmentsSettings environmentsSettings =
         EnvironmentsSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/create/SyncCreateSetEndpoint.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/create/SyncCreateSetEndpoint.java
index 2af5acdf40a8..8daccfc69aa3 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/create/SyncCreateSetEndpoint.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/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
     EnvironmentsSettings environmentsSettings =
         EnvironmentsSettings.newBuilder().setEndpoint(myEndpoint).build();
     EnvironmentsClient environmentsClient = EnvironmentsClient.create(environmentsSettings);
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/createenvironment/AsyncCreateEnvironment.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/createenvironment/AsyncCreateEnvironment.java
index 18264e2c3f94..981a97af03c2 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/createenvironment/AsyncCreateEnvironment.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/createenvironment/AsyncCreateEnvironment.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateEnvironment() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
       CreateEnvironmentRequest request =
           CreateEnvironmentRequest.newBuilder()
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/createenvironment/AsyncCreateEnvironmentLRO.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/createenvironment/AsyncCreateEnvironmentLRO.java
index da6fe42552a3..dccf9267afc0 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/createenvironment/AsyncCreateEnvironmentLRO.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/createenvironment/AsyncCreateEnvironmentLRO.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateEnvironmentLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
       CreateEnvironmentRequest request =
           CreateEnvironmentRequest.newBuilder()
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/createenvironment/SyncCreateEnvironment.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/createenvironment/SyncCreateEnvironment.java
index 61a8cfe33656..52d136433d33 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/createenvironment/SyncCreateEnvironment.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/createenvironment/SyncCreateEnvironment.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateEnvironment() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
       CreateEnvironmentRequest request =
           CreateEnvironmentRequest.newBuilder()
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/createenvironment/SyncCreateEnvironmentStringEnvironment.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/createenvironment/SyncCreateEnvironmentStringEnvironment.java
index 101f95a654d3..ed175dcea1c0 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/createenvironment/SyncCreateEnvironmentStringEnvironment.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/createenvironment/SyncCreateEnvironmentStringEnvironment.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateEnvironmentStringEnvironment() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
       String parent = "parent-995424086";
       Environment environment = Environment.newBuilder().build();
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/AsyncDeleteEnvironment.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/AsyncDeleteEnvironment.java
index 3555647bc619..6fc81a23ccc4 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/AsyncDeleteEnvironment.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/AsyncDeleteEnvironment.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteEnvironment() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
       DeleteEnvironmentRequest request =
           DeleteEnvironmentRequest.newBuilder().setName("name3373707").build();
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/AsyncDeleteEnvironmentLRO.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/AsyncDeleteEnvironmentLRO.java
index 9d0c9627e791..f2c65147495d 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/AsyncDeleteEnvironmentLRO.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/AsyncDeleteEnvironmentLRO.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteEnvironmentLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
       DeleteEnvironmentRequest request =
           DeleteEnvironmentRequest.newBuilder().setName("name3373707").build();
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/SyncDeleteEnvironment.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/SyncDeleteEnvironment.java
index ea8a6244314b..88a6e575bb43 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/SyncDeleteEnvironment.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/SyncDeleteEnvironment.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteEnvironment() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
       DeleteEnvironmentRequest request =
           DeleteEnvironmentRequest.newBuilder().setName("name3373707").build();
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/SyncDeleteEnvironmentString.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/SyncDeleteEnvironmentString.java
index 101560091193..3fae21967a07 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/SyncDeleteEnvironmentString.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/SyncDeleteEnvironmentString.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteEnvironmentString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
       String name = "name3373707";
       environmentsClient.deleteEnvironmentAsync(name).get();
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/getenvironment/AsyncGetEnvironment.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/getenvironment/AsyncGetEnvironment.java
index 561f76296c54..80d43d6aba9c 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/getenvironment/AsyncGetEnvironment.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/getenvironment/AsyncGetEnvironment.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetEnvironment() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
       GetEnvironmentRequest request =
           GetEnvironmentRequest.newBuilder().setName("name3373707").build();
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/getenvironment/SyncGetEnvironment.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/getenvironment/SyncGetEnvironment.java
index cf097e5967df..d4006db4c9b4 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/getenvironment/SyncGetEnvironment.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/getenvironment/SyncGetEnvironment.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetEnvironment() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
       GetEnvironmentRequest request =
           GetEnvironmentRequest.newBuilder().setName("name3373707").build();
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/getenvironment/SyncGetEnvironmentString.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/getenvironment/SyncGetEnvironmentString.java
index dc1b426f15a7..5492b5526cc8 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/getenvironment/SyncGetEnvironmentString.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/getenvironment/SyncGetEnvironmentString.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetEnvironmentString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
       String name = "name3373707";
       Environment response = environmentsClient.getEnvironment(name);
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/listenvironments/AsyncListEnvironments.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/listenvironments/AsyncListEnvironments.java
index 6d44a0589efc..47785d09f7a7 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/listenvironments/AsyncListEnvironments.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/listenvironments/AsyncListEnvironments.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListEnvironments() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
       ListEnvironmentsRequest request =
           ListEnvironmentsRequest.newBuilder()
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/listenvironments/AsyncListEnvironmentsPaged.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/listenvironments/AsyncListEnvironmentsPaged.java
index da5a5c91965b..e6366b09a106 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/listenvironments/AsyncListEnvironmentsPaged.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/listenvironments/AsyncListEnvironmentsPaged.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListEnvironmentsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
       ListEnvironmentsRequest request =
           ListEnvironmentsRequest.newBuilder()
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/listenvironments/SyncListEnvironments.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/listenvironments/SyncListEnvironments.java
index af81ba09510d..a5f7f5539326 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/listenvironments/SyncListEnvironments.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/listenvironments/SyncListEnvironments.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListEnvironments() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
       ListEnvironmentsRequest request =
           ListEnvironmentsRequest.newBuilder()
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/listenvironments/SyncListEnvironmentsString.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/listenvironments/SyncListEnvironmentsString.java
index aa9e52694261..5d7b9f1f2505 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/listenvironments/SyncListEnvironmentsString.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/listenvironments/SyncListEnvironmentsString.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListEnvironmentsString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
       String parent = "parent-995424086";
       for (Environment element : environmentsClient.listEnvironments(parent).iterateAll()) {
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/updateenvironment/AsyncUpdateEnvironment.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/updateenvironment/AsyncUpdateEnvironment.java
index 97616cd88efd..bdef6867a8a6 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/updateenvironment/AsyncUpdateEnvironment.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/updateenvironment/AsyncUpdateEnvironment.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateEnvironment() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
       UpdateEnvironmentRequest request =
           UpdateEnvironmentRequest.newBuilder()
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/updateenvironment/AsyncUpdateEnvironmentLRO.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/updateenvironment/AsyncUpdateEnvironmentLRO.java
index e32431c35943..afdc90d953b8 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/updateenvironment/AsyncUpdateEnvironmentLRO.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/updateenvironment/AsyncUpdateEnvironmentLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateEnvironmentLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
       UpdateEnvironmentRequest request =
           UpdateEnvironmentRequest.newBuilder()
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/updateenvironment/SyncUpdateEnvironment.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/updateenvironment/SyncUpdateEnvironment.java
index c532d6429552..7c7182bdd454 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/updateenvironment/SyncUpdateEnvironment.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/updateenvironment/SyncUpdateEnvironment.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateEnvironment() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
       UpdateEnvironmentRequest request =
           UpdateEnvironmentRequest.newBuilder()
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/updateenvironment/SyncUpdateEnvironmentStringEnvironmentFieldmask.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/updateenvironment/SyncUpdateEnvironmentStringEnvironmentFieldmask.java
index 275762a32ef1..14854417d310 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/updateenvironment/SyncUpdateEnvironmentStringEnvironmentFieldmask.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/updateenvironment/SyncUpdateEnvironmentStringEnvironmentFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateEnvironmentStringEnvironmentFieldmask() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
       String name = "name3373707";
       Environment environment = Environment.newBuilder().build();
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentssettings/getenvironment/SyncGetEnvironment.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentssettings/getenvironment/SyncGetEnvironment.java
index 9e54217b6b5f..0ca3b3e87073 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentssettings/getenvironment/SyncGetEnvironment.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentssettings/getenvironment/SyncGetEnvironment.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetEnvironment() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     EnvironmentsSettings.Builder environmentsSettingsBuilder = EnvironmentsSettings.newBuilder();
     environmentsSettingsBuilder
         .getEnvironmentSettings()
         .setRetrySettings(
-            environmentsSettingsBuilder
-                .getEnvironmentSettings()
-                .getRetrySettings()
-                .toBuilder()
+            environmentsSettingsBuilder.getEnvironmentSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     EnvironmentsSettings environmentsSettings = environmentsSettingsBuilder.build();
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/create/SyncCreateSetCredentialsProvider.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/create/SyncCreateSetCredentialsProvider.java
index 23b27f63394a..18995a5d2242 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/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
     ImageVersionsSettings imageVersionsSettings =
         ImageVersionsSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/create/SyncCreateSetCredentialsProvider1.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/create/SyncCreateSetCredentialsProvider1.java
index 117998b16244..37732f7d7071 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/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
     ImageVersionsSettings imageVersionsSettings =
         ImageVersionsSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/create/SyncCreateSetEndpoint.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/create/SyncCreateSetEndpoint.java
index 039a87ca8b84..f71754035b38 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/create/SyncCreateSetEndpoint.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/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
     ImageVersionsSettings imageVersionsSettings =
         ImageVersionsSettings.newBuilder().setEndpoint(myEndpoint).build();
     ImageVersionsClient imageVersionsClient = ImageVersionsClient.create(imageVersionsSettings);
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/listimageversions/AsyncListImageVersions.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/listimageversions/AsyncListImageVersions.java
index e84129ab920b..0a2b8e0b059c 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/listimageversions/AsyncListImageVersions.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/listimageversions/AsyncListImageVersions.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListImageVersions() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ImageVersionsClient imageVersionsClient = ImageVersionsClient.create()) {
       ListImageVersionsRequest request =
           ListImageVersionsRequest.newBuilder()
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/listimageversions/AsyncListImageVersionsPaged.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/listimageversions/AsyncListImageVersionsPaged.java
index da081f878ebf..ce7f354cbfcc 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/listimageversions/AsyncListImageVersionsPaged.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/listimageversions/AsyncListImageVersionsPaged.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListImageVersionsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ImageVersionsClient imageVersionsClient = ImageVersionsClient.create()) {
       ListImageVersionsRequest request =
           ListImageVersionsRequest.newBuilder()
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/listimageversions/SyncListImageVersions.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/listimageversions/SyncListImageVersions.java
index d6f93ee85652..01a677300849 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/listimageversions/SyncListImageVersions.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/listimageversions/SyncListImageVersions.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListImageVersions() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ImageVersionsClient imageVersionsClient = ImageVersionsClient.create()) {
       ListImageVersionsRequest request =
           ListImageVersionsRequest.newBuilder()
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/listimageversions/SyncListImageVersionsString.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/listimageversions/SyncListImageVersionsString.java
index 8467c09946c2..42a231cf8c85 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/listimageversions/SyncListImageVersionsString.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/listimageversions/SyncListImageVersionsString.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListImageVersionsString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ImageVersionsClient imageVersionsClient = ImageVersionsClient.create()) {
       String parent = "parent-995424086";
       for (ImageVersion element : imageVersionsClient.listImageVersions(parent).iterateAll()) {
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionssettings/listimageversions/SyncListImageVersions.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionssettings/listimageversions/SyncListImageVersions.java
index f1e17f90e253..c3be285cb91d 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionssettings/listimageversions/SyncListImageVersions.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionssettings/listimageversions/SyncListImageVersions.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListImageVersions() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     ImageVersionsSettings.Builder imageVersionsSettingsBuilder = ImageVersionsSettings.newBuilder();
     imageVersionsSettingsBuilder
         .listImageVersionsSettings()
         .setRetrySettings(
-            imageVersionsSettingsBuilder
-                .listImageVersionsSettings()
-                .getRetrySettings()
-                .toBuilder()
+            imageVersionsSettingsBuilder.listImageVersionsSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     ImageVersionsSettings imageVersionsSettings = imageVersionsSettingsBuilder.build();
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/stub/environmentsstubsettings/getenvironment/SyncGetEnvironment.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/stub/environmentsstubsettings/getenvironment/SyncGetEnvironment.java
index 38a0bcf864aa..c8a0488bef3e 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/stub/environmentsstubsettings/getenvironment/SyncGetEnvironment.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/stub/environmentsstubsettings/getenvironment/SyncGetEnvironment.java
@@ -27,17 +27,17 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetEnvironment() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     EnvironmentsStubSettings.Builder environmentsSettingsBuilder =
         EnvironmentsStubSettings.newBuilder();
     environmentsSettingsBuilder
         .getEnvironmentSettings()
         .setRetrySettings(
-            environmentsSettingsBuilder
-                .getEnvironmentSettings()
-                .getRetrySettings()
-                .toBuilder()
+            environmentsSettingsBuilder.getEnvironmentSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     EnvironmentsStubSettings environmentsSettings = environmentsSettingsBuilder.build();
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/stub/imageversionsstubsettings/listimageversions/SyncListImageVersions.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/stub/imageversionsstubsettings/listimageversions/SyncListImageVersions.java
index 536414a668f2..10f24aa93afe 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/stub/imageversionsstubsettings/listimageversions/SyncListImageVersions.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/stub/imageversionsstubsettings/listimageversions/SyncListImageVersions.java
@@ -27,17 +27,17 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListImageVersions() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     ImageVersionsStubSettings.Builder imageVersionsSettingsBuilder =
         ImageVersionsStubSettings.newBuilder();
     imageVersionsSettingsBuilder
         .listImageVersionsSettings()
         .setRetrySettings(
-            imageVersionsSettingsBuilder
-                .listImageVersionsSettings()
-                .getRetrySettings()
-                .toBuilder()
+            imageVersionsSettingsBuilder.listImageVersionsSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     ImageVersionsStubSettings imageVersionsSettings = imageVersionsSettingsBuilder.build();
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/checkupgrade/AsyncCheckUpgrade.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/checkupgrade/AsyncCheckUpgrade.java
index 566d466f34af..3057a9a97d3f 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/checkupgrade/AsyncCheckUpgrade.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/checkupgrade/AsyncCheckUpgrade.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCheckUpgrade() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
       CheckUpgradeRequest request =
           CheckUpgradeRequest.newBuilder()
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/checkupgrade/AsyncCheckUpgradeLRO.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/checkupgrade/AsyncCheckUpgradeLRO.java
index 1be01ef0315e..9bdc5c119ca6 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/checkupgrade/AsyncCheckUpgradeLRO.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/checkupgrade/AsyncCheckUpgradeLRO.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCheckUpgradeLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
       CheckUpgradeRequest request =
           CheckUpgradeRequest.newBuilder()
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/checkupgrade/SyncCheckUpgrade.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/checkupgrade/SyncCheckUpgrade.java
index 8d2de0a9d9b1..7ac6217bb076 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/checkupgrade/SyncCheckUpgrade.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/checkupgrade/SyncCheckUpgrade.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCheckUpgrade() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
       CheckUpgradeRequest request =
           CheckUpgradeRequest.newBuilder()
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/create/SyncCreateSetCredentialsProvider.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/create/SyncCreateSetCredentialsProvider.java
index 607981c66c3e..4205078aebab 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/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
     EnvironmentsSettings environmentsSettings =
         EnvironmentsSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/create/SyncCreateSetCredentialsProvider1.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/create/SyncCreateSetCredentialsProvider1.java
index 5e0e9e77c21c..ff21a566fe92 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/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
     EnvironmentsSettings environmentsSettings =
         EnvironmentsSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/create/SyncCreateSetEndpoint.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/create/SyncCreateSetEndpoint.java
index d27682a975c4..f61909dec1b9 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/create/SyncCreateSetEndpoint.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/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
     EnvironmentsSettings environmentsSettings =
         EnvironmentsSettings.newBuilder().setEndpoint(myEndpoint).build();
     EnvironmentsClient environmentsClient = EnvironmentsClient.create(environmentsSettings);
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/createenvironment/AsyncCreateEnvironment.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/createenvironment/AsyncCreateEnvironment.java
index f7a9662b38c6..5aba3482cabf 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/createenvironment/AsyncCreateEnvironment.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/createenvironment/AsyncCreateEnvironment.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateEnvironment() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
       CreateEnvironmentRequest request =
           CreateEnvironmentRequest.newBuilder()
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/createenvironment/AsyncCreateEnvironmentLRO.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/createenvironment/AsyncCreateEnvironmentLRO.java
index 7883c067dab0..5cf8b5189660 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/createenvironment/AsyncCreateEnvironmentLRO.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/createenvironment/AsyncCreateEnvironmentLRO.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateEnvironmentLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
       CreateEnvironmentRequest request =
           CreateEnvironmentRequest.newBuilder()
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/createenvironment/SyncCreateEnvironment.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/createenvironment/SyncCreateEnvironment.java
index af17ca88272f..13f9d0c2e468 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/createenvironment/SyncCreateEnvironment.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/createenvironment/SyncCreateEnvironment.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateEnvironment() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
       CreateEnvironmentRequest request =
           CreateEnvironmentRequest.newBuilder()
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/createenvironment/SyncCreateEnvironmentStringEnvironment.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/createenvironment/SyncCreateEnvironmentStringEnvironment.java
index b2f25eca7763..e70ab1af522d 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/createenvironment/SyncCreateEnvironmentStringEnvironment.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/createenvironment/SyncCreateEnvironmentStringEnvironment.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateEnvironmentStringEnvironment() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
       String parent = "parent-995424086";
       Environment environment = Environment.newBuilder().build();
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/AsyncDeleteEnvironment.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/AsyncDeleteEnvironment.java
index d0ecbf6bf825..02a0956eee8a 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/AsyncDeleteEnvironment.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/AsyncDeleteEnvironment.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteEnvironment() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
       DeleteEnvironmentRequest request =
           DeleteEnvironmentRequest.newBuilder().setName("name3373707").build();
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/AsyncDeleteEnvironmentLRO.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/AsyncDeleteEnvironmentLRO.java
index 36bc65bad7a6..f9d9734d9323 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/AsyncDeleteEnvironmentLRO.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/AsyncDeleteEnvironmentLRO.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteEnvironmentLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
       DeleteEnvironmentRequest request =
           DeleteEnvironmentRequest.newBuilder().setName("name3373707").build();
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/SyncDeleteEnvironment.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/SyncDeleteEnvironment.java
index c9efd7c485db..2282087d32ed 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/SyncDeleteEnvironment.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/SyncDeleteEnvironment.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteEnvironment() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
       DeleteEnvironmentRequest request =
           DeleteEnvironmentRequest.newBuilder().setName("name3373707").build();
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/SyncDeleteEnvironmentString.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/SyncDeleteEnvironmentString.java
index 5c1f21fe0b72..459fc7c21387 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/SyncDeleteEnvironmentString.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/SyncDeleteEnvironmentString.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteEnvironmentString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
       String name = "name3373707";
       environmentsClient.deleteEnvironmentAsync(name).get();
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/getenvironment/AsyncGetEnvironment.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/getenvironment/AsyncGetEnvironment.java
index ff2dd8dbe5f8..a8dd7d05d527 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/getenvironment/AsyncGetEnvironment.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/getenvironment/AsyncGetEnvironment.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetEnvironment() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
       GetEnvironmentRequest request =
           GetEnvironmentRequest.newBuilder().setName("name3373707").build();
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/getenvironment/SyncGetEnvironment.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/getenvironment/SyncGetEnvironment.java
index debe73bb548a..403ff81b7edc 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/getenvironment/SyncGetEnvironment.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/getenvironment/SyncGetEnvironment.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetEnvironment() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
       GetEnvironmentRequest request =
           GetEnvironmentRequest.newBuilder().setName("name3373707").build();
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/getenvironment/SyncGetEnvironmentString.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/getenvironment/SyncGetEnvironmentString.java
index 9a03faf98210..b6c5beff4c51 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/getenvironment/SyncGetEnvironmentString.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/getenvironment/SyncGetEnvironmentString.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetEnvironmentString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
       String name = "name3373707";
       Environment response = environmentsClient.getEnvironment(name);
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/listenvironments/AsyncListEnvironments.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/listenvironments/AsyncListEnvironments.java
index fa008d5b00cd..04272a403b13 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/listenvironments/AsyncListEnvironments.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/listenvironments/AsyncListEnvironments.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListEnvironments() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
       ListEnvironmentsRequest request =
           ListEnvironmentsRequest.newBuilder()
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/listenvironments/AsyncListEnvironmentsPaged.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/listenvironments/AsyncListEnvironmentsPaged.java
index 0757807f6f14..f10d336cef41 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/listenvironments/AsyncListEnvironmentsPaged.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/listenvironments/AsyncListEnvironmentsPaged.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListEnvironmentsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
       ListEnvironmentsRequest request =
           ListEnvironmentsRequest.newBuilder()
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/listenvironments/SyncListEnvironments.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/listenvironments/SyncListEnvironments.java
index bbe507c7a65f..b2e00b64adcc 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/listenvironments/SyncListEnvironments.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/listenvironments/SyncListEnvironments.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListEnvironments() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
       ListEnvironmentsRequest request =
           ListEnvironmentsRequest.newBuilder()
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/listenvironments/SyncListEnvironmentsString.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/listenvironments/SyncListEnvironmentsString.java
index 448494f4377b..8ba78cbf7ae1 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/listenvironments/SyncListEnvironmentsString.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/listenvironments/SyncListEnvironmentsString.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListEnvironmentsString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
       String parent = "parent-995424086";
       for (Environment element : environmentsClient.listEnvironments(parent).iterateAll()) {
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/restartwebserver/AsyncRestartWebServer.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/restartwebserver/AsyncRestartWebServer.java
index c847f54de786..f3353278497c 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/restartwebserver/AsyncRestartWebServer.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/restartwebserver/AsyncRestartWebServer.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncRestartWebServer() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
       RestartWebServerRequest request =
           RestartWebServerRequest.newBuilder().setName("name3373707").build();
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/restartwebserver/AsyncRestartWebServerLRO.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/restartwebserver/AsyncRestartWebServerLRO.java
index bcf54c7cc703..4e3f8f2f6f1f 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/restartwebserver/AsyncRestartWebServerLRO.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/restartwebserver/AsyncRestartWebServerLRO.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncRestartWebServerLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
       RestartWebServerRequest request =
           RestartWebServerRequest.newBuilder().setName("name3373707").build();
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/restartwebserver/SyncRestartWebServer.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/restartwebserver/SyncRestartWebServer.java
index 00cacdecefd4..db02f07feed8 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/restartwebserver/SyncRestartWebServer.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/restartwebserver/SyncRestartWebServer.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncRestartWebServer() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
       RestartWebServerRequest request =
           RestartWebServerRequest.newBuilder().setName("name3373707").build();
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/updateenvironment/AsyncUpdateEnvironment.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/updateenvironment/AsyncUpdateEnvironment.java
index 380839fc37e9..16b26a989bce 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/updateenvironment/AsyncUpdateEnvironment.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/updateenvironment/AsyncUpdateEnvironment.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateEnvironment() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
       UpdateEnvironmentRequest request =
           UpdateEnvironmentRequest.newBuilder()
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/updateenvironment/AsyncUpdateEnvironmentLRO.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/updateenvironment/AsyncUpdateEnvironmentLRO.java
index 4cb27d20f861..6ad75c3058d0 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/updateenvironment/AsyncUpdateEnvironmentLRO.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/updateenvironment/AsyncUpdateEnvironmentLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateEnvironmentLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
       UpdateEnvironmentRequest request =
           UpdateEnvironmentRequest.newBuilder()
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/updateenvironment/SyncUpdateEnvironment.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/updateenvironment/SyncUpdateEnvironment.java
index aa93408b4150..b5689456e346 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/updateenvironment/SyncUpdateEnvironment.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/updateenvironment/SyncUpdateEnvironment.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateEnvironment() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
       UpdateEnvironmentRequest request =
           UpdateEnvironmentRequest.newBuilder()
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/updateenvironment/SyncUpdateEnvironmentStringEnvironmentFieldmask.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/updateenvironment/SyncUpdateEnvironmentStringEnvironmentFieldmask.java
index f20455ddfe1f..acdc40eb64e2 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/updateenvironment/SyncUpdateEnvironmentStringEnvironmentFieldmask.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/updateenvironment/SyncUpdateEnvironmentStringEnvironmentFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateEnvironmentStringEnvironmentFieldmask() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
       String name = "name3373707";
       Environment environment = Environment.newBuilder().build();
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentssettings/getenvironment/SyncGetEnvironment.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentssettings/getenvironment/SyncGetEnvironment.java
index 3e9dc45013df..f3ba6118b7d8 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentssettings/getenvironment/SyncGetEnvironment.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentssettings/getenvironment/SyncGetEnvironment.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetEnvironment() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     EnvironmentsSettings.Builder environmentsSettingsBuilder = EnvironmentsSettings.newBuilder();
     environmentsSettingsBuilder
         .getEnvironmentSettings()
         .setRetrySettings(
-            environmentsSettingsBuilder
-                .getEnvironmentSettings()
-                .getRetrySettings()
-                .toBuilder()
+            environmentsSettingsBuilder.getEnvironmentSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     EnvironmentsSettings environmentsSettings = environmentsSettingsBuilder.build();
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/create/SyncCreateSetCredentialsProvider.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/create/SyncCreateSetCredentialsProvider.java
index 7fd589b53006..8f438de3f684 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/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
     ImageVersionsSettings imageVersionsSettings =
         ImageVersionsSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/create/SyncCreateSetCredentialsProvider1.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/create/SyncCreateSetCredentialsProvider1.java
index 5148d761ea54..a303973e5abd 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/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
     ImageVersionsSettings imageVersionsSettings =
         ImageVersionsSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/create/SyncCreateSetEndpoint.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/create/SyncCreateSetEndpoint.java
index b9698340f1c8..f57761e3a5e3 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/create/SyncCreateSetEndpoint.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/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
     ImageVersionsSettings imageVersionsSettings =
         ImageVersionsSettings.newBuilder().setEndpoint(myEndpoint).build();
     ImageVersionsClient imageVersionsClient = ImageVersionsClient.create(imageVersionsSettings);
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/listimageversions/AsyncListImageVersions.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/listimageversions/AsyncListImageVersions.java
index 2e18f7711a40..dded9f454150 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/listimageversions/AsyncListImageVersions.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/listimageversions/AsyncListImageVersions.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListImageVersions() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ImageVersionsClient imageVersionsClient = ImageVersionsClient.create()) {
       ListImageVersionsRequest request =
           ListImageVersionsRequest.newBuilder()
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/listimageversions/AsyncListImageVersionsPaged.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/listimageversions/AsyncListImageVersionsPaged.java
index 073fac3d7c32..4adc45e2991c 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/listimageversions/AsyncListImageVersionsPaged.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/listimageversions/AsyncListImageVersionsPaged.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListImageVersionsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ImageVersionsClient imageVersionsClient = ImageVersionsClient.create()) {
       ListImageVersionsRequest request =
           ListImageVersionsRequest.newBuilder()
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/listimageversions/SyncListImageVersions.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/listimageversions/SyncListImageVersions.java
index 3d6804f6e640..1ffde49745eb 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/listimageversions/SyncListImageVersions.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/listimageversions/SyncListImageVersions.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListImageVersions() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ImageVersionsClient imageVersionsClient = ImageVersionsClient.create()) {
       ListImageVersionsRequest request =
           ListImageVersionsRequest.newBuilder()
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/listimageversions/SyncListImageVersionsString.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/listimageversions/SyncListImageVersionsString.java
index d696ca3a4f8f..004dfadcb3c5 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/listimageversions/SyncListImageVersionsString.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/listimageversions/SyncListImageVersionsString.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListImageVersionsString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ImageVersionsClient imageVersionsClient = ImageVersionsClient.create()) {
       String parent = "parent-995424086";
       for (ImageVersion element : imageVersionsClient.listImageVersions(parent).iterateAll()) {
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionssettings/listimageversions/SyncListImageVersions.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionssettings/listimageversions/SyncListImageVersions.java
index 7a0fa06ea9cf..90aa5f7bafb7 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionssettings/listimageversions/SyncListImageVersions.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionssettings/listimageversions/SyncListImageVersions.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListImageVersions() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     ImageVersionsSettings.Builder imageVersionsSettingsBuilder = ImageVersionsSettings.newBuilder();
     imageVersionsSettingsBuilder
         .listImageVersionsSettings()
         .setRetrySettings(
-            imageVersionsSettingsBuilder
-                .listImageVersionsSettings()
-                .getRetrySettings()
-                .toBuilder()
+            imageVersionsSettingsBuilder.listImageVersionsSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     ImageVersionsSettings imageVersionsSettings = imageVersionsSettingsBuilder.build();
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/stub/environmentsstubsettings/getenvironment/SyncGetEnvironment.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/stub/environmentsstubsettings/getenvironment/SyncGetEnvironment.java
index 17ccc5527dbc..803be4c2f8f8 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/stub/environmentsstubsettings/getenvironment/SyncGetEnvironment.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/stub/environmentsstubsettings/getenvironment/SyncGetEnvironment.java
@@ -27,17 +27,17 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetEnvironment() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     EnvironmentsStubSettings.Builder environmentsSettingsBuilder =
         EnvironmentsStubSettings.newBuilder();
     environmentsSettingsBuilder
         .getEnvironmentSettings()
         .setRetrySettings(
-            environmentsSettingsBuilder
-                .getEnvironmentSettings()
-                .getRetrySettings()
-                .toBuilder()
+            environmentsSettingsBuilder.getEnvironmentSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     EnvironmentsStubSettings environmentsSettings = environmentsSettingsBuilder.build();
diff --git a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/stub/imageversionsstubsettings/listimageversions/SyncListImageVersions.java b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/stub/imageversionsstubsettings/listimageversions/SyncListImageVersions.java
index 6c309c8a14f0..bcb4cb0cf0f3 100644
--- a/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/stub/imageversionsstubsettings/listimageversions/SyncListImageVersions.java
+++ b/java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/stub/imageversionsstubsettings/listimageversions/SyncListImageVersions.java
@@ -27,17 +27,17 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListImageVersions() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     ImageVersionsStubSettings.Builder imageVersionsSettingsBuilder =
         ImageVersionsStubSettings.newBuilder();
     imageVersionsSettingsBuilder
         .listImageVersionsSettings()
         .setRetrySettings(
-            imageVersionsSettingsBuilder
-                .listImageVersionsSettings()
-                .getRetrySettings()
-                .toBuilder()
+            imageVersionsSettingsBuilder.listImageVersionsSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     ImageVersionsStubSettings imageVersionsSettings = imageVersionsSettingsBuilder.build();