diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AgentsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AgentsClient.java index a28606cfe55b..e346848c49c8 100644 --- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AgentsClient.java +++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AgentsClient.java @@ -51,8 +51,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 (AgentsClient agentsClient = AgentsClient.create()) {
  *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
  *   Agent response = agentsClient.getAgent(parent);
@@ -88,8 +91,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
  * AgentsSettings agentsSettings =
  *     AgentsSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -100,8 +106,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
  * AgentsSettings agentsSettings = AgentsSettings.newBuilder().setEndpoint(myEndpoint).build();
  * AgentsClient agentsClient = AgentsClient.create(agentsSettings);
  * }
@@ -110,8 +119,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
  * AgentsSettings agentsSettings =
  *     AgentsSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -202,8 +214,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 (AgentsClient agentsClient = AgentsClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   Agent response = agentsClient.getAgent(parent);
@@ -227,8 +242,11 @@ public final Agent getAgent(LocationName parent) {
    * 

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (AgentsClient agentsClient = AgentsClient.create()) {
    *   String parent = ProjectName.of("[PROJECT]").toString();
    *   Agent response = agentsClient.getAgent(parent);
@@ -276,8 +297,11 @@ public final Agent getAgent(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 (AgentsClient agentsClient = AgentsClient.create()) {
    *   GetAgentRequest request =
    *       GetAgentRequest.newBuilder().setParent(ProjectName.of("[PROJECT]").toString()).build();
@@ -299,8 +323,11 @@ public final Agent getAgent(GetAgentRequest 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 (AgentsClient agentsClient = AgentsClient.create()) {
    *   GetAgentRequest request =
    *       GetAgentRequest.newBuilder().setParent(ProjectName.of("[PROJECT]").toString()).build();
@@ -324,8 +351,11 @@ public final UnaryCallable getAgentCallable() {
    * 

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (AgentsClient agentsClient = AgentsClient.create()) {
    *   SetAgentRequest request =
    *       SetAgentRequest.newBuilder()
@@ -379,8 +412,11 @@ public final Agent setAgent(SetAgentRequest 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 (AgentsClient agentsClient = AgentsClient.create()) {
    *   SetAgentRequest request =
    *       SetAgentRequest.newBuilder()
@@ -404,8 +440,11 @@ public final UnaryCallable setAgentCallable() {
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (AgentsClient agentsClient = AgentsClient.create()) {
    *   String parent = ProjectName.of("[PROJECT]").toString();
    *   agentsClient.deleteAgent(parent);
@@ -482,8 +527,11 @@ public final void deleteAgent(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 (AgentsClient agentsClient = AgentsClient.create()) {
    *   DeleteAgentRequest request =
    *       DeleteAgentRequest.newBuilder().setParent(ProjectName.of("[PROJECT]").toString()).build();
@@ -505,8 +553,11 @@ public final void deleteAgent(DeleteAgentRequest 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 (AgentsClient agentsClient = AgentsClient.create()) {
    *   DeleteAgentRequest request =
    *       DeleteAgentRequest.newBuilder().setParent(ProjectName.of("[PROJECT]").toString()).build();
@@ -532,8 +583,11 @@ public final UnaryCallable deleteAgentCallable() {
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (AgentsClient agentsClient = AgentsClient.create()) {
    *   String parent = ProjectName.of("[PROJECT]").toString();
    *   for (Agent element : agentsClient.searchAgents(parent).iterateAll()) {
@@ -631,8 +691,11 @@ public final SearchAgentsPagedResponse searchAgents(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 (AgentsClient agentsClient = AgentsClient.create()) {
    *   SearchAgentsRequest request =
    *       SearchAgentsRequest.newBuilder()
@@ -665,8 +728,11 @@ public final SearchAgentsPagedResponse searchAgents(SearchAgentsRequest 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 (AgentsClient agentsClient = AgentsClient.create()) {
    *   SearchAgentsRequest request =
    *       SearchAgentsRequest.newBuilder()
@@ -699,8 +765,11 @@ public final SearchAgentsPagedResponse searchAgents(SearchAgentsRequest 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 (AgentsClient agentsClient = AgentsClient.create()) {
    *   SearchAgentsRequest request =
    *       SearchAgentsRequest.newBuilder()
@@ -746,8 +815,11 @@ public final UnaryCallable searchAgen
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (AgentsClient agentsClient = AgentsClient.create()) {
    *   String parent = ProjectName.of("[PROJECT]").toString();
    *   agentsClient.trainAgentAsync(parent).get();
@@ -856,8 +934,11 @@ public final OperationFuture trainAgentAsync(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 (AgentsClient agentsClient = AgentsClient.create()) {
    *   TrainAgentRequest request =
    *       TrainAgentRequest.newBuilder().setParent(ProjectName.of("[PROJECT]").toString()).build();
@@ -891,8 +972,11 @@ public final OperationFuture trainAgentAsync(TrainAgentRequest re
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (AgentsClient agentsClient = AgentsClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   ApiFuture future = agentsClient.getLocationCallable().futureCall(request);
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AgentsSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AgentsSettings.java
index 5ecc9fb41503..36f39a201417 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AgentsSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AgentsSettings.java
@@ -62,16 +62,16 @@
  * 

For example, to set the total timeout of getAgent 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
  * AgentsSettings.Builder agentsSettingsBuilder = AgentsSettings.newBuilder();
  * agentsSettingsBuilder
  *     .getAgentSettings()
  *     .setRetrySettings(
- *         agentsSettingsBuilder
- *             .getAgentSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         agentsSettingsBuilder.getAgentSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * AgentsSettings agentsSettings = agentsSettingsBuilder.build();
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AnswerRecordsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AnswerRecordsClient.java
index 44d0fc533e42..1de2f5ee36d6 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AnswerRecordsClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AnswerRecordsClient.java
@@ -46,8 +46,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 (AnswerRecordsClient answerRecordsClient = AnswerRecordsClient.create()) {
  *   AnswerRecord answerRecord = AnswerRecord.newBuilder().build();
  *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -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
  * AnswerRecordsSettings answerRecordsSettings =
  *     AnswerRecordsSettings.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
  * AnswerRecordsSettings answerRecordsSettings =
  *     AnswerRecordsSettings.newBuilder().setEndpoint(myEndpoint).build();
  * AnswerRecordsClient answerRecordsClient = AnswerRecordsClient.create(answerRecordsSettings);
@@ -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
  * AnswerRecordsSettings answerRecordsSettings =
  *     AnswerRecordsSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -176,8 +188,11 @@ public AnswerRecordsStub 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 (AnswerRecordsClient answerRecordsClient = AnswerRecordsClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (AnswerRecord element : answerRecordsClient.listAnswerRecords(parent).iterateAll()) {
@@ -205,8 +220,11 @@ public final ListAnswerRecordsPagedResponse listAnswerRecords(LocationName paren
    * 

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (AnswerRecordsClient answerRecordsClient = AnswerRecordsClient.create()) {
    *   String parent = ProjectName.of("[PROJECT]").toString();
    *   for (AnswerRecord element : answerRecordsClient.listAnswerRecords(parent).iterateAll()) {
@@ -261,8 +282,11 @@ public final ListAnswerRecordsPagedResponse listAnswerRecords(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 (AnswerRecordsClient answerRecordsClient = AnswerRecordsClient.create()) {
    *   ListAnswerRecordsRequest request =
    *       ListAnswerRecordsRequest.newBuilder()
@@ -291,8 +315,11 @@ public final ListAnswerRecordsPagedResponse listAnswerRecords(ListAnswerRecordsR
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (AnswerRecordsClient answerRecordsClient = AnswerRecordsClient.create()) {
    *   UpdateAnswerRecordRequest request =
    *       UpdateAnswerRecordRequest.newBuilder()
@@ -415,8 +451,11 @@ public final AnswerRecord updateAnswerRecord(UpdateAnswerRecordRequest 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 (AnswerRecordsClient answerRecordsClient = AnswerRecordsClient.create()) {
    *   UpdateAnswerRecordRequest request =
    *       UpdateAnswerRecordRequest.newBuilder()
@@ -441,8 +480,11 @@ public final UnaryCallable updateAnswer
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (AnswerRecordsClient answerRecordsClient = AnswerRecordsClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   ApiFuture future = answerRecordsClient.getLocationCallable().futureCall(request);
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AnswerRecordsSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AnswerRecordsSettings.java
index 016cca3f3fd1..332cdaa19c90 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AnswerRecordsSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AnswerRecordsSettings.java
@@ -58,16 +58,16 @@
  * 

For example, to set the total timeout of updateAnswerRecord 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
  * AnswerRecordsSettings.Builder answerRecordsSettingsBuilder = AnswerRecordsSettings.newBuilder();
  * answerRecordsSettingsBuilder
  *     .updateAnswerRecordSettings()
  *     .setRetrySettings(
- *         answerRecordsSettingsBuilder
- *             .updateAnswerRecordSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         answerRecordsSettingsBuilder.updateAnswerRecordSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * AnswerRecordsSettings answerRecordsSettings = answerRecordsSettingsBuilder.build();
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ContextsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ContextsClient.java
index 5f9278d5b019..e8c636cf9565 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ContextsClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ContextsClient.java
@@ -46,8 +46,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 (ContextsClient contextsClient = ContextsClient.create()) {
  *   ContextName name =
  *       ContextName.ofProjectSessionContextName("[PROJECT]", "[SESSION]", "[CONTEXT]");
@@ -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
  * ContextsSettings contextsSettings =
  *     ContextsSettings.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
  * ContextsSettings contextsSettings =
  *     ContextsSettings.newBuilder().setEndpoint(myEndpoint).build();
  * ContextsClient contextsClient = ContextsClient.create(contextsSettings);
@@ -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
  * ContextsSettings contextsSettings =
  *     ContextsSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -174,8 +186,11 @@ public ContextsStub 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 (ContextsClient contextsClient = ContextsClient.create()) {
    *   SessionName parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]");
    *   for (Context element : contextsClient.listContexts(parent).iterateAll()) {
@@ -206,8 +221,11 @@ public final ListContextsPagedResponse listContexts(SessionName 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 (ContextsClient contextsClient = ContextsClient.create()) {
    *   String parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]").toString();
    *   for (Context element : contextsClient.listContexts(parent).iterateAll()) {
@@ -235,8 +253,11 @@ public final ListContextsPagedResponse listContexts(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 (ContextsClient contextsClient = ContextsClient.create()) {
    *   ListContextsRequest request =
    *       ListContextsRequest.newBuilder()
@@ -264,8 +285,11 @@ public final ListContextsPagedResponse listContexts(ListContextsRequest 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 (ContextsClient contextsClient = ContextsClient.create()) {
    *   ListContextsRequest request =
    *       ListContextsRequest.newBuilder()
@@ -293,8 +317,11 @@ public final ListContextsPagedResponse listContexts(ListContextsRequest 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 (ContextsClient contextsClient = ContextsClient.create()) {
    *   ListContextsRequest request =
    *       ListContextsRequest.newBuilder()
@@ -328,8 +355,11 @@ public final UnaryCallable listContex
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ContextsClient contextsClient = ContextsClient.create()) {
    *   ContextName name =
    *       ContextName.ofProjectSessionContextName("[PROJECT]", "[SESSION]", "[CONTEXT]");
@@ -358,8 +388,11 @@ public final Context getContext(ContextName 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 (ContextsClient contextsClient = ContextsClient.create()) {
    *   String name =
    *       ContextName.ofProjectSessionContextName("[PROJECT]", "[SESSION]", "[CONTEXT]").toString();
@@ -387,8 +420,11 @@ public final Context getContext(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 (ContextsClient contextsClient = ContextsClient.create()) {
    *   GetContextRequest request =
    *       GetContextRequest.newBuilder()
@@ -414,8 +450,11 @@ public final Context getContext(GetContextRequest 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 (ContextsClient contextsClient = ContextsClient.create()) {
    *   GetContextRequest request =
    *       GetContextRequest.newBuilder()
@@ -442,8 +481,11 @@ public final UnaryCallable getContextCallable() {
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ContextsClient contextsClient = ContextsClient.create()) {
    *   CreateContextRequest request =
    *       CreateContextRequest.newBuilder()
@@ -537,8 +585,11 @@ public final Context createContext(CreateContextRequest 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 (ContextsClient contextsClient = ContextsClient.create()) {
    *   CreateContextRequest request =
    *       CreateContextRequest.newBuilder()
@@ -562,8 +613,11 @@ public final UnaryCallable createContextCallable(
    * 

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ContextsClient contextsClient = ContextsClient.create()) {
    *   UpdateContextRequest request =
    *       UpdateContextRequest.newBuilder()
@@ -614,8 +671,11 @@ public final Context updateContext(UpdateContextRequest 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 (ContextsClient contextsClient = ContextsClient.create()) {
    *   UpdateContextRequest request =
    *       UpdateContextRequest.newBuilder()
@@ -639,8 +699,11 @@ public final UnaryCallable updateContextCallable(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ContextsClient contextsClient = ContextsClient.create()) {
    *   ContextName name =
    *       ContextName.ofProjectSessionContextName("[PROJECT]", "[SESSION]", "[CONTEXT]");
@@ -669,8 +732,11 @@ public final void deleteContext(ContextName 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 (ContextsClient contextsClient = ContextsClient.create()) {
    *   String name =
    *       ContextName.ofProjectSessionContextName("[PROJECT]", "[SESSION]", "[CONTEXT]").toString();
@@ -698,8 +764,11 @@ public final void deleteContext(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 (ContextsClient contextsClient = ContextsClient.create()) {
    *   DeleteContextRequest request =
    *       DeleteContextRequest.newBuilder()
@@ -725,8 +794,11 @@ public final void deleteContext(DeleteContextRequest 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 (ContextsClient contextsClient = ContextsClient.create()) {
    *   DeleteContextRequest request =
    *       DeleteContextRequest.newBuilder()
@@ -751,8 +823,11 @@ public final UnaryCallable deleteContextCallable()
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ContextsClient contextsClient = ContextsClient.create()) {
    *   SessionName parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]");
    *   contextsClient.deleteAllContexts(parent);
@@ -781,8 +856,11 @@ public final void deleteAllContexts(SessionName 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 (ContextsClient contextsClient = ContextsClient.create()) {
    *   String parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]").toString();
    *   contextsClient.deleteAllContexts(parent);
@@ -809,8 +887,11 @@ public final void deleteAllContexts(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 (ContextsClient contextsClient = ContextsClient.create()) {
    *   DeleteAllContextsRequest request =
    *       DeleteAllContextsRequest.newBuilder()
@@ -834,8 +915,11 @@ public final void deleteAllContexts(DeleteAllContextsRequest 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 (ContextsClient contextsClient = ContextsClient.create()) {
    *   DeleteAllContextsRequest request =
    *       DeleteAllContextsRequest.newBuilder()
@@ -858,8 +942,11 @@ public final UnaryCallable deleteAllContextsCal
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ContextsClient contextsClient = ContextsClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   ApiFuture future = contextsClient.getLocationCallable().futureCall(request);
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ContextsSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ContextsSettings.java
index cf9cd8b08ed6..8c672073c177 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ContextsSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ContextsSettings.java
@@ -59,16 +59,16 @@
  * 

For example, to set the total timeout of getContext 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
  * ContextsSettings.Builder contextsSettingsBuilder = ContextsSettings.newBuilder();
  * contextsSettingsBuilder
  *     .getContextSettings()
  *     .setRetrySettings(
- *         contextsSettingsBuilder
- *             .getContextSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         contextsSettingsBuilder.getContextSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * ContextsSettings contextsSettings = contextsSettingsBuilder.build();
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationDatasetsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationDatasetsClient.java
index 053294b4e964..b98dcaae08df 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationDatasetsClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationDatasetsClient.java
@@ -53,8 +53,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 (ConversationDatasetsClient conversationDatasetsClient =
  *     ConversationDatasetsClient.create()) {
  *   ConversationDatasetName name =
@@ -93,8 +96,11 @@
  * 

To customize credentials: * *

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

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * ConversationDatasetsSettings conversationDatasetsSettings =
  *     ConversationDatasetsSettings.newBuilder().setEndpoint(myEndpoint).build();
  * ConversationDatasetsClient conversationDatasetsClient =
@@ -118,8 +127,11 @@
  * the wire:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * ConversationDatasetsSettings conversationDatasetsSettings =
  *     ConversationDatasetsSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -221,8 +233,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 (ConversationDatasetsClient conversationDatasetsClient =
    *     ConversationDatasetsClient.create()) {
    *   String parent = "parent-995424086";
@@ -264,8 +279,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 (ConversationDatasetsClient conversationDatasetsClient =
    *     ConversationDatasetsClient.create()) {
    *   CreateConversationDatasetRequest request =
@@ -301,8 +319,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 (ConversationDatasetsClient conversationDatasetsClient =
    *     ConversationDatasetsClient.create()) {
    *   CreateConversationDatasetRequest request =
@@ -342,8 +363,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 (ConversationDatasetsClient conversationDatasetsClient =
    *     ConversationDatasetsClient.create()) {
    *   CreateConversationDatasetRequest request =
@@ -370,8 +394,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 (ConversationDatasetsClient conversationDatasetsClient =
    *     ConversationDatasetsClient.create()) {
    *   ConversationDatasetName name =
@@ -399,8 +426,11 @@ public final ConversationDataset getConversationDataset(ConversationDatasetName
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ConversationDatasetsClient conversationDatasetsClient =
    *     ConversationDatasetsClient.create()) {
    *   String name =
@@ -427,8 +457,11 @@ public final ConversationDataset getConversationDataset(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 (ConversationDatasetsClient conversationDatasetsClient =
    *     ConversationDatasetsClient.create()) {
    *   GetConversationDatasetRequest request =
@@ -455,8 +488,11 @@ public final ConversationDataset getConversationDataset(GetConversationDatasetRe
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ConversationDatasetsClient conversationDatasetsClient =
    *     ConversationDatasetsClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationDatasetsSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationDatasetsSettings.java
index 08e09d31c51d..78ec5e147ed2 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationDatasetsSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationDatasetsSettings.java
@@ -61,8 +61,11 @@
  * 

For example, to set the total timeout of getConversationDataset 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
  * ConversationDatasetsSettings.Builder conversationDatasetsSettingsBuilder =
  *     ConversationDatasetsSettings.newBuilder();
  * conversationDatasetsSettingsBuilder
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationModelsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationModelsClient.java
index 4cecf7dbf232..fd571a801396 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationModelsClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationModelsClient.java
@@ -50,8 +50,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 (ConversationModelsClient conversationModelsClient = ConversationModelsClient.create()) {
  *   String name = "name3373707";
  *   ConversationModel response = conversationModelsClient.getConversationModel(name);
@@ -88,8 +91,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
  * ConversationModelsSettings conversationModelsSettings =
  *     ConversationModelsSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -101,8 +107,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
  * ConversationModelsSettings conversationModelsSettings =
  *     ConversationModelsSettings.newBuilder().setEndpoint(myEndpoint).build();
  * ConversationModelsClient conversationModelsClient =
@@ -113,8 +122,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
  * ConversationModelsSettings conversationModelsSettings =
  *     ConversationModelsSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -216,8 +228,11 @@ public final OperationsClient getHttpJsonOperationsClient() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ConversationModelsClient conversationModelsClient = ConversationModelsClient.create()) {
    *   String parent = "parent-995424086";
    *   ConversationModel conversationModel = ConversationModel.newBuilder().build();
@@ -256,8 +271,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 (ConversationModelsClient conversationModelsClient = ConversationModelsClient.create()) {
    *   CreateConversationModelRequest request =
    *       CreateConversationModelRequest.newBuilder()
@@ -292,8 +310,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 (ConversationModelsClient conversationModelsClient = ConversationModelsClient.create()) {
    *   CreateConversationModelRequest request =
    *       CreateConversationModelRequest.newBuilder()
@@ -330,8 +351,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 (ConversationModelsClient conversationModelsClient = ConversationModelsClient.create()) {
    *   CreateConversationModelRequest request =
    *       CreateConversationModelRequest.newBuilder()
@@ -357,8 +381,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 (ConversationModelsClient conversationModelsClient = ConversationModelsClient.create()) {
    *   String name = "name3373707";
    *   ConversationModel response = conversationModelsClient.getConversationModel(name);
@@ -382,8 +409,11 @@ public final ConversationModel getConversationModel(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 (ConversationModelsClient conversationModelsClient = ConversationModelsClient.create()) {
    *   GetConversationModelRequest request =
    *       GetConversationModelRequest.newBuilder().setName("name3373707").build();
@@ -405,8 +435,11 @@ public final ConversationModel getConversationModel(GetConversationModelRequest
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ConversationModelsClient conversationModelsClient = ConversationModelsClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   ApiFuture future =
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationModelsSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationModelsSettings.java
index 63cf43c05c5f..575e45fb5a07 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationModelsSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationModelsSettings.java
@@ -62,8 +62,11 @@
  * 

For example, to set the total timeout of getConversationModel 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
  * ConversationModelsSettings.Builder conversationModelsSettingsBuilder =
  *     ConversationModelsSettings.newBuilder();
  * conversationModelsSettingsBuilder
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationProfilesClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationProfilesClient.java
index a8eec7f5ffe1..55863fd59254 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationProfilesClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationProfilesClient.java
@@ -52,8 +52,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 (ConversationProfilesClient conversationProfilesClient =
  *     ConversationProfilesClient.create()) {
  *   ConversationProfileName name =
@@ -93,8 +96,11 @@
  * 

To customize credentials: * *

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

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * ConversationProfilesSettings conversationProfilesSettings =
  *     ConversationProfilesSettings.newBuilder().setEndpoint(myEndpoint).build();
  * ConversationProfilesClient conversationProfilesClient =
@@ -118,8 +127,11 @@
  * the wire:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * ConversationProfilesSettings conversationProfilesSettings =
  *     ConversationProfilesSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -213,8 +225,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 (ConversationProfilesClient conversationProfilesClient =
    *     ConversationProfilesClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
@@ -244,8 +259,11 @@ public final ListConversationProfilesPagedResponse listConversationProfiles(Loca
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ConversationProfilesClient conversationProfilesClient =
    *     ConversationProfilesClient.create()) {
    *   String name =
@@ -466,8 +502,11 @@ public final ConversationProfile getConversationProfile(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 (ConversationProfilesClient conversationProfilesClient =
    *     ConversationProfilesClient.create()) {
    *   GetConversationProfileRequest request =
@@ -495,8 +534,11 @@ public final ConversationProfile getConversationProfile(GetConversationProfileRe
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ConversationProfilesClient conversationProfilesClient =
    *     ConversationProfilesClient.create()) {
    *   ConversationProfileName name =
@@ -839,8 +908,11 @@ public final void deleteConversationProfile(ConversationProfileName 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 (ConversationProfilesClient conversationProfilesClient =
    *     ConversationProfilesClient.create()) {
    *   String name =
@@ -869,8 +941,11 @@ public final void deleteConversationProfile(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 (ConversationProfilesClient conversationProfilesClient =
    *     ConversationProfilesClient.create()) {
    *   DeleteConversationProfileRequest request =
@@ -898,8 +973,11 @@ public final void deleteConversationProfile(DeleteConversationProfileRequest req
    * 

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ConversationProfilesClient conversationProfilesClient =
    *     ConversationProfilesClient.create()) {
    *   String conversationProfile = "conversationProfile1691597734";
@@ -989,8 +1070,11 @@ public final void deleteConversationProfile(DeleteConversationProfileRequest req
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ConversationProfilesClient conversationProfilesClient =
    *     ConversationProfilesClient.create()) {
    *   String conversationProfile = "conversationProfile1691597734";
@@ -1159,8 +1252,11 @@ public final void deleteConversationProfile(DeleteConversationProfileRequest req
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ConversationProfilesClient conversationProfilesClient =
    *     ConversationProfilesClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationProfilesSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationProfilesSettings.java
index bab77ec15f00..c41523c72eb3 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationProfilesSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationProfilesSettings.java
@@ -61,8 +61,11 @@
  * 

For example, to set the total timeout of getConversationProfile 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
  * ConversationProfilesSettings.Builder conversationProfilesSettingsBuilder =
  *     ConversationProfilesSettings.newBuilder();
  * conversationProfilesSettingsBuilder
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationsClient.java
index f4a7b8fab01c..68124d9424d8 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationsClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationsClient.java
@@ -45,8 +45,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 (ConversationsClient conversationsClient = ConversationsClient.create()) {
  *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
  *   Conversation conversation = Conversation.newBuilder().build();
@@ -83,8 +86,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
  * ConversationsSettings conversationsSettings =
  *     ConversationsSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -95,8 +101,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
  * ConversationsSettings conversationsSettings =
  *     ConversationsSettings.newBuilder().setEndpoint(myEndpoint).build();
  * ConversationsClient conversationsClient = ConversationsClient.create(conversationsSettings);
@@ -106,8 +115,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
  * ConversationsSettings conversationsSettings =
  *     ConversationsSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -191,8 +203,11 @@ public ConversationsStub 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 (ConversationsClient conversationsClient = ConversationsClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   Conversation conversation = Conversation.newBuilder().build();
@@ -237,8 +252,11 @@ public final Conversation createConversation(LocationName parent, Conversation c
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ConversationsClient conversationsClient = ConversationsClient.create()) {
    *   CreateConversationRequest request =
    *       CreateConversationRequest.newBuilder()
@@ -372,8 +396,11 @@ public final Conversation createConversation(CreateConversationRequest 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 (ConversationsClient conversationsClient = ConversationsClient.create()) {
    *   CreateConversationRequest request =
    *       CreateConversationRequest.newBuilder()
@@ -399,8 +426,11 @@ public final UnaryCallable createConver
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ConversationsClient conversationsClient = ConversationsClient.create()) {
    *   String parent = ProjectName.of("[PROJECT]").toString();
    *   for (Conversation element : conversationsClient.listConversations(parent).iterateAll()) {
@@ -484,8 +520,11 @@ public final ListConversationsPagedResponse listConversations(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 (ConversationsClient conversationsClient = ConversationsClient.create()) {
    *   ListConversationsRequest request =
    *       ListConversationsRequest.newBuilder()
@@ -514,8 +553,11 @@ public final ListConversationsPagedResponse listConversations(ListConversationsR
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ConversationsClient conversationsClient = ConversationsClient.create()) {
    *   ConversationName name =
    *       ConversationName.ofProjectConversationName("[PROJECT]", "[CONVERSATION]");
@@ -609,8 +657,11 @@ public final Conversation getConversation(ConversationName 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 (ConversationsClient conversationsClient = ConversationsClient.create()) {
    *   String name =
    *       ConversationName.ofProjectConversationName("[PROJECT]", "[CONVERSATION]").toString();
@@ -634,8 +685,11 @@ public final Conversation getConversation(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 (ConversationsClient conversationsClient = ConversationsClient.create()) {
    *   GetConversationRequest request =
    *       GetConversationRequest.newBuilder()
@@ -661,8 +715,11 @@ public final Conversation getConversation(GetConversationRequest 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 (ConversationsClient conversationsClient = ConversationsClient.create()) {
    *   GetConversationRequest request =
    *       GetConversationRequest.newBuilder()
@@ -689,8 +746,11 @@ public final UnaryCallable getConversation
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ConversationsClient conversationsClient = ConversationsClient.create()) {
    *   ConversationName name =
    *       ConversationName.ofProjectConversationName("[PROJECT]", "[CONVERSATION]");
@@ -719,8 +779,11 @@ public final Conversation completeConversation(ConversationName 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 (ConversationsClient conversationsClient = ConversationsClient.create()) {
    *   String name =
    *       ConversationName.ofProjectConversationName("[PROJECT]", "[CONVERSATION]").toString();
@@ -747,8 +810,11 @@ public final Conversation completeConversation(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 (ConversationsClient conversationsClient = ConversationsClient.create()) {
    *   CompleteConversationRequest request =
    *       CompleteConversationRequest.newBuilder()
@@ -775,8 +841,11 @@ public final Conversation completeConversation(CompleteConversationRequest reque
    * 

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ConversationsClient conversationsClient = ConversationsClient.create()) {
    *   ConversationName parent =
    *       ConversationName.ofProjectConversationName("[PROJECT]", "[CONVERSATION]");
@@ -840,8 +912,11 @@ public final ListMessagesPagedResponse listMessages(ConversationName 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 (ConversationsClient conversationsClient = ConversationsClient.create()) {
    *   String parent =
    *       ConversationName.ofProjectConversationName("[PROJECT]", "[CONVERSATION]").toString();
@@ -871,8 +946,11 @@ public final ListMessagesPagedResponse listMessages(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 (ConversationsClient conversationsClient = ConversationsClient.create()) {
    *   ListMessagesRequest request =
    *       ListMessagesRequest.newBuilder()
@@ -906,8 +984,11 @@ public final ListMessagesPagedResponse listMessages(ListMessagesRequest 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 (ConversationsClient conversationsClient = ConversationsClient.create()) {
    *   ListMessagesRequest request =
    *       ListMessagesRequest.newBuilder()
@@ -942,8 +1023,11 @@ public final ListMessagesPagedResponse listMessages(ListMessagesRequest 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 (ConversationsClient conversationsClient = ConversationsClient.create()) {
    *   ListMessagesRequest request =
    *       ListMessagesRequest.newBuilder()
@@ -980,8 +1064,11 @@ public final UnaryCallable listMessag
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ConversationsClient conversationsClient = ConversationsClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   ApiFuture future = conversationsClient.getLocationCallable().futureCall(request);
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationsSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationsSettings.java
index b612e18bfcee..b64a01f4180a 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationsSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationsSettings.java
@@ -59,16 +59,16 @@
  * 

For example, to set the total timeout of createConversation 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
  * ConversationsSettings.Builder conversationsSettingsBuilder = ConversationsSettings.newBuilder();
  * conversationsSettingsBuilder
  *     .createConversationSettings()
  *     .setRetrySettings(
- *         conversationsSettingsBuilder
- *             .createConversationSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         conversationsSettingsBuilder.createConversationSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * ConversationsSettings conversationsSettings = conversationsSettingsBuilder.build();
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/DocumentsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/DocumentsClient.java
index fa6da2744d2b..caf429c36335 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/DocumentsClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/DocumentsClient.java
@@ -52,8 +52,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 (DocumentsClient documentsClient = DocumentsClient.create()) {
  *   DocumentName name =
  *       DocumentName.ofProjectKnowledgeBaseDocumentName(
@@ -91,8 +94,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
  * DocumentsSettings documentsSettings =
  *     DocumentsSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -103,8 +109,11 @@
  * 

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * DocumentsSettings documentsSettings =
  *     DocumentsSettings.newBuilder().setEndpoint(myEndpoint).build();
  * DocumentsClient documentsClient = DocumentsClient.create(documentsSettings);
@@ -114,8 +123,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
  * DocumentsSettings documentsSettings =
  *     DocumentsSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -206,8 +218,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 (DocumentsClient documentsClient = DocumentsClient.create()) {
    *   KnowledgeBaseName parent =
    *       KnowledgeBaseName.ofProjectKnowledgeBaseName("[PROJECT]", "[KNOWLEDGE_BASE]");
@@ -237,8 +252,11 @@ public final ListDocumentsPagedResponse listDocuments(KnowledgeBaseName 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 (DocumentsClient documentsClient = DocumentsClient.create()) {
    *   String parent =
    *       KnowledgeBaseName.ofProjectKnowledgeBaseName("[PROJECT]", "[KNOWLEDGE_BASE]").toString();
@@ -265,8 +283,11 @@ public final ListDocumentsPagedResponse listDocuments(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 (DocumentsClient documentsClient = DocumentsClient.create()) {
    *   ListDocumentsRequest request =
    *       ListDocumentsRequest.newBuilder()
@@ -297,8 +318,11 @@ public final ListDocumentsPagedResponse listDocuments(ListDocumentsRequest reque
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DocumentsClient documentsClient = DocumentsClient.create()) {
    *   DocumentName name =
    *       DocumentName.ofProjectKnowledgeBaseDocumentName(
@@ -395,8 +425,11 @@ public final Document getDocument(DocumentName 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 (DocumentsClient documentsClient = DocumentsClient.create()) {
    *   String name =
    *       DocumentName.ofProjectKnowledgeBaseDocumentName(
@@ -423,8 +456,11 @@ public final Document getDocument(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 (DocumentsClient documentsClient = DocumentsClient.create()) {
    *   GetDocumentRequest request =
    *       GetDocumentRequest.newBuilder()
@@ -451,8 +487,11 @@ public final Document getDocument(GetDocumentRequest 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 (DocumentsClient documentsClient = DocumentsClient.create()) {
    *   GetDocumentRequest request =
    *       GetDocumentRequest.newBuilder()
@@ -486,8 +525,11 @@ public final UnaryCallable getDocumentCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DocumentsClient documentsClient = DocumentsClient.create()) {
    *   KnowledgeBaseName parent =
    *       KnowledgeBaseName.ofProjectKnowledgeBaseName("[PROJECT]", "[KNOWLEDGE_BASE]");
@@ -527,8 +569,11 @@ public final OperationFuture createDocumen
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DocumentsClient documentsClient = DocumentsClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   ApiFuture future = documentsClient.getLocationCallable().futureCall(request);
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/DocumentsSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/DocumentsSettings.java
index 8852f1f4995e..70fedda0c818 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/DocumentsSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/DocumentsSettings.java
@@ -61,16 +61,16 @@
  * 

For example, to set the total timeout of getDocument 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
  * DocumentsSettings.Builder documentsSettingsBuilder = DocumentsSettings.newBuilder();
  * documentsSettingsBuilder
  *     .getDocumentSettings()
  *     .setRetrySettings(
- *         documentsSettingsBuilder
- *             .getDocumentSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         documentsSettingsBuilder.getDocumentSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * DocumentsSettings documentsSettings = documentsSettingsBuilder.build();
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EntityTypesClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EntityTypesClient.java
index 03c2c4ad6790..4b3f8ebb87eb 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EntityTypesClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EntityTypesClient.java
@@ -51,8 +51,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 (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
  *   EntityTypeName name = EntityTypeName.ofProjectEntityTypeName("[PROJECT]", "[ENTITY_TYPE]");
  *   EntityType response = entityTypesClient.getEntityType(name);
@@ -88,8 +91,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
  * EntityTypesSettings entityTypesSettings =
  *     EntityTypesSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -100,8 +106,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
  * EntityTypesSettings entityTypesSettings =
  *     EntityTypesSettings.newBuilder().setEndpoint(myEndpoint).build();
  * EntityTypesClient entityTypesClient = EntityTypesClient.create(entityTypesSettings);
@@ -111,8 +120,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
  * EntityTypesSettings entityTypesSettings =
  *     EntityTypesSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -204,8 +216,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 (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
    *   AgentName parent = AgentName.ofProjectName("[PROJECT]");
    *   for (EntityType element : entityTypesClient.listEntityTypes(parent).iterateAll()) {
@@ -233,8 +248,11 @@ public final ListEntityTypesPagedResponse listEntityTypes(AgentName 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 (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
    *   String parent = AgentName.ofProjectName("[PROJECT]").toString();
    *   for (EntityType element : entityTypesClient.listEntityTypes(parent).iterateAll()) {
@@ -259,8 +277,11 @@ public final ListEntityTypesPagedResponse listEntityTypes(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 (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
    *   AgentName parent = AgentName.ofProjectName("[PROJECT]");
    *   String languageCode = "languageCode-2092349083";
@@ -295,8 +316,11 @@ public final ListEntityTypesPagedResponse listEntityTypes(AgentName parent, Stri
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
    *   EntityTypeName name = EntityTypeName.ofProjectEntityTypeName("[PROJECT]", "[ENTITY_TYPE]");
    *   EntityType response = entityTypesClient.getEntityType(name);
@@ -452,8 +488,11 @@ public final EntityType getEntityType(EntityTypeName 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 (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
    *   String name = EntityTypeName.ofProjectEntityTypeName("[PROJECT]", "[ENTITY_TYPE]").toString();
    *   EntityType response = entityTypesClient.getEntityType(name);
@@ -476,8 +515,11 @@ public final EntityType getEntityType(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 (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
    *   EntityTypeName name = EntityTypeName.ofProjectEntityTypeName("[PROJECT]", "[ENTITY_TYPE]");
    *   String languageCode = "languageCode-2092349083";
@@ -509,8 +551,11 @@ public final EntityType getEntityType(EntityTypeName name, String languageCode)
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
    *   String name = EntityTypeName.ofProjectEntityTypeName("[PROJECT]", "[ENTITY_TYPE]").toString();
    *   String languageCode = "languageCode-2092349083";
@@ -539,8 +584,11 @@ public final EntityType getEntityType(String name, String languageCode) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
    *   GetEntityTypeRequest request =
    *       GetEntityTypeRequest.newBuilder()
@@ -566,8 +614,11 @@ public final EntityType getEntityType(GetEntityTypeRequest 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 (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
    *   GetEntityTypeRequest request =
    *       GetEntityTypeRequest.newBuilder()
@@ -595,8 +646,11 @@ public final UnaryCallable getEntityTypeCallab
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
    *   EntityType entityType = EntityType.newBuilder().build();
    *   String languageCode = "languageCode-2092349083";
@@ -860,8 +935,11 @@ public final EntityType updateEntityType(EntityType entityType, String languageC
    * 

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
    *   EntityTypeName name = EntityTypeName.ofProjectEntityTypeName("[PROJECT]", "[ENTITY_TYPE]");
    *   entityTypesClient.deleteEntityType(name);
@@ -948,8 +1032,11 @@ public final void deleteEntityType(EntityTypeName 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 (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
    *   String name = EntityTypeName.ofProjectEntityTypeName("[PROJECT]", "[ENTITY_TYPE]").toString();
    *   entityTypesClient.deleteEntityType(name);
@@ -975,8 +1062,11 @@ public final void deleteEntityType(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 (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
    *   DeleteEntityTypeRequest request =
    *       DeleteEntityTypeRequest.newBuilder()
@@ -1004,8 +1094,11 @@ public final void deleteEntityType(DeleteEntityTypeRequest 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 (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
    *   DeleteEntityTypeRequest request =
    *       DeleteEntityTypeRequest.newBuilder()
@@ -1041,8 +1134,11 @@ public final UnaryCallable deleteEntityTypeCalla
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   ApiFuture future = entityTypesClient.getLocationCallable().futureCall(request);
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EntityTypesSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EntityTypesSettings.java
index 6e84c4eb413b..c8b87a18b194 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EntityTypesSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EntityTypesSettings.java
@@ -62,16 +62,16 @@
  * 

For example, to set the total timeout of getEntityType 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
  * EntityTypesSettings.Builder entityTypesSettingsBuilder = EntityTypesSettings.newBuilder();
  * entityTypesSettingsBuilder
  *     .getEntityTypeSettings()
  *     .setRetrySettings(
- *         entityTypesSettingsBuilder
- *             .getEntityTypeSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         entityTypesSettingsBuilder.getEntityTypeSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * EntityTypesSettings entityTypesSettings = entityTypesSettingsBuilder.build();
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EnvironmentsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EnvironmentsClient.java
index 62bd6e2e0ead..31756ec98601 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EnvironmentsClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EnvironmentsClient.java
@@ -45,8 +45,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()) {
  *   GetEnvironmentRequest request =
  *       GetEnvironmentRequest.newBuilder()
@@ -86,8 +89,11 @@
  * 

To customize credentials: * *

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

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * EnvironmentsSettings environmentsSettings =
  *     EnvironmentsSettings.newBuilder().setEndpoint(myEndpoint).build();
  * EnvironmentsClient environmentsClient = EnvironmentsClient.create(environmentsSettings);
@@ -109,8 +118,11 @@
  * the wire:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * EnvironmentsSettings environmentsSettings =
  *     EnvironmentsSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -177,8 +189,11 @@ public EnvironmentsStub 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 (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
    *   AgentName parent = AgentName.ofProjectName("[PROJECT]");
    *   for (Environment element : environmentsClient.listEnvironments(parent).iterateAll()) {
@@ -207,8 +222,11 @@ public final ListEnvironmentsPagedResponse listEnvironments(AgentName 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()) {
    *   String parent = AgentName.ofProjectName("[PROJECT]").toString();
    *   for (Environment element : environmentsClient.listEnvironments(parent).iterateAll()) {
@@ -235,8 +253,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()
@@ -264,8 +285,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()
@@ -294,8 +318,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()
@@ -331,8 +358,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()) {
    *   GetEnvironmentRequest request =
    *       GetEnvironmentRequest.newBuilder()
@@ -357,8 +387,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()
@@ -383,8 +416,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()) {
    *   CreateEnvironmentRequest request =
    *       CreateEnvironmentRequest.newBuilder()
@@ -410,8 +446,11 @@ public final Environment createEnvironment(CreateEnvironmentRequest 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()) {
    *   CreateEnvironmentRequest request =
    *       CreateEnvironmentRequest.newBuilder()
@@ -446,8 +485,11 @@ public final UnaryCallable createEnvironm
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying 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()
@@ -482,8 +524,11 @@ public final Environment updateEnvironment(UpdateEnvironmentRequest 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()) {
    *   UpdateEnvironmentRequest request =
    *       UpdateEnvironmentRequest.newBuilder()
@@ -509,8 +554,11 @@ public final UnaryCallable updateEnvironm
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying 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()
@@ -535,8 +583,11 @@ public final void deleteEnvironment(DeleteEnvironmentRequest 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()) {
    *   DeleteEnvironmentRequest request =
    *       DeleteEnvironmentRequest.newBuilder()
@@ -560,8 +611,11 @@ public final UnaryCallable deleteEnvironmentCal
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying 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()) {
    *   GetEnvironmentHistoryRequest request =
    *       GetEnvironmentHistoryRequest.newBuilder()
@@ -592,8 +646,11 @@ public final GetEnvironmentHistoryPagedResponse getEnvironmentHistory(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying 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()) {
    *   GetEnvironmentHistoryRequest request =
    *       GetEnvironmentHistoryRequest.newBuilder()
@@ -623,8 +680,11 @@ public final GetEnvironmentHistoryPagedResponse getEnvironmentHistory(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying 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()) {
    *   GetEnvironmentHistoryRequest request =
    *       GetEnvironmentHistoryRequest.newBuilder()
@@ -661,8 +721,11 @@ public final GetEnvironmentHistoryPagedResponse getEnvironmentHistory(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying 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()) {
    *   ListLocationsRequest request =
    *       ListLocationsRequest.newBuilder()
@@ -691,8 +754,11 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   ApiFuture future = environmentsClient.getLocationCallable().futureCall(request);
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EnvironmentsSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EnvironmentsSettings.java
index 1af05b27c846..f03e7494beee 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EnvironmentsSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EnvironmentsSettings.java
@@ -60,16 +60,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-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/FulfillmentsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/FulfillmentsClient.java
index f8a43a1bae83..9346265e01fd 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/FulfillmentsClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/FulfillmentsClient.java
@@ -45,8 +45,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 (FulfillmentsClient fulfillmentsClient = FulfillmentsClient.create()) {
  *   FulfillmentName name = FulfillmentName.ofProjectName("[PROJECT]");
  *   Fulfillment response = fulfillmentsClient.getFulfillment(name);
@@ -82,8 +85,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
  * FulfillmentsSettings fulfillmentsSettings =
  *     FulfillmentsSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -94,8 +100,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
  * FulfillmentsSettings fulfillmentsSettings =
  *     FulfillmentsSettings.newBuilder().setEndpoint(myEndpoint).build();
  * FulfillmentsClient fulfillmentsClient = FulfillmentsClient.create(fulfillmentsSettings);
@@ -105,8 +114,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
  * FulfillmentsSettings fulfillmentsSettings =
  *     FulfillmentsSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -173,8 +185,11 @@ public FulfillmentsStub 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 (FulfillmentsClient fulfillmentsClient = FulfillmentsClient.create()) {
    *   FulfillmentName name = FulfillmentName.ofProjectName("[PROJECT]");
    *   Fulfillment response = fulfillmentsClient.getFulfillment(name);
@@ -198,8 +213,11 @@ public final Fulfillment getFulfillment(FulfillmentName 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 (FulfillmentsClient fulfillmentsClient = FulfillmentsClient.create()) {
    *   String name = FulfillmentName.ofProjectName("[PROJECT]").toString();
    *   Fulfillment response = fulfillmentsClient.getFulfillment(name);
@@ -222,8 +240,11 @@ public final Fulfillment getFulfillment(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 (FulfillmentsClient fulfillmentsClient = FulfillmentsClient.create()) {
    *   GetFulfillmentRequest request =
    *       GetFulfillmentRequest.newBuilder()
@@ -247,8 +268,11 @@ public final Fulfillment getFulfillment(GetFulfillmentRequest 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 (FulfillmentsClient fulfillmentsClient = FulfillmentsClient.create()) {
    *   GetFulfillmentRequest request =
    *       GetFulfillmentRequest.newBuilder()
@@ -272,8 +296,11 @@ public final UnaryCallable getFulfillmentCal
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FulfillmentsClient fulfillmentsClient = FulfillmentsClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   ApiFuture future = fulfillmentsClient.getLocationCallable().futureCall(request);
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/FulfillmentsSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/FulfillmentsSettings.java
index 613bbfc8b9d8..a644b60c9f71 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/FulfillmentsSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/FulfillmentsSettings.java
@@ -57,16 +57,16 @@
  * 

For example, to set the total timeout of getFulfillment 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
  * FulfillmentsSettings.Builder fulfillmentsSettingsBuilder = FulfillmentsSettings.newBuilder();
  * fulfillmentsSettingsBuilder
  *     .getFulfillmentSettings()
  *     .setRetrySettings(
- *         fulfillmentsSettingsBuilder
- *             .getFulfillmentSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         fulfillmentsSettingsBuilder.getFulfillmentSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * FulfillmentsSettings fulfillmentsSettings = fulfillmentsSettingsBuilder.build();
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/IntentsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/IntentsClient.java
index 3dc5de626e84..c65a9a2b9e4b 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/IntentsClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/IntentsClient.java
@@ -52,8 +52,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 (IntentsClient intentsClient = IntentsClient.create()) {
  *   IntentName name = IntentName.ofProjectIntentName("[PROJECT]", "[INTENT]");
  *   Intent response = intentsClient.getIntent(name);
@@ -89,8 +92,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
  * IntentsSettings intentsSettings =
  *     IntentsSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -101,8 +107,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
  * IntentsSettings intentsSettings = IntentsSettings.newBuilder().setEndpoint(myEndpoint).build();
  * IntentsClient intentsClient = IntentsClient.create(intentsSettings);
  * }
@@ -111,8 +120,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
  * IntentsSettings intentsSettings =
  *     IntentsSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -203,8 +215,11 @@ public final OperationsClient getHttpJsonOperationsClient() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IntentsClient intentsClient = IntentsClient.create()) {
    *   AgentName parent = AgentName.ofProjectName("[PROJECT]");
    *   for (Intent element : intentsClient.listIntents(parent).iterateAll()) {
@@ -237,8 +252,11 @@ public final ListIntentsPagedResponse listIntents(AgentName 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 (IntentsClient intentsClient = IntentsClient.create()) {
    *   String parent = AgentName.ofProjectName("[PROJECT]").toString();
    *   for (Intent element : intentsClient.listIntents(parent).iterateAll()) {
@@ -268,8 +286,11 @@ public final ListIntentsPagedResponse listIntents(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 (IntentsClient intentsClient = IntentsClient.create()) {
    *   AgentName parent = AgentName.ofProjectName("[PROJECT]");
    *   String languageCode = "languageCode-2092349083";
@@ -308,8 +329,11 @@ public final ListIntentsPagedResponse listIntents(AgentName parent, String langu
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IntentsClient intentsClient = IntentsClient.create()) {
    *   String parent = AgentName.ofProjectName("[PROJECT]").toString();
    *   String languageCode = "languageCode-2092349083";
@@ -345,8 +369,11 @@ public final ListIntentsPagedResponse listIntents(String parent, String language
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IntentsClient intentsClient = IntentsClient.create()) {
    *   ListIntentsRequest request =
    *       ListIntentsRequest.newBuilder()
@@ -376,8 +403,11 @@ public final ListIntentsPagedResponse listIntents(ListIntentsRequest 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 (IntentsClient intentsClient = IntentsClient.create()) {
    *   ListIntentsRequest request =
    *       ListIntentsRequest.newBuilder()
@@ -407,8 +437,11 @@ public final ListIntentsPagedResponse listIntents(ListIntentsRequest 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 (IntentsClient intentsClient = IntentsClient.create()) {
    *   ListIntentsRequest request =
    *       ListIntentsRequest.newBuilder()
@@ -444,8 +477,11 @@ public final UnaryCallable listIntentsC
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IntentsClient intentsClient = IntentsClient.create()) {
    *   IntentName name = IntentName.ofProjectIntentName("[PROJECT]", "[INTENT]");
    *   Intent response = intentsClient.getIntent(name);
@@ -469,8 +505,11 @@ public final Intent getIntent(IntentName 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 (IntentsClient intentsClient = IntentsClient.create()) {
    *   String name = IntentName.ofProjectIntentName("[PROJECT]", "[INTENT]").toString();
    *   Intent response = intentsClient.getIntent(name);
@@ -493,8 +532,11 @@ public final Intent getIntent(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 (IntentsClient intentsClient = IntentsClient.create()) {
    *   IntentName name = IntentName.ofProjectIntentName("[PROJECT]", "[INTENT]");
    *   String languageCode = "languageCode-2092349083";
@@ -526,8 +568,11 @@ public final Intent getIntent(IntentName name, String languageCode) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IntentsClient intentsClient = IntentsClient.create()) {
    *   String name = IntentName.ofProjectIntentName("[PROJECT]", "[INTENT]").toString();
    *   String languageCode = "languageCode-2092349083";
@@ -556,8 +601,11 @@ public final Intent getIntent(String name, String languageCode) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IntentsClient intentsClient = IntentsClient.create()) {
    *   GetIntentRequest request =
    *       GetIntentRequest.newBuilder()
@@ -583,8 +631,11 @@ public final Intent getIntent(GetIntentRequest 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 (IntentsClient intentsClient = IntentsClient.create()) {
    *   GetIntentRequest request =
    *       GetIntentRequest.newBuilder()
@@ -612,8 +663,11 @@ public final UnaryCallable getIntentCallable() {
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IntentsClient intentsClient = IntentsClient.create()) {
    *   AgentName parent = AgentName.ofProjectName("[PROJECT]");
    *   Intent intent = Intent.newBuilder().build();
@@ -714,8 +774,11 @@ public final Intent createIntent(AgentName parent, Intent intent, String languag
    * 

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IntentsClient intentsClient = IntentsClient.create()) {
    *   CreateIntentRequest request =
    *       CreateIntentRequest.newBuilder()
@@ -784,8 +850,11 @@ public final Intent createIntent(CreateIntentRequest 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 (IntentsClient intentsClient = IntentsClient.create()) {
    *   CreateIntentRequest request =
    *       CreateIntentRequest.newBuilder()
@@ -814,8 +883,11 @@ public final UnaryCallable createIntentCallable() {
    * 

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IntentsClient intentsClient = IntentsClient.create()) {
    *   Intent intent = Intent.newBuilder().build();
    *   String languageCode = "languageCode-2092349083";
@@ -884,8 +959,11 @@ public final Intent updateIntent(Intent intent, String languageCode, FieldMask u
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IntentsClient intentsClient = IntentsClient.create()) {
    *   UpdateIntentRequest request =
    *       UpdateIntentRequest.newBuilder()
@@ -915,8 +993,11 @@ public final Intent updateIntent(UpdateIntentRequest 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 (IntentsClient intentsClient = IntentsClient.create()) {
    *   UpdateIntentRequest request =
    *       UpdateIntentRequest.newBuilder()
@@ -945,8 +1026,11 @@ public final UnaryCallable updateIntentCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IntentsClient intentsClient = IntentsClient.create()) {
    *   IntentName name = IntentName.ofProjectIntentName("[PROJECT]", "[INTENT]");
    *   intentsClient.deleteIntent(name);
@@ -974,8 +1058,11 @@ public final void deleteIntent(IntentName 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 (IntentsClient intentsClient = IntentsClient.create()) {
    *   String name = IntentName.ofProjectIntentName("[PROJECT]", "[INTENT]").toString();
    *   intentsClient.deleteIntent(name);
@@ -1002,8 +1089,11 @@ public final void deleteIntent(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 (IntentsClient intentsClient = IntentsClient.create()) {
    *   DeleteIntentRequest request =
    *       DeleteIntentRequest.newBuilder()
@@ -1030,8 +1120,11 @@ public final void deleteIntent(DeleteIntentRequest 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 (IntentsClient intentsClient = IntentsClient.create()) {
    *   DeleteIntentRequest request =
    *       DeleteIntentRequest.newBuilder()
@@ -1066,8 +1159,11 @@ public final UnaryCallable deleteIntentCallable() {
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IntentsClient intentsClient = IntentsClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   ApiFuture future = intentsClient.getLocationCallable().futureCall(request);
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/IntentsSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/IntentsSettings.java
index 982b9b39b6cf..b974c97d068a 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/IntentsSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/IntentsSettings.java
@@ -62,16 +62,16 @@
  * 

For example, to set the total timeout of getIntent 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
  * IntentsSettings.Builder intentsSettingsBuilder = IntentsSettings.newBuilder();
  * intentsSettingsBuilder
  *     .getIntentSettings()
  *     .setRetrySettings(
- *         intentsSettingsBuilder
- *             .getIntentSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         intentsSettingsBuilder.getIntentSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * IntentsSettings intentsSettings = intentsSettingsBuilder.build();
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/KnowledgeBasesClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/KnowledgeBasesClient.java
index 38ca82b2ac2f..cb86e3d878a6 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/KnowledgeBasesClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/KnowledgeBasesClient.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 (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
  *   KnowledgeBaseName name =
  *       KnowledgeBaseName.ofProjectKnowledgeBaseName("[PROJECT]", "[KNOWLEDGE_BASE]");
@@ -85,8 +88,11 @@
  * 

To customize credentials: * *

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

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * KnowledgeBasesSettings knowledgeBasesSettings =
  *     KnowledgeBasesSettings.newBuilder().setEndpoint(myEndpoint).build();
  * KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create(knowledgeBasesSettings);
@@ -108,8 +117,11 @@
  * the wire:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * KnowledgeBasesSettings knowledgeBasesSettings =
  *     KnowledgeBasesSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -177,8 +189,11 @@ public KnowledgeBasesStub 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 (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (KnowledgeBase element : knowledgeBasesClient.listKnowledgeBases(parent).iterateAll()) {
@@ -206,8 +221,11 @@ public final ListKnowledgeBasesPagedResponse listKnowledgeBases(LocationName par
    * 

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
    *   String parent = ProjectName.of("[PROJECT]").toString();
    *   for (KnowledgeBase element : knowledgeBasesClient.listKnowledgeBases(parent).iterateAll()) {
@@ -262,8 +283,11 @@ public final ListKnowledgeBasesPagedResponse listKnowledgeBases(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 (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
    *   ListKnowledgeBasesRequest request =
    *       ListKnowledgeBasesRequest.newBuilder()
@@ -293,8 +317,11 @@ public final ListKnowledgeBasesPagedResponse listKnowledgeBases(
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
    *   KnowledgeBaseName name =
    *       KnowledgeBaseName.ofProjectKnowledgeBaseName("[PROJECT]", "[KNOWLEDGE_BASE]");
@@ -388,8 +421,11 @@ public final KnowledgeBase getKnowledgeBase(KnowledgeBaseName 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 (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
    *   String name =
    *       KnowledgeBaseName.ofProjectKnowledgeBaseName("[PROJECT]", "[KNOWLEDGE_BASE]").toString();
@@ -413,8 +449,11 @@ public final KnowledgeBase getKnowledgeBase(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 (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
    *   GetKnowledgeBaseRequest request =
    *       GetKnowledgeBaseRequest.newBuilder()
@@ -440,8 +479,11 @@ public final KnowledgeBase getKnowledgeBase(GetKnowledgeBaseRequest 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 (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
    *   GetKnowledgeBaseRequest request =
    *       GetKnowledgeBaseRequest.newBuilder()
@@ -467,8 +509,11 @@ public final UnaryCallable getKnowledgeB
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
    *   KnowledgeBaseName name =
    *       KnowledgeBaseName.ofProjectKnowledgeBaseName("[PROJECT]", "[KNOWLEDGE_BASE]");
@@ -638,8 +698,11 @@ public final void deleteKnowledgeBase(KnowledgeBaseName 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 (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
    *   String name =
    *       KnowledgeBaseName.ofProjectKnowledgeBaseName("[PROJECT]", "[KNOWLEDGE_BASE]").toString();
@@ -664,8 +727,11 @@ public final void deleteKnowledgeBase(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 (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
    *   DeleteKnowledgeBaseRequest request =
    *       DeleteKnowledgeBaseRequest.newBuilder()
@@ -692,8 +758,11 @@ public final void deleteKnowledgeBase(DeleteKnowledgeBaseRequest 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 (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
    *   DeleteKnowledgeBaseRequest request =
    *       DeleteKnowledgeBaseRequest.newBuilder()
@@ -720,8 +789,11 @@ public final UnaryCallable deleteKnowledgeBas
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   ApiFuture future = knowledgeBasesClient.getLocationCallable().futureCall(request);
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/KnowledgeBasesSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/KnowledgeBasesSettings.java
index 24737da183d8..9c875e35855b 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/KnowledgeBasesSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/KnowledgeBasesSettings.java
@@ -59,17 +59,17 @@
  * 

For example, to set the total timeout of getKnowledgeBase 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
  * KnowledgeBasesSettings.Builder knowledgeBasesSettingsBuilder =
  *     KnowledgeBasesSettings.newBuilder();
  * knowledgeBasesSettingsBuilder
  *     .getKnowledgeBaseSettings()
  *     .setRetrySettings(
- *         knowledgeBasesSettingsBuilder
- *             .getKnowledgeBaseSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         knowledgeBasesSettingsBuilder.getKnowledgeBaseSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * KnowledgeBasesSettings knowledgeBasesSettings = knowledgeBasesSettingsBuilder.build();
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ParticipantsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ParticipantsClient.java
index 97f2f62b294a..d7acb004e02a 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ParticipantsClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ParticipantsClient.java
@@ -45,8 +45,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 (ParticipantsClient participantsClient = ParticipantsClient.create()) {
  *   ConversationName parent =
  *       ConversationName.ofProjectConversationName("[PROJECT]", "[CONVERSATION]");
@@ -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
  * ParticipantsSettings participantsSettings =
  *     ParticipantsSettings.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
  * ParticipantsSettings participantsSettings =
  *     ParticipantsSettings.newBuilder().setEndpoint(myEndpoint).build();
  * ParticipantsClient participantsClient = ParticipantsClient.create(participantsSettings);
@@ -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
  * ParticipantsSettings participantsSettings =
  *     ParticipantsSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -175,8 +187,11 @@ public ParticipantsStub 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 (ParticipantsClient participantsClient = ParticipantsClient.create()) {
    *   ConversationName parent =
    *       ConversationName.ofProjectConversationName("[PROJECT]", "[CONVERSATION]");
@@ -207,8 +222,11 @@ public final Participant createParticipant(ConversationName parent, Participant
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
    *   ParticipantName name =
    *       ParticipantName.ofProjectConversationParticipantName(
@@ -320,8 +347,11 @@ public final Participant getParticipant(ParticipantName 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 (ParticipantsClient participantsClient = ParticipantsClient.create()) {
    *   String name =
    *       ParticipantName.ofProjectConversationParticipantName(
@@ -348,8 +378,11 @@ public final Participant getParticipant(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 (ParticipantsClient participantsClient = ParticipantsClient.create()) {
    *   GetParticipantRequest request =
    *       GetParticipantRequest.newBuilder()
@@ -376,8 +409,11 @@ public final Participant getParticipant(GetParticipantRequest 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 (ParticipantsClient participantsClient = ParticipantsClient.create()) {
    *   GetParticipantRequest request =
    *       GetParticipantRequest.newBuilder()
@@ -404,8 +440,11 @@ public final UnaryCallable getParticipantCal
    * 

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
    *   String parent =
    *       ConversationName.ofProjectConversationName("[PROJECT]", "[CONVERSATION]").toString();
@@ -464,8 +506,11 @@ public final ListParticipantsPagedResponse listParticipants(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 (ParticipantsClient participantsClient = ParticipantsClient.create()) {
    *   ListParticipantsRequest request =
    *       ListParticipantsRequest.newBuilder()
@@ -495,8 +540,11 @@ public final ListParticipantsPagedResponse listParticipants(ListParticipantsRequ
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
    *   UpdateParticipantRequest request =
    *       UpdateParticipantRequest.newBuilder()
@@ -621,8 +678,11 @@ public final Participant updateParticipant(UpdateParticipantRequest 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 (ParticipantsClient participantsClient = ParticipantsClient.create()) {
    *   UpdateParticipantRequest request =
    *       UpdateParticipantRequest.newBuilder()
@@ -651,8 +711,11 @@ public final UnaryCallable updateParticip
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
    *   AnalyzeContentRequest request =
    *       AnalyzeContentRequest.newBuilder()
@@ -840,8 +915,11 @@ public final AnalyzeContentResponse analyzeContent(AnalyzeContentRequest 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 (ParticipantsClient participantsClient = ParticipantsClient.create()) {
    *   AnalyzeContentRequest request =
    *       AnalyzeContentRequest.newBuilder()
@@ -874,8 +952,11 @@ public final AnalyzeContentResponse analyzeContent(AnalyzeContentRequest 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 (ParticipantsClient participantsClient = ParticipantsClient.create()) {
    *   ParticipantName parent =
    *       ParticipantName.ofProjectConversationParticipantName(
@@ -904,8 +985,11 @@ public final SuggestArticlesResponse suggestArticles(ParticipantName 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 (ParticipantsClient participantsClient = ParticipantsClient.create()) {
    *   String parent =
    *       ParticipantName.ofProjectConversationParticipantName(
@@ -932,8 +1016,11 @@ public final SuggestArticlesResponse suggestArticles(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 (ParticipantsClient participantsClient = ParticipantsClient.create()) {
    *   SuggestArticlesRequest request =
    *       SuggestArticlesRequest.newBuilder()
@@ -966,8 +1053,11 @@ public final SuggestArticlesResponse suggestArticles(SuggestArticlesRequest requ
    * 

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
    *   ParticipantName parent =
    *       ParticipantName.ofProjectConversationParticipantName(
@@ -1031,8 +1124,11 @@ public final SuggestFaqAnswersResponse suggestFaqAnswers(ParticipantName 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 (ParticipantsClient participantsClient = ParticipantsClient.create()) {
    *   String parent =
    *       ParticipantName.ofProjectConversationParticipantName(
@@ -1060,8 +1156,11 @@ public final SuggestFaqAnswersResponse suggestFaqAnswers(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 (ParticipantsClient participantsClient = ParticipantsClient.create()) {
    *   SuggestFaqAnswersRequest request =
    *       SuggestFaqAnswersRequest.newBuilder()
@@ -1094,8 +1193,11 @@ public final SuggestFaqAnswersResponse suggestFaqAnswers(SuggestFaqAnswersReques
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
    *   String parent =
    *       ParticipantName.ofProjectConversationParticipantName(
@@ -1188,8 +1296,11 @@ public final SuggestSmartRepliesResponse suggestSmartReplies(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 (ParticipantsClient participantsClient = ParticipantsClient.create()) {
    *   SuggestSmartRepliesRequest request =
    *       SuggestSmartRepliesRequest.newBuilder()
@@ -1222,8 +1333,11 @@ public final SuggestSmartRepliesResponse suggestSmartReplies(SuggestSmartReplies
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   ApiFuture future = participantsClient.getLocationCallable().futureCall(request);
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ParticipantsSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ParticipantsSettings.java
index cc2af47e3621..9d72fd69b35d 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ParticipantsSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ParticipantsSettings.java
@@ -58,16 +58,16 @@
  * 

For example, to set the total timeout of createParticipant 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
  * ParticipantsSettings.Builder participantsSettingsBuilder = ParticipantsSettings.newBuilder();
  * participantsSettingsBuilder
  *     .createParticipantSettings()
  *     .setRetrySettings(
- *         participantsSettingsBuilder
- *             .createParticipantSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         participantsSettingsBuilder.createParticipantSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * ParticipantsSettings participantsSettings = participantsSettingsBuilder.build();
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypesClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypesClient.java
index 481effa93a13..232dbd19f3e1 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypesClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypesClient.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 (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
  *   SessionEntityTypeName name =
  *       SessionEntityTypeName.ofProjectSessionEntityTypeName(
@@ -87,8 +90,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
  * SessionEntityTypesSettings sessionEntityTypesSettings =
  *     SessionEntityTypesSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -100,8 +106,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
  * SessionEntityTypesSettings sessionEntityTypesSettings =
  *     SessionEntityTypesSettings.newBuilder().setEndpoint(myEndpoint).build();
  * SessionEntityTypesClient sessionEntityTypesClient =
@@ -112,8 +121,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
  * SessionEntityTypesSettings sessionEntityTypesSettings =
  *     SessionEntityTypesSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -185,8 +197,11 @@ public SessionEntityTypesStub 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 (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
    *   SessionName parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]");
    *   for (SessionEntityType element :
@@ -221,8 +236,11 @@ public final ListSessionEntityTypesPagedResponse listSessionEntityTypes(SessionN
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
    *   SessionEntityTypeName name =
    *       SessionEntityTypeName.ofProjectSessionEntityTypeName(
@@ -398,8 +428,11 @@ public final SessionEntityType getSessionEntityType(SessionEntityTypeName 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 (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
    *   String name =
    *       SessionEntityTypeName.ofProjectSessionEntityTypeName(
@@ -433,8 +466,11 @@ public final SessionEntityType getSessionEntityType(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 (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
    *   GetSessionEntityTypeRequest request =
    *       GetSessionEntityTypeRequest.newBuilder()
@@ -464,8 +500,11 @@ public final SessionEntityType getSessionEntityType(GetSessionEntityTypeRequest
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
    *   SessionEntityTypeName name =
    *       SessionEntityTypeName.ofProjectSessionEntityTypeName(
@@ -796,8 +862,11 @@ public final void deleteSessionEntityType(SessionEntityTypeName 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 (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
    *   String name =
    *       SessionEntityTypeName.ofProjectSessionEntityTypeName(
@@ -831,8 +900,11 @@ public final void deleteSessionEntityType(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 (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
    *   DeleteSessionEntityTypeRequest request =
    *       DeleteSessionEntityTypeRequest.newBuilder()
@@ -862,8 +934,11 @@ public final void deleteSessionEntityType(DeleteSessionEntityTypeRequest 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 (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
    *   DeleteSessionEntityTypeRequest request =
    *       DeleteSessionEntityTypeRequest.newBuilder()
@@ -891,8 +966,11 @@ public final void deleteSessionEntityType(DeleteSessionEntityTypeRequest 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 (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
    *   ListLocationsRequest request =
    *       ListLocationsRequest.newBuilder()
@@ -921,8 +999,11 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   ApiFuture future =
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypesSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypesSettings.java
index b254b995cb4f..30f3fdd6e786 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypesSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypesSettings.java
@@ -59,8 +59,11 @@
  * 

For example, to set the total timeout of getSessionEntityType 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
  * SessionEntityTypesSettings.Builder sessionEntityTypesSettingsBuilder =
  *     SessionEntityTypesSettings.newBuilder();
  * sessionEntityTypesSettingsBuilder
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionsClient.java
index 5d625416f8e7..d7ef5582729b 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionsClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionsClient.java
@@ -48,8 +48,11 @@
  * calls that map to API methods. Sample code to get started:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (SessionsClient sessionsClient = SessionsClient.create()) {
  *   SessionName session = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]");
  *   QueryInput queryInput = QueryInput.newBuilder().build();
@@ -86,8 +89,11 @@
  * 

To customize credentials: * *

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

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * SessionsSettings sessionsSettings =
  *     SessionsSettings.newBuilder().setEndpoint(myEndpoint).build();
  * SessionsClient sessionsClient = SessionsClient.create(sessionsSettings);
@@ -109,8 +118,11 @@
  * the wire:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * SessionsSettings sessionsSettings =
  *     SessionsSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -187,8 +199,11 @@ public SessionsStub 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 (SessionsClient sessionsClient = SessionsClient.create()) {
    *   SessionName session = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]");
    *   QueryInput queryInput = QueryInput.newBuilder().build();
@@ -243,8 +258,11 @@ public final DetectIntentResponse detectIntent(SessionName session, QueryInput q
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (SessionsClient sessionsClient = SessionsClient.create()) {
    *   String session = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]").toString();
    *   QueryInput queryInput = QueryInput.newBuilder().build();
@@ -296,8 +314,11 @@ public final DetectIntentResponse detectIntent(String session, QueryInput queryI
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (SessionsClient sessionsClient = SessionsClient.create()) {
    *   DetectIntentRequest request =
    *       DetectIntentRequest.newBuilder()
@@ -337,8 +358,11 @@ public final DetectIntentResponse detectIntent(DetectIntentRequest 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 (SessionsClient sessionsClient = SessionsClient.create()) {
    *   DetectIntentRequest request =
    *       DetectIntentRequest.newBuilder()
@@ -378,8 +402,11 @@ public final UnaryCallable detectInte
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (SessionsClient sessionsClient = SessionsClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   ApiFuture future = sessionsClient.getLocationCallable().futureCall(request);
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionsSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionsSettings.java
index b4fdfb84f8ab..8737fb32e046 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionsSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionsSettings.java
@@ -58,16 +58,16 @@
  * 

For example, to set the total timeout of detectIntent 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
  * SessionsSettings.Builder sessionsSettingsBuilder = SessionsSettings.newBuilder();
  * sessionsSettingsBuilder
  *     .detectIntentSettings()
  *     .setRetrySettings(
- *         sessionsSettingsBuilder
- *             .detectIntentSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         sessionsSettingsBuilder.detectIntentSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * SessionsSettings sessionsSettings = sessionsSettingsBuilder.build();
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/VersionsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/VersionsClient.java
index 33d83304ee73..cd2931b73cc9 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/VersionsClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/VersionsClient.java
@@ -46,8 +46,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 (VersionsClient versionsClient = VersionsClient.create()) {
  *   VersionName name = VersionName.ofProjectVersionName("[PROJECT]", "[VERSION]");
  *   Version response = versionsClient.getVersion(name);
@@ -83,8 +86,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
  * VersionsSettings versionsSettings =
  *     VersionsSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -95,8 +101,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
  * VersionsSettings versionsSettings =
  *     VersionsSettings.newBuilder().setEndpoint(myEndpoint).build();
  * VersionsClient versionsClient = VersionsClient.create(versionsSettings);
@@ -106,8 +115,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
  * VersionsSettings versionsSettings =
  *     VersionsSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -173,8 +185,11 @@ public VersionsStub 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 (VersionsClient versionsClient = VersionsClient.create()) {
    *   AgentName parent = AgentName.ofProjectName("[PROJECT]");
    *   for (Version element : versionsClient.listVersions(parent).iterateAll()) {
@@ -203,8 +218,11 @@ public final ListVersionsPagedResponse listVersions(AgentName 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 (VersionsClient versionsClient = VersionsClient.create()) {
    *   String parent = AgentName.ofProjectName("[PROJECT]").toString();
    *   for (Version element : versionsClient.listVersions(parent).iterateAll()) {
@@ -230,8 +248,11 @@ public final ListVersionsPagedResponse listVersions(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 (VersionsClient versionsClient = VersionsClient.create()) {
    *   ListVersionsRequest request =
    *       ListVersionsRequest.newBuilder()
@@ -259,8 +280,11 @@ public final ListVersionsPagedResponse listVersions(ListVersionsRequest 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 (VersionsClient versionsClient = VersionsClient.create()) {
    *   ListVersionsRequest request =
    *       ListVersionsRequest.newBuilder()
@@ -288,8 +312,11 @@ public final ListVersionsPagedResponse listVersions(ListVersionsRequest 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 (VersionsClient versionsClient = VersionsClient.create()) {
    *   ListVersionsRequest request =
    *       ListVersionsRequest.newBuilder()
@@ -323,8 +350,11 @@ public final UnaryCallable listVersio
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VersionsClient versionsClient = VersionsClient.create()) {
    *   VersionName name = VersionName.ofProjectVersionName("[PROJECT]", "[VERSION]");
    *   Version response = versionsClient.getVersion(name);
@@ -350,8 +380,11 @@ public final Version getVersion(VersionName 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 (VersionsClient versionsClient = VersionsClient.create()) {
    *   String name = VersionName.ofProjectVersionName("[PROJECT]", "[VERSION]").toString();
    *   Version response = versionsClient.getVersion(name);
@@ -376,8 +409,11 @@ public final Version getVersion(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 (VersionsClient versionsClient = VersionsClient.create()) {
    *   GetVersionRequest request =
    *       GetVersionRequest.newBuilder()
@@ -401,8 +437,11 @@ public final Version getVersion(GetVersionRequest 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 (VersionsClient versionsClient = VersionsClient.create()) {
    *   GetVersionRequest request =
    *       GetVersionRequest.newBuilder()
@@ -427,8 +466,11 @@ public final UnaryCallable getVersionCallable() {
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VersionsClient versionsClient = VersionsClient.create()) {
    *   CreateVersionRequest request =
    *       CreateVersionRequest.newBuilder()
@@ -518,8 +566,11 @@ public final Version createVersion(CreateVersionRequest 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 (VersionsClient versionsClient = VersionsClient.create()) {
    *   CreateVersionRequest request =
    *       CreateVersionRequest.newBuilder()
@@ -546,8 +597,11 @@ public final UnaryCallable createVersionCallable(
    * 

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VersionsClient versionsClient = VersionsClient.create()) {
    *   UpdateVersionRequest request =
    *       UpdateVersionRequest.newBuilder()
@@ -607,8 +664,11 @@ public final Version updateVersion(UpdateVersionRequest 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 (VersionsClient versionsClient = VersionsClient.create()) {
    *   UpdateVersionRequest request =
    *       UpdateVersionRequest.newBuilder()
@@ -632,8 +692,11 @@ public final UnaryCallable updateVersionCallable(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VersionsClient versionsClient = VersionsClient.create()) {
    *   VersionName name = VersionName.ofProjectVersionName("[PROJECT]", "[VERSION]");
    *   versionsClient.deleteVersion(name);
@@ -659,8 +722,11 @@ public final void deleteVersion(VersionName 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 (VersionsClient versionsClient = VersionsClient.create()) {
    *   String name = VersionName.ofProjectVersionName("[PROJECT]", "[VERSION]").toString();
    *   versionsClient.deleteVersion(name);
@@ -685,8 +751,11 @@ public final void deleteVersion(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 (VersionsClient versionsClient = VersionsClient.create()) {
    *   DeleteVersionRequest request =
    *       DeleteVersionRequest.newBuilder()
@@ -710,8 +779,11 @@ public final void deleteVersion(DeleteVersionRequest 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 (VersionsClient versionsClient = VersionsClient.create()) {
    *   DeleteVersionRequest request =
    *       DeleteVersionRequest.newBuilder()
@@ -734,8 +806,11 @@ public final UnaryCallable deleteVersionCallable()
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VersionsClient versionsClient = VersionsClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   ApiFuture future = versionsClient.getLocationCallable().futureCall(request);
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/VersionsSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/VersionsSettings.java
index 1521b76222cd..781e62cbcdca 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/VersionsSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/VersionsSettings.java
@@ -59,16 +59,16 @@
  * 

For example, to set the total timeout of getVersion 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
  * VersionsSettings.Builder versionsSettingsBuilder = VersionsSettings.newBuilder();
  * versionsSettingsBuilder
  *     .getVersionSettings()
  *     .setRetrySettings(
- *         versionsSettingsBuilder
- *             .getVersionSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         versionsSettingsBuilder.getVersionSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * VersionsSettings versionsSettings = versionsSettingsBuilder.build();
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/package-info.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/package-info.java
index 8f724e01a0ca..5ada9f9163fd 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/package-info.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/package-info.java
@@ -26,8 +26,11 @@
  * 

Sample for AgentsClient: * *

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

Sample for AnswerRecordsClient: * *

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

Sample for ContextsClient: * *

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

Sample for ConversationsClient: * *

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

Sample for ConversationDatasetsClient: * *

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

Sample for ConversationModelsClient: * *

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

Sample for ConversationProfilesClient: * *

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

Sample for DocumentsClient: * *

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

Sample for EntityTypesClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
  *   EntityTypeName name = EntityTypeName.ofProjectEntityTypeName("[PROJECT]", "[ENTITY_TYPE]");
  *   EntityType response = entityTypesClient.getEntityType(name);
@@ -180,8 +207,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()) {
  *   GetEnvironmentRequest request =
  *       GetEnvironmentRequest.newBuilder()
@@ -200,8 +230,11 @@
  * 

Sample for FulfillmentsClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (FulfillmentsClient fulfillmentsClient = FulfillmentsClient.create()) {
  *   FulfillmentName name = FulfillmentName.ofProjectName("[PROJECT]");
  *   Fulfillment response = fulfillmentsClient.getFulfillment(name);
@@ -215,8 +248,11 @@
  * 

Sample for IntentsClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (IntentsClient intentsClient = IntentsClient.create()) {
  *   IntentName name = IntentName.ofProjectIntentName("[PROJECT]", "[INTENT]");
  *   Intent response = intentsClient.getIntent(name);
@@ -231,8 +267,11 @@
  * 

Sample for KnowledgeBasesClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
  *   KnowledgeBaseName name =
  *       KnowledgeBaseName.ofProjectKnowledgeBaseName("[PROJECT]", "[KNOWLEDGE_BASE]");
@@ -248,8 +287,11 @@
  * 

Sample for ParticipantsClient: * *

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

Sample for SessionsClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (SessionsClient sessionsClient = SessionsClient.create()) {
  *   SessionName session = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]");
  *   QueryInput queryInput = QueryInput.newBuilder().build();
@@ -285,8 +330,11 @@
  * 

Sample for SessionEntityTypesClient: * *

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

Sample for VersionsClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (VersionsClient versionsClient = VersionsClient.create()) {
  *   VersionName name = VersionName.ofProjectVersionName("[PROJECT]", "[VERSION]");
  *   Version response = versionsClient.getVersion(name);
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/AgentsStubSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/AgentsStubSettings.java
index 2f1256b6a638..a68d5b0a464d 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/AgentsStubSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/AgentsStubSettings.java
@@ -95,16 +95,16 @@
  * 

For example, to set the total timeout of getAgent 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
  * AgentsStubSettings.Builder agentsSettingsBuilder = AgentsStubSettings.newBuilder();
  * agentsSettingsBuilder
  *     .getAgentSettings()
  *     .setRetrySettings(
- *         agentsSettingsBuilder
- *             .getAgentSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         agentsSettingsBuilder.getAgentSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * AgentsStubSettings agentsSettings = agentsSettingsBuilder.build();
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/AnswerRecordsStubSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/AnswerRecordsStubSettings.java
index eb5f60ace972..d84954f0b418 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/AnswerRecordsStubSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/AnswerRecordsStubSettings.java
@@ -79,17 +79,17 @@
  * 

For example, to set the total timeout of updateAnswerRecord 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
  * AnswerRecordsStubSettings.Builder answerRecordsSettingsBuilder =
  *     AnswerRecordsStubSettings.newBuilder();
  * answerRecordsSettingsBuilder
  *     .updateAnswerRecordSettings()
  *     .setRetrySettings(
- *         answerRecordsSettingsBuilder
- *             .updateAnswerRecordSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         answerRecordsSettingsBuilder.updateAnswerRecordSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * AnswerRecordsStubSettings answerRecordsSettings = answerRecordsSettingsBuilder.build();
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/ContextsStubSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/ContextsStubSettings.java
index 8efa1b92ba06..8fd0f83958c4 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/ContextsStubSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/ContextsStubSettings.java
@@ -84,16 +84,16 @@
  * 

For example, to set the total timeout of getContext 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
  * ContextsStubSettings.Builder contextsSettingsBuilder = ContextsStubSettings.newBuilder();
  * contextsSettingsBuilder
  *     .getContextSettings()
  *     .setRetrySettings(
- *         contextsSettingsBuilder
- *             .getContextSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         contextsSettingsBuilder.getContextSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * ContextsStubSettings contextsSettings = contextsSettingsBuilder.build();
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/ConversationDatasetsStubSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/ConversationDatasetsStubSettings.java
index 9c95d252df0a..84994434161f 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/ConversationDatasetsStubSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/ConversationDatasetsStubSettings.java
@@ -92,8 +92,11 @@
  * 

For example, to set the total timeout of getConversationDataset 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
  * ConversationDatasetsStubSettings.Builder conversationDatasetsSettingsBuilder =
  *     ConversationDatasetsStubSettings.newBuilder();
  * conversationDatasetsSettingsBuilder
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/ConversationModelsStubSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/ConversationModelsStubSettings.java
index a74fef1fc906..9bdb584ea19b 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/ConversationModelsStubSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/ConversationModelsStubSettings.java
@@ -100,8 +100,11 @@
  * 

For example, to set the total timeout of getConversationModel 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
  * ConversationModelsStubSettings.Builder conversationModelsSettingsBuilder =
  *     ConversationModelsStubSettings.newBuilder();
  * conversationModelsSettingsBuilder
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/ConversationProfilesStubSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/ConversationProfilesStubSettings.java
index 8bf697d944d5..1f30033ae37b 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/ConversationProfilesStubSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/ConversationProfilesStubSettings.java
@@ -92,8 +92,11 @@
  * 

For example, to set the total timeout of getConversationProfile 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
  * ConversationProfilesStubSettings.Builder conversationProfilesSettingsBuilder =
  *     ConversationProfilesStubSettings.newBuilder();
  * conversationProfilesSettingsBuilder
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/ConversationsStubSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/ConversationsStubSettings.java
index c5cfeb422374..00887b4ddb6e 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/ConversationsStubSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/ConversationsStubSettings.java
@@ -85,17 +85,17 @@
  * 

For example, to set the total timeout of createConversation 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
  * ConversationsStubSettings.Builder conversationsSettingsBuilder =
  *     ConversationsStubSettings.newBuilder();
  * conversationsSettingsBuilder
  *     .createConversationSettings()
  *     .setRetrySettings(
- *         conversationsSettingsBuilder
- *             .createConversationSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         conversationsSettingsBuilder.createConversationSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * ConversationsStubSettings conversationsSettings = conversationsSettingsBuilder.build();
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/DocumentsStubSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/DocumentsStubSettings.java
index fa4312d7fe8c..54c0dda62e51 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/DocumentsStubSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/DocumentsStubSettings.java
@@ -93,16 +93,16 @@
  * 

For example, to set the total timeout of getDocument 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
  * DocumentsStubSettings.Builder documentsSettingsBuilder = DocumentsStubSettings.newBuilder();
  * documentsSettingsBuilder
  *     .getDocumentSettings()
  *     .setRetrySettings(
- *         documentsSettingsBuilder
- *             .getDocumentSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         documentsSettingsBuilder.getDocumentSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * DocumentsStubSettings documentsSettings = documentsSettingsBuilder.build();
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/EntityTypesStubSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/EntityTypesStubSettings.java
index ce42210d7566..712d71d9485e 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/EntityTypesStubSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/EntityTypesStubSettings.java
@@ -95,17 +95,17 @@
  * 

For example, to set the total timeout of getEntityType 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
  * EntityTypesStubSettings.Builder entityTypesSettingsBuilder =
  *     EntityTypesStubSettings.newBuilder();
  * entityTypesSettingsBuilder
  *     .getEntityTypeSettings()
  *     .setRetrySettings(
- *         entityTypesSettingsBuilder
- *             .getEntityTypeSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         entityTypesSettingsBuilder.getEntityTypeSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * EntityTypesStubSettings entityTypesSettings = entityTypesSettingsBuilder.build();
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/EnvironmentsStubSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/EnvironmentsStubSettings.java
index e24852da0b00..14ded4847fce 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/EnvironmentsStubSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/EnvironmentsStubSettings.java
@@ -86,17 +86,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-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/FulfillmentsStubSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/FulfillmentsStubSettings.java
index fd5fbf0cd7b9..3be958581bea 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/FulfillmentsStubSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/FulfillmentsStubSettings.java
@@ -77,17 +77,17 @@
  * 

For example, to set the total timeout of getFulfillment 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
  * FulfillmentsStubSettings.Builder fulfillmentsSettingsBuilder =
  *     FulfillmentsStubSettings.newBuilder();
  * fulfillmentsSettingsBuilder
  *     .getFulfillmentSettings()
  *     .setRetrySettings(
- *         fulfillmentsSettingsBuilder
- *             .getFulfillmentSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         fulfillmentsSettingsBuilder.getFulfillmentSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * FulfillmentsStubSettings fulfillmentsSettings = fulfillmentsSettingsBuilder.build();
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonAgentsStub.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonAgentsStub.java
index 03f775f37627..5f47ffe26952 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonAgentsStub.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonAgentsStub.java
@@ -139,7 +139,8 @@ public class HttpJsonAgentsStub extends AgentsStub {
                         return fields;
                       })
                   .setRequestBodyExtractor(
-                      request -> ProtoRestSerializer.create().toBody("agent", request.getAgent()))
+                      request ->
+                          ProtoRestSerializer.create().toBody("agent", request.getAgent(), false))
                   .build())
           .setResponseParser(
               ProtoMessageResponseParser.newBuilder()
@@ -245,7 +246,7 @@ public class HttpJsonAgentsStub extends AgentsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -285,7 +286,7 @@ public class HttpJsonAgentsStub extends AgentsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -325,7 +326,7 @@ public class HttpJsonAgentsStub extends AgentsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -365,7 +366,7 @@ public class HttpJsonAgentsStub extends AgentsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonAnswerRecordsStub.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonAnswerRecordsStub.java
index d17322101fa6..e386f7cc38ba 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonAnswerRecordsStub.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonAnswerRecordsStub.java
@@ -127,7 +127,7 @@ public class HttpJsonAnswerRecordsStub extends AnswerRecordsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("answerRecord", request.getAnswerRecord()))
+                                  .toBody("answerRecord", request.getAnswerRecord(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonContextsStub.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonContextsStub.java
index fcf49b1d8460..3305cc9ba1be 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonContextsStub.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonContextsStub.java
@@ -169,7 +169,8 @@ public class HttpJsonContextsStub extends ContextsStub {
                           })
                       .setRequestBodyExtractor(
                           request ->
-                              ProtoRestSerializer.create().toBody("context", request.getContext()))
+                              ProtoRestSerializer.create()
+                                  .toBody("context", request.getContext(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -210,7 +211,8 @@ public class HttpJsonContextsStub extends ContextsStub {
                           })
                       .setRequestBodyExtractor(
                           request ->
-                              ProtoRestSerializer.create().toBody("context", request.getContext()))
+                              ProtoRestSerializer.create()
+                                  .toBody("context", request.getContext(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonConversationDatasetsStub.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonConversationDatasetsStub.java
index 8316a51071a1..ef41a0b5d726 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonConversationDatasetsStub.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonConversationDatasetsStub.java
@@ -107,7 +107,10 @@ public class HttpJsonConversationDatasetsStub extends ConversationDatasetsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("conversationDataset", request.getConversationDataset()))
+                                  .toBody(
+                                      "conversationDataset",
+                                      request.getConversationDataset(),
+                                      false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -262,7 +265,7 @@ public class HttpJsonConversationDatasetsStub extends ConversationDatasetsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearName().build()))
+                                  .toBody("*", request.toBuilder().clearName().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonConversationModelsStub.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonConversationModelsStub.java
index 42dce90833ac..91d3ca17877c 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonConversationModelsStub.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonConversationModelsStub.java
@@ -118,7 +118,8 @@ public class HttpJsonConversationModelsStub extends ConversationModelsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("conversationModel", request.getConversationModel()))
+                                  .toBody(
+                                      "conversationModel", request.getConversationModel(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -272,7 +273,7 @@ public class HttpJsonConversationModelsStub extends ConversationModelsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearName().build()))
+                                  .toBody("*", request.toBuilder().clearName().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -314,7 +315,7 @@ public class HttpJsonConversationModelsStub extends ConversationModelsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearName().build()))
+                                  .toBody("*", request.toBuilder().clearName().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -435,7 +436,7 @@ public class HttpJsonConversationModelsStub extends ConversationModelsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonConversationProfilesStub.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonConversationProfilesStub.java
index 9ca7044bb69d..c53fe868689a 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonConversationProfilesStub.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonConversationProfilesStub.java
@@ -182,7 +182,10 @@ public class HttpJsonConversationProfilesStub extends ConversationProfilesStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("conversationProfile", request.getConversationProfile()))
+                                  .toBody(
+                                      "conversationProfile",
+                                      request.getConversationProfile(),
+                                      false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -225,7 +228,10 @@ public class HttpJsonConversationProfilesStub extends ConversationProfilesStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("conversationProfile", request.getConversationProfile()))
+                                  .toBody(
+                                      "conversationProfile",
+                                      request.getConversationProfile(),
+                                      false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -302,7 +308,9 @@ public class HttpJsonConversationProfilesStub extends ConversationProfilesStub {
                           request ->
                               ProtoRestSerializer.create()
                                   .toBody(
-                                      "*", request.toBuilder().clearConversationProfile().build()))
+                                      "*",
+                                      request.toBuilder().clearConversationProfile().build(),
+                                      false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -346,7 +354,9 @@ public class HttpJsonConversationProfilesStub extends ConversationProfilesStub {
                           request ->
                               ProtoRestSerializer.create()
                                   .toBody(
-                                      "*", request.toBuilder().clearConversationProfile().build()))
+                                      "*",
+                                      request.toBuilder().clearConversationProfile().build(),
+                                      false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonConversationsStub.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonConversationsStub.java
index b78596c6a3bf..3e94d06baf13 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonConversationsStub.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonConversationsStub.java
@@ -94,7 +94,7 @@ public class HttpJsonConversationsStub extends ConversationsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("conversation", request.getConversation()))
+                                  .toBody("conversation", request.getConversation(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -203,7 +203,7 @@ public class HttpJsonConversationsStub extends ConversationsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearName().build()))
+                                  .toBody("*", request.toBuilder().clearName().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonDocumentsStub.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonDocumentsStub.java
index 1d73ee1dda71..409a964f0486 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonDocumentsStub.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonDocumentsStub.java
@@ -183,7 +183,7 @@ public class HttpJsonDocumentsStub extends DocumentsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("document", request.getDocument()))
+                                  .toBody("document", request.getDocument(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -224,7 +224,7 @@ public class HttpJsonDocumentsStub extends DocumentsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -307,7 +307,7 @@ public class HttpJsonDocumentsStub extends DocumentsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("document", request.getDocument()))
+                                  .toBody("document", request.getDocument(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -349,7 +349,7 @@ public class HttpJsonDocumentsStub extends DocumentsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearName().build()))
+                                  .toBody("*", request.toBuilder().clearName().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -390,7 +390,7 @@ public class HttpJsonDocumentsStub extends DocumentsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearName().build()))
+                                  .toBody("*", request.toBuilder().clearName().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonEntityTypesStub.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonEntityTypesStub.java
index f73ae4f295d1..39512aed79f8 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonEntityTypesStub.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonEntityTypesStub.java
@@ -183,7 +183,7 @@ public class HttpJsonEntityTypesStub extends EntityTypesStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("entityType", request.getEntityType()))
+                                  .toBody("entityType", request.getEntityType(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -225,7 +225,7 @@ public class HttpJsonEntityTypesStub extends EntityTypesStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("entityType", request.getEntityType()))
+                                  .toBody("entityType", request.getEntityType(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -297,7 +297,7 @@ public class HttpJsonEntityTypesStub extends EntityTypesStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -338,7 +338,7 @@ public class HttpJsonEntityTypesStub extends EntityTypesStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -379,7 +379,7 @@ public class HttpJsonEntityTypesStub extends EntityTypesStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -420,7 +420,7 @@ public class HttpJsonEntityTypesStub extends EntityTypesStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -461,7 +461,7 @@ public class HttpJsonEntityTypesStub extends EntityTypesStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonEnvironmentsStub.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonEnvironmentsStub.java
index 899788687938..0f22e7b8df92 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonEnvironmentsStub.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonEnvironmentsStub.java
@@ -166,7 +166,7 @@ public class HttpJsonEnvironmentsStub extends EnvironmentsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("environment", request.getEnvironment()))
+                                  .toBody("environment", request.getEnvironment(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -210,7 +210,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-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonFulfillmentsStub.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonFulfillmentsStub.java
index f214fc79456d..7796ef4c11c2 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonFulfillmentsStub.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonFulfillmentsStub.java
@@ -122,7 +122,7 @@ public class HttpJsonFulfillmentsStub extends FulfillmentsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("fulfillment", request.getFulfillment()))
+                                  .toBody("fulfillment", request.getFulfillment(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonIntentsStub.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonIntentsStub.java
index 7a1dcbcb0c5e..2277d716407e 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonIntentsStub.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonIntentsStub.java
@@ -183,7 +183,8 @@ public class HttpJsonIntentsStub extends IntentsStub {
                           })
                       .setRequestBodyExtractor(
                           request ->
-                              ProtoRestSerializer.create().toBody("intent", request.getIntent()))
+                              ProtoRestSerializer.create()
+                                  .toBody("intent", request.getIntent(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -225,7 +226,8 @@ public class HttpJsonIntentsStub extends IntentsStub {
                           })
                       .setRequestBodyExtractor(
                           request ->
-                              ProtoRestSerializer.create().toBody("intent", request.getIntent()))
+                              ProtoRestSerializer.create()
+                                  .toBody("intent", request.getIntent(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -297,7 +299,7 @@ public class HttpJsonIntentsStub extends IntentsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -338,7 +340,7 @@ public class HttpJsonIntentsStub extends IntentsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonKnowledgeBasesStub.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonKnowledgeBasesStub.java
index 8be11f69b3f3..db0473826629 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonKnowledgeBasesStub.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonKnowledgeBasesStub.java
@@ -168,7 +168,7 @@ public class HttpJsonKnowledgeBasesStub extends KnowledgeBasesStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("knowledgeBase", request.getKnowledgeBase()))
+                                  .toBody("knowledgeBase", request.getKnowledgeBase(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -246,7 +246,7 @@ public class HttpJsonKnowledgeBasesStub extends KnowledgeBasesStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("knowledgeBase", request.getKnowledgeBase()))
+                                  .toBody("knowledgeBase", request.getKnowledgeBase(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonParticipantsStub.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonParticipantsStub.java
index 17ee77041992..1aee7cd5cd23 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonParticipantsStub.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonParticipantsStub.java
@@ -98,7 +98,7 @@ public class HttpJsonParticipantsStub extends ParticipantsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("participant", request.getParticipant()))
+                                  .toBody("participant", request.getParticipant(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -210,7 +210,7 @@ public class HttpJsonParticipantsStub extends ParticipantsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("participant", request.getParticipant()))
+                                  .toBody("participant", request.getParticipant(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -249,7 +249,8 @@ public class HttpJsonParticipantsStub extends ParticipantsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParticipant().build()))
+                                  .toBody(
+                                      "*", request.toBuilder().clearParticipant().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -287,7 +288,7 @@ public class HttpJsonParticipantsStub extends ParticipantsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -325,7 +326,7 @@ public class HttpJsonParticipantsStub extends ParticipantsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -363,7 +364,7 @@ public class HttpJsonParticipantsStub extends ParticipantsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonSessionEntityTypesStub.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonSessionEntityTypesStub.java
index 7332e92cf49b..d2052b95248c 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonSessionEntityTypesStub.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonSessionEntityTypesStub.java
@@ -175,7 +175,8 @@ public class HttpJsonSessionEntityTypesStub extends SessionEntityTypesStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("sessionEntityType", request.getSessionEntityType()))
+                                  .toBody(
+                                      "sessionEntityType", request.getSessionEntityType(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -220,7 +221,8 @@ public class HttpJsonSessionEntityTypesStub extends SessionEntityTypesStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("sessionEntityType", request.getSessionEntityType()))
+                                  .toBody(
+                                      "sessionEntityType", request.getSessionEntityType(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonSessionsStub.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonSessionsStub.java
index 7a673741095d..d19e6752417c 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonSessionsStub.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonSessionsStub.java
@@ -87,7 +87,7 @@ public class HttpJsonSessionsStub extends SessionsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearSession().build()))
+                                  .toBody("*", request.toBuilder().clearSession().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonVersionsStub.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonVersionsStub.java
index 1e39ecfdec50..a430b1246c15 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonVersionsStub.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/HttpJsonVersionsStub.java
@@ -159,7 +159,8 @@ public class HttpJsonVersionsStub extends VersionsStub {
                           })
                       .setRequestBodyExtractor(
                           request ->
-                              ProtoRestSerializer.create().toBody("version", request.getVersion()))
+                              ProtoRestSerializer.create()
+                                  .toBody("version", request.getVersion(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -198,7 +199,8 @@ public class HttpJsonVersionsStub extends VersionsStub {
                           })
                       .setRequestBodyExtractor(
                           request ->
-                              ProtoRestSerializer.create().toBody("version", request.getVersion()))
+                              ProtoRestSerializer.create()
+                                  .toBody("version", request.getVersion(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/IntentsStubSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/IntentsStubSettings.java
index 4a2ccc45f080..0c6be85fd3a1 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/IntentsStubSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/IntentsStubSettings.java
@@ -92,16 +92,16 @@
  * 

For example, to set the total timeout of getIntent 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
  * IntentsStubSettings.Builder intentsSettingsBuilder = IntentsStubSettings.newBuilder();
  * intentsSettingsBuilder
  *     .getIntentSettings()
  *     .setRetrySettings(
- *         intentsSettingsBuilder
- *             .getIntentSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         intentsSettingsBuilder.getIntentSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * IntentsStubSettings intentsSettings = intentsSettingsBuilder.build();
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/KnowledgeBasesStubSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/KnowledgeBasesStubSettings.java
index fb455bebf184..4c53d36e09d2 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/KnowledgeBasesStubSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/KnowledgeBasesStubSettings.java
@@ -83,17 +83,17 @@
  * 

For example, to set the total timeout of getKnowledgeBase 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
  * KnowledgeBasesStubSettings.Builder knowledgeBasesSettingsBuilder =
  *     KnowledgeBasesStubSettings.newBuilder();
  * knowledgeBasesSettingsBuilder
  *     .getKnowledgeBaseSettings()
  *     .setRetrySettings(
- *         knowledgeBasesSettingsBuilder
- *             .getKnowledgeBaseSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         knowledgeBasesSettingsBuilder.getKnowledgeBaseSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * KnowledgeBasesStubSettings knowledgeBasesSettings = knowledgeBasesSettingsBuilder.build();
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/ParticipantsStubSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/ParticipantsStubSettings.java
index 58a346d83ef5..9ff6e34e582a 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/ParticipantsStubSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/ParticipantsStubSettings.java
@@ -89,17 +89,17 @@
  * 

For example, to set the total timeout of createParticipant 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
  * ParticipantsStubSettings.Builder participantsSettingsBuilder =
  *     ParticipantsStubSettings.newBuilder();
  * participantsSettingsBuilder
  *     .createParticipantSettings()
  *     .setRetrySettings(
- *         participantsSettingsBuilder
- *             .createParticipantSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         participantsSettingsBuilder.createParticipantSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * ParticipantsStubSettings participantsSettings = participantsSettingsBuilder.build();
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/SessionEntityTypesStubSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/SessionEntityTypesStubSettings.java
index a29fb25b8c03..c0a97c56c105 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/SessionEntityTypesStubSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/SessionEntityTypesStubSettings.java
@@ -83,8 +83,11 @@
  * 

For example, to set the total timeout of getSessionEntityType 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
  * SessionEntityTypesStubSettings.Builder sessionEntityTypesSettingsBuilder =
  *     SessionEntityTypesStubSettings.newBuilder();
  * sessionEntityTypesSettingsBuilder
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/SessionsStubSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/SessionsStubSettings.java
index a236bac2a46e..b3fb420b1931 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/SessionsStubSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/SessionsStubSettings.java
@@ -79,16 +79,16 @@
  * 

For example, to set the total timeout of detectIntent 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
  * SessionsStubSettings.Builder sessionsSettingsBuilder = SessionsStubSettings.newBuilder();
  * sessionsSettingsBuilder
  *     .detectIntentSettings()
  *     .setRetrySettings(
- *         sessionsSettingsBuilder
- *             .detectIntentSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         sessionsSettingsBuilder.detectIntentSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * SessionsStubSettings sessionsSettings = sessionsSettingsBuilder.build();
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/VersionsStubSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/VersionsStubSettings.java
index e10d92d7bf30..5d4d8b8aa224 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/VersionsStubSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/VersionsStubSettings.java
@@ -83,16 +83,16 @@
  * 

For example, to set the total timeout of getVersion 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
  * VersionsStubSettings.Builder versionsSettingsBuilder = VersionsStubSettings.newBuilder();
  * versionsSettingsBuilder
  *     .getVersionSettings()
  *     .setRetrySettings(
- *         versionsSettingsBuilder
- *             .getVersionSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         versionsSettingsBuilder.getVersionSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * VersionsStubSettings versionsSettings = versionsSettingsBuilder.build();
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentsClient.java
index b7e775290d5c..1141f0b7e57e 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentsClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentsClient.java
@@ -51,8 +51,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 (AgentsClient agentsClient = AgentsClient.create()) {
  *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
  *   Agent response = agentsClient.getAgent(parent);
@@ -88,8 +91,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
  * AgentsSettings agentsSettings =
  *     AgentsSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -100,8 +106,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
  * AgentsSettings agentsSettings = AgentsSettings.newBuilder().setEndpoint(myEndpoint).build();
  * AgentsClient agentsClient = AgentsClient.create(agentsSettings);
  * }
@@ -110,8 +119,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
  * AgentsSettings agentsSettings =
  *     AgentsSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -203,8 +215,11 @@ public final OperationsClient getHttpJsonOperationsClient() {
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (AgentsClient agentsClient = AgentsClient.create()) {
    *   String parent = ProjectName.of("[PROJECT]").toString();
    *   Agent response = agentsClient.getAgent(parent);
@@ -280,8 +301,11 @@ public final Agent getAgent(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 (AgentsClient agentsClient = AgentsClient.create()) {
    *   GetAgentRequest request =
    *       GetAgentRequest.newBuilder().setParent(ProjectName.of("[PROJECT]").toString()).build();
@@ -303,8 +327,11 @@ public final Agent getAgent(GetAgentRequest 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 (AgentsClient agentsClient = AgentsClient.create()) {
    *   GetAgentRequest request =
    *       GetAgentRequest.newBuilder().setParent(ProjectName.of("[PROJECT]").toString()).build();
@@ -328,8 +355,11 @@ public final UnaryCallable getAgentCallable() {
    * 

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (AgentsClient agentsClient = AgentsClient.create()) {
    *   SetAgentRequest request =
    *       SetAgentRequest.newBuilder()
@@ -383,8 +416,11 @@ public final Agent setAgent(SetAgentRequest 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 (AgentsClient agentsClient = AgentsClient.create()) {
    *   SetAgentRequest request =
    *       SetAgentRequest.newBuilder()
@@ -408,8 +444,11 @@ public final UnaryCallable setAgentCallable() {
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (AgentsClient agentsClient = AgentsClient.create()) {
    *   String parent = ProjectName.of("[PROJECT]").toString();
    *   agentsClient.deleteAgent(parent);
@@ -489,8 +534,11 @@ public final void deleteAgent(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 (AgentsClient agentsClient = AgentsClient.create()) {
    *   DeleteAgentRequest request =
    *       DeleteAgentRequest.newBuilder().setParent(ProjectName.of("[PROJECT]").toString()).build();
@@ -512,8 +560,11 @@ public final void deleteAgent(DeleteAgentRequest 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 (AgentsClient agentsClient = AgentsClient.create()) {
    *   DeleteAgentRequest request =
    *       DeleteAgentRequest.newBuilder().setParent(ProjectName.of("[PROJECT]").toString()).build();
@@ -537,8 +588,11 @@ public final UnaryCallable deleteAgentCallable() {
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (AgentsClient agentsClient = AgentsClient.create()) {
    *   String parent = ProjectName.of("[PROJECT]").toString();
    *   for (Agent element : agentsClient.searchAgents(parent).iterateAll()) {
@@ -630,8 +690,11 @@ public final SearchAgentsPagedResponse searchAgents(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 (AgentsClient agentsClient = AgentsClient.create()) {
    *   SearchAgentsRequest request =
    *       SearchAgentsRequest.newBuilder()
@@ -662,8 +725,11 @@ public final SearchAgentsPagedResponse searchAgents(SearchAgentsRequest 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 (AgentsClient agentsClient = AgentsClient.create()) {
    *   SearchAgentsRequest request =
    *       SearchAgentsRequest.newBuilder()
@@ -694,8 +760,11 @@ public final SearchAgentsPagedResponse searchAgents(SearchAgentsRequest 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 (AgentsClient agentsClient = AgentsClient.create()) {
    *   SearchAgentsRequest request =
    *       SearchAgentsRequest.newBuilder()
@@ -741,8 +810,11 @@ public final UnaryCallable searchAgen
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (AgentsClient agentsClient = AgentsClient.create()) {
    *   String parent = ProjectName.of("[PROJECT]").toString();
    *   agentsClient.trainAgentAsync(parent).get();
@@ -854,8 +932,11 @@ public final OperationFuture trainAgentAsync(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 (AgentsClient agentsClient = AgentsClient.create()) {
    *   TrainAgentRequest request =
    *       TrainAgentRequest.newBuilder().setParent(ProjectName.of("[PROJECT]").toString()).build();
@@ -889,8 +970,11 @@ public final OperationFuture trainAgentAsync(TrainAgentRequest re
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (AgentsClient agentsClient = AgentsClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   ApiFuture future = agentsClient.getLocationCallable().futureCall(request);
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentsSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentsSettings.java
index d3a348892fa9..65f41285472f 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentsSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentsSettings.java
@@ -62,16 +62,16 @@
  * 

For example, to set the total timeout of getAgent 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
  * AgentsSettings.Builder agentsSettingsBuilder = AgentsSettings.newBuilder();
  * agentsSettingsBuilder
  *     .getAgentSettings()
  *     .setRetrySettings(
- *         agentsSettingsBuilder
- *             .getAgentSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         agentsSettingsBuilder.getAgentSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * AgentsSettings agentsSettings = agentsSettingsBuilder.build();
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/AnswerRecordsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/AnswerRecordsClient.java
index c891f2a80b07..920d56350db3 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/AnswerRecordsClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/AnswerRecordsClient.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 (AnswerRecordsClient answerRecordsClient = AnswerRecordsClient.create()) {
  *   GetAnswerRecordRequest request =
  *       GetAnswerRecordRequest.newBuilder().setName("name3373707").build();
@@ -85,8 +88,11 @@
  * 

To customize credentials: * *

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

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * AnswerRecordsSettings answerRecordsSettings =
  *     AnswerRecordsSettings.newBuilder().setEndpoint(myEndpoint).build();
  * AnswerRecordsClient answerRecordsClient = AnswerRecordsClient.create(answerRecordsSettings);
@@ -108,8 +117,11 @@
  * the wire:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * AnswerRecordsSettings answerRecordsSettings =
  *     AnswerRecordsSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -178,8 +190,11 @@ public AnswerRecordsStub 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 (AnswerRecordsClient answerRecordsClient = AnswerRecordsClient.create()) {
    *   GetAnswerRecordRequest request =
    *       GetAnswerRecordRequest.newBuilder().setName("name3373707").build();
@@ -203,8 +218,11 @@ public final AnswerRecord getAnswerRecord(GetAnswerRecordRequest 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 (AnswerRecordsClient answerRecordsClient = AnswerRecordsClient.create()) {
    *   GetAnswerRecordRequest request =
    *       GetAnswerRecordRequest.newBuilder().setName("name3373707").build();
@@ -229,8 +247,11 @@ public final UnaryCallable getAnswerRecord
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (AnswerRecordsClient answerRecordsClient = AnswerRecordsClient.create()) {
    *   String parent = ProjectName.of("[PROJECT]").toString();
    *   for (AnswerRecord element : answerRecordsClient.listAnswerRecords(parent).iterateAll()) {
@@ -314,8 +341,11 @@ public final ListAnswerRecordsPagedResponse listAnswerRecords(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 (AnswerRecordsClient answerRecordsClient = AnswerRecordsClient.create()) {
    *   ListAnswerRecordsRequest request =
    *       ListAnswerRecordsRequest.newBuilder()
@@ -344,8 +374,11 @@ public final ListAnswerRecordsPagedResponse listAnswerRecords(ListAnswerRecordsR
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (AnswerRecordsClient answerRecordsClient = AnswerRecordsClient.create()) {
    *   UpdateAnswerRecordRequest request =
    *       UpdateAnswerRecordRequest.newBuilder()
@@ -468,8 +510,11 @@ public final AnswerRecord updateAnswerRecord(UpdateAnswerRecordRequest 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 (AnswerRecordsClient answerRecordsClient = AnswerRecordsClient.create()) {
    *   UpdateAnswerRecordRequest request =
    *       UpdateAnswerRecordRequest.newBuilder()
@@ -494,8 +539,11 @@ public final UnaryCallable updateAnswer
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (AnswerRecordsClient answerRecordsClient = AnswerRecordsClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   ApiFuture future = answerRecordsClient.getLocationCallable().futureCall(request);
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/AnswerRecordsSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/AnswerRecordsSettings.java
index 46d1fb234a5f..ec09519219b4 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/AnswerRecordsSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/AnswerRecordsSettings.java
@@ -58,16 +58,16 @@
  * 

For example, to set the total timeout of getAnswerRecord 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
  * AnswerRecordsSettings.Builder answerRecordsSettingsBuilder = AnswerRecordsSettings.newBuilder();
  * answerRecordsSettingsBuilder
  *     .getAnswerRecordSettings()
  *     .setRetrySettings(
- *         answerRecordsSettingsBuilder
- *             .getAnswerRecordSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         answerRecordsSettingsBuilder.getAnswerRecordSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * AnswerRecordsSettings answerRecordsSettings = answerRecordsSettingsBuilder.build();
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextsClient.java
index b9d14bea0046..b1f26a0ee995 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextsClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextsClient.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 (ContextsClient contextsClient = ContextsClient.create()) {
  *   ContextName name =
  *       ContextName.ofProjectSessionContextName("[PROJECT]", "[SESSION]", "[CONTEXT]");
@@ -85,8 +88,11 @@
  * 

To customize credentials: * *

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

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * ContextsSettings contextsSettings =
  *     ContextsSettings.newBuilder().setEndpoint(myEndpoint).build();
  * ContextsClient contextsClient = ContextsClient.create(contextsSettings);
@@ -108,8 +117,11 @@
  * the wire:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * ContextsSettings contextsSettings =
  *     ContextsSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -176,8 +188,11 @@ public ContextsStub 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 (ContextsClient contextsClient = ContextsClient.create()) {
    *   SessionName parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]");
    *   for (Context element : contextsClient.listContexts(parent).iterateAll()) {
@@ -213,8 +228,11 @@ public final ListContextsPagedResponse listContexts(SessionName 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 (ContextsClient contextsClient = ContextsClient.create()) {
    *   String parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]").toString();
    *   for (Context element : contextsClient.listContexts(parent).iterateAll()) {
@@ -247,8 +265,11 @@ public final ListContextsPagedResponse listContexts(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 (ContextsClient contextsClient = ContextsClient.create()) {
    *   ListContextsRequest request =
    *       ListContextsRequest.newBuilder()
@@ -276,8 +297,11 @@ public final ListContextsPagedResponse listContexts(ListContextsRequest 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 (ContextsClient contextsClient = ContextsClient.create()) {
    *   ListContextsRequest request =
    *       ListContextsRequest.newBuilder()
@@ -305,8 +329,11 @@ public final ListContextsPagedResponse listContexts(ListContextsRequest 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 (ContextsClient contextsClient = ContextsClient.create()) {
    *   ListContextsRequest request =
    *       ListContextsRequest.newBuilder()
@@ -340,8 +367,11 @@ public final UnaryCallable listContex
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ContextsClient contextsClient = ContextsClient.create()) {
    *   ContextName name =
    *       ContextName.ofProjectSessionContextName("[PROJECT]", "[SESSION]", "[CONTEXT]");
@@ -375,8 +405,11 @@ public final Context getContext(ContextName 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 (ContextsClient contextsClient = ContextsClient.create()) {
    *   String name =
    *       ContextName.ofProjectSessionContextName("[PROJECT]", "[SESSION]", "[CONTEXT]").toString();
@@ -409,8 +442,11 @@ public final Context getContext(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 (ContextsClient contextsClient = ContextsClient.create()) {
    *   GetContextRequest request =
    *       GetContextRequest.newBuilder()
@@ -436,8 +472,11 @@ public final Context getContext(GetContextRequest 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 (ContextsClient contextsClient = ContextsClient.create()) {
    *   GetContextRequest request =
    *       GetContextRequest.newBuilder()
@@ -464,8 +503,11 @@ public final UnaryCallable getContextCallable() {
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ContextsClient contextsClient = ContextsClient.create()) {
    *   CreateContextRequest request =
    *       CreateContextRequest.newBuilder()
@@ -569,8 +617,11 @@ public final Context createContext(CreateContextRequest 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 (ContextsClient contextsClient = ContextsClient.create()) {
    *   CreateContextRequest request =
    *       CreateContextRequest.newBuilder()
@@ -594,8 +645,11 @@ public final UnaryCallable createContextCallable(
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ContextsClient contextsClient = ContextsClient.create()) {
    *   UpdateContextRequest request =
    *       UpdateContextRequest.newBuilder()
@@ -669,8 +729,11 @@ public final Context updateContext(UpdateContextRequest 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 (ContextsClient contextsClient = ContextsClient.create()) {
    *   UpdateContextRequest request =
    *       UpdateContextRequest.newBuilder()
@@ -694,8 +757,11 @@ public final UnaryCallable updateContextCallable(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ContextsClient contextsClient = ContextsClient.create()) {
    *   ContextName name =
    *       ContextName.ofProjectSessionContextName("[PROJECT]", "[SESSION]", "[CONTEXT]");
@@ -729,8 +795,11 @@ public final void deleteContext(ContextName 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 (ContextsClient contextsClient = ContextsClient.create()) {
    *   String name =
    *       ContextName.ofProjectSessionContextName("[PROJECT]", "[SESSION]", "[CONTEXT]").toString();
@@ -763,8 +832,11 @@ public final void deleteContext(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 (ContextsClient contextsClient = ContextsClient.create()) {
    *   DeleteContextRequest request =
    *       DeleteContextRequest.newBuilder()
@@ -790,8 +862,11 @@ public final void deleteContext(DeleteContextRequest 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 (ContextsClient contextsClient = ContextsClient.create()) {
    *   DeleteContextRequest request =
    *       DeleteContextRequest.newBuilder()
@@ -816,8 +891,11 @@ public final UnaryCallable deleteContextCallable()
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ContextsClient contextsClient = ContextsClient.create()) {
    *   SessionName parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]");
    *   contextsClient.deleteAllContexts(parent);
@@ -851,8 +929,11 @@ public final void deleteAllContexts(SessionName 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 (ContextsClient contextsClient = ContextsClient.create()) {
    *   String parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]").toString();
    *   contextsClient.deleteAllContexts(parent);
@@ -884,8 +965,11 @@ public final void deleteAllContexts(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 (ContextsClient contextsClient = ContextsClient.create()) {
    *   DeleteAllContextsRequest request =
    *       DeleteAllContextsRequest.newBuilder()
@@ -909,8 +993,11 @@ public final void deleteAllContexts(DeleteAllContextsRequest 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 (ContextsClient contextsClient = ContextsClient.create()) {
    *   DeleteAllContextsRequest request =
    *       DeleteAllContextsRequest.newBuilder()
@@ -933,8 +1020,11 @@ public final UnaryCallable deleteAllContextsCal
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ContextsClient contextsClient = ContextsClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   ApiFuture future = contextsClient.getLocationCallable().futureCall(request);
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextsSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextsSettings.java
index bab02b7f16dc..99105c0bbb2d 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextsSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextsSettings.java
@@ -59,16 +59,16 @@
  * 

For example, to set the total timeout of getContext 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
  * ContextsSettings.Builder contextsSettingsBuilder = ContextsSettings.newBuilder();
  * contextsSettingsBuilder
  *     .getContextSettings()
  *     .setRetrySettings(
- *         contextsSettingsBuilder
- *             .getContextSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         contextsSettingsBuilder.getContextSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * ContextsSettings contextsSettings = contextsSettingsBuilder.build();
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationProfilesClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationProfilesClient.java
index 3423d5b82e23..5e1127bd1b07 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationProfilesClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationProfilesClient.java
@@ -52,8 +52,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 (ConversationProfilesClient conversationProfilesClient =
  *     ConversationProfilesClient.create()) {
  *   ConversationProfileName name =
@@ -93,8 +96,11 @@
  * 

To customize credentials: * *

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

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * ConversationProfilesSettings conversationProfilesSettings =
  *     ConversationProfilesSettings.newBuilder().setEndpoint(myEndpoint).build();
  * ConversationProfilesClient conversationProfilesClient =
@@ -118,8 +127,11 @@
  * the wire:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * ConversationProfilesSettings conversationProfilesSettings =
  *     ConversationProfilesSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -214,8 +226,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 (ConversationProfilesClient conversationProfilesClient =
    *     ConversationProfilesClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
@@ -245,8 +260,11 @@ public final ListConversationProfilesPagedResponse listConversationProfiles(Loca
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ConversationProfilesClient conversationProfilesClient =
    *     ConversationProfilesClient.create()) {
    *   String name =
@@ -467,8 +503,11 @@ public final ConversationProfile getConversationProfile(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 (ConversationProfilesClient conversationProfilesClient =
    *     ConversationProfilesClient.create()) {
    *   GetConversationProfileRequest request =
@@ -496,8 +535,11 @@ public final ConversationProfile getConversationProfile(GetConversationProfileRe
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ConversationProfilesClient conversationProfilesClient =
    *     ConversationProfilesClient.create()) {
    *   ConversationProfileName name =
@@ -840,8 +909,11 @@ public final void deleteConversationProfile(ConversationProfileName 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 (ConversationProfilesClient conversationProfilesClient =
    *     ConversationProfilesClient.create()) {
    *   String name =
@@ -870,8 +942,11 @@ public final void deleteConversationProfile(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 (ConversationProfilesClient conversationProfilesClient =
    *     ConversationProfilesClient.create()) {
    *   DeleteConversationProfileRequest request =
@@ -899,8 +974,11 @@ public final void deleteConversationProfile(DeleteConversationProfileRequest req
    * 

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ConversationProfilesClient conversationProfilesClient =
    *     ConversationProfilesClient.create()) {
    *   String conversationProfile = "conversationProfile1691597734";
@@ -990,8 +1071,11 @@ public final void deleteConversationProfile(DeleteConversationProfileRequest req
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ConversationProfilesClient conversationProfilesClient =
    *     ConversationProfilesClient.create()) {
    *   String conversationProfile = "conversationProfile1691597734";
@@ -1160,8 +1253,11 @@ public final void deleteConversationProfile(DeleteConversationProfileRequest req
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ConversationProfilesClient conversationProfilesClient =
    *     ConversationProfilesClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationProfilesSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationProfilesSettings.java
index 56ed80ea2482..cb5d640b5c3f 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationProfilesSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationProfilesSettings.java
@@ -61,8 +61,11 @@
  * 

For example, to set the total timeout of getConversationProfile 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
  * ConversationProfilesSettings.Builder conversationProfilesSettingsBuilder =
  *     ConversationProfilesSettings.newBuilder();
  * conversationProfilesSettingsBuilder
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationsClient.java
index e6e6c3f5eaeb..4df4983f2719 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationsClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationsClient.java
@@ -46,8 +46,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 (ConversationsClient conversationsClient = ConversationsClient.create()) {
  *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
  *   Conversation conversation = Conversation.newBuilder().build();
@@ -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
  * ConversationsSettings conversationsSettings =
  *     ConversationsSettings.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
  * ConversationsSettings conversationsSettings =
  *     ConversationsSettings.newBuilder().setEndpoint(myEndpoint).build();
  * ConversationsClient conversationsClient = ConversationsClient.create(conversationsSettings);
@@ -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
  * ConversationsSettings conversationsSettings =
  *     ConversationsSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -193,8 +205,11 @@ public ConversationsStub 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 (ConversationsClient conversationsClient = ConversationsClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   Conversation conversation = Conversation.newBuilder().build();
@@ -239,8 +254,11 @@ public final Conversation createConversation(LocationName parent, Conversation c
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ConversationsClient conversationsClient = ConversationsClient.create()) {
    *   CreateConversationRequest request =
    *       CreateConversationRequest.newBuilder()
@@ -374,8 +398,11 @@ public final Conversation createConversation(CreateConversationRequest 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 (ConversationsClient conversationsClient = ConversationsClient.create()) {
    *   CreateConversationRequest request =
    *       CreateConversationRequest.newBuilder()
@@ -401,8 +428,11 @@ public final UnaryCallable createConver
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ConversationsClient conversationsClient = ConversationsClient.create()) {
    *   String parent = ProjectName.of("[PROJECT]").toString();
    *   for (Conversation element : conversationsClient.listConversations(parent).iterateAll()) {
@@ -486,8 +522,11 @@ public final ListConversationsPagedResponse listConversations(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 (ConversationsClient conversationsClient = ConversationsClient.create()) {
    *   ListConversationsRequest request =
    *       ListConversationsRequest.newBuilder()
@@ -516,8 +555,11 @@ public final ListConversationsPagedResponse listConversations(ListConversationsR
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ConversationsClient conversationsClient = ConversationsClient.create()) {
    *   ConversationName name =
    *       ConversationName.ofProjectConversationName("[PROJECT]", "[CONVERSATION]");
@@ -611,8 +659,11 @@ public final Conversation getConversation(ConversationName 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 (ConversationsClient conversationsClient = ConversationsClient.create()) {
    *   String name =
    *       ConversationName.ofProjectConversationName("[PROJECT]", "[CONVERSATION]").toString();
@@ -636,8 +687,11 @@ public final Conversation getConversation(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 (ConversationsClient conversationsClient = ConversationsClient.create()) {
    *   GetConversationRequest request =
    *       GetConversationRequest.newBuilder()
@@ -663,8 +717,11 @@ public final Conversation getConversation(GetConversationRequest 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 (ConversationsClient conversationsClient = ConversationsClient.create()) {
    *   GetConversationRequest request =
    *       GetConversationRequest.newBuilder()
@@ -691,8 +748,11 @@ public final UnaryCallable getConversation
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ConversationsClient conversationsClient = ConversationsClient.create()) {
    *   ConversationName name =
    *       ConversationName.ofProjectConversationName("[PROJECT]", "[CONVERSATION]");
@@ -721,8 +781,11 @@ public final Conversation completeConversation(ConversationName 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 (ConversationsClient conversationsClient = ConversationsClient.create()) {
    *   String name =
    *       ConversationName.ofProjectConversationName("[PROJECT]", "[CONVERSATION]").toString();
@@ -749,8 +812,11 @@ public final Conversation completeConversation(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 (ConversationsClient conversationsClient = ConversationsClient.create()) {
    *   CompleteConversationRequest request =
    *       CompleteConversationRequest.newBuilder()
@@ -777,8 +843,11 @@ public final Conversation completeConversation(CompleteConversationRequest reque
    * 

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ConversationsClient conversationsClient = ConversationsClient.create()) {
    *   ConversationName parent =
    *       ConversationName.ofProjectConversationName("[PROJECT]", "[CONVERSATION]");
@@ -836,8 +908,11 @@ public final BatchCreateMessagesResponse batchCreateMessages(ConversationName pa
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ConversationsClient conversationsClient = ConversationsClient.create()) {
    *   String parent =
    *       ConversationName.ofProjectConversationName("[PROJECT]", "[CONVERSATION]").toString();
@@ -864,8 +939,11 @@ public final BatchCreateMessagesResponse batchCreateMessages(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 (ConversationsClient conversationsClient = ConversationsClient.create()) {
    *   BatchCreateMessagesRequest request =
    *       BatchCreateMessagesRequest.newBuilder()
@@ -893,8 +971,11 @@ public final BatchCreateMessagesResponse batchCreateMessages(BatchCreateMessages
    * 

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ConversationsClient conversationsClient = ConversationsClient.create()) {
    *   ConversationName parent =
    *       ConversationName.ofProjectConversationName("[PROJECT]", "[CONVERSATION]");
@@ -959,8 +1043,11 @@ public final ListMessagesPagedResponse listMessages(ConversationName 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 (ConversationsClient conversationsClient = ConversationsClient.create()) {
    *   String parent =
    *       ConversationName.ofProjectConversationName("[PROJECT]", "[CONVERSATION]").toString();
@@ -990,8 +1077,11 @@ public final ListMessagesPagedResponse listMessages(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 (ConversationsClient conversationsClient = ConversationsClient.create()) {
    *   ListMessagesRequest request =
    *       ListMessagesRequest.newBuilder()
@@ -1025,8 +1115,11 @@ public final ListMessagesPagedResponse listMessages(ListMessagesRequest 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 (ConversationsClient conversationsClient = ConversationsClient.create()) {
    *   ListMessagesRequest request =
    *       ListMessagesRequest.newBuilder()
@@ -1061,8 +1154,11 @@ public final ListMessagesPagedResponse listMessages(ListMessagesRequest 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 (ConversationsClient conversationsClient = ConversationsClient.create()) {
    *   ListMessagesRequest request =
    *       ListMessagesRequest.newBuilder()
@@ -1099,8 +1195,11 @@ public final UnaryCallable listMessag
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ConversationsClient conversationsClient = ConversationsClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   ApiFuture future = conversationsClient.getLocationCallable().futureCall(request);
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationsSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationsSettings.java
index 61151d4b0afc..3907cdbf040e 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationsSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationsSettings.java
@@ -59,16 +59,16 @@
  * 

For example, to set the total timeout of createConversation 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
  * ConversationsSettings.Builder conversationsSettingsBuilder = ConversationsSettings.newBuilder();
  * conversationsSettingsBuilder
  *     .createConversationSettings()
  *     .setRetrySettings(
- *         conversationsSettingsBuilder
- *             .createConversationSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         conversationsSettingsBuilder.createConversationSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * ConversationsSettings conversationsSettings = conversationsSettingsBuilder.build();
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentsClient.java
index 521cd3fdcf02..05a2ca3fd83c 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentsClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentsClient.java
@@ -52,8 +52,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 (DocumentsClient documentsClient = DocumentsClient.create()) {
  *   DocumentName name =
  *       DocumentName.ofProjectKnowledgeBaseDocumentName(
@@ -91,8 +94,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
  * DocumentsSettings documentsSettings =
  *     DocumentsSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -103,8 +109,11 @@
  * 

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * DocumentsSettings documentsSettings =
  *     DocumentsSettings.newBuilder().setEndpoint(myEndpoint).build();
  * DocumentsClient documentsClient = DocumentsClient.create(documentsSettings);
@@ -114,8 +123,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
  * DocumentsSettings documentsSettings =
  *     DocumentsSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -210,8 +222,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 (DocumentsClient documentsClient = DocumentsClient.create()) {
    *   KnowledgeBaseName parent =
    *       KnowledgeBaseName.ofProjectKnowledgeBaseName("[PROJECT]", "[KNOWLEDGE_BASE]");
@@ -244,8 +259,11 @@ public final ListDocumentsPagedResponse listDocuments(KnowledgeBaseName 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 (DocumentsClient documentsClient = DocumentsClient.create()) {
    *   String parent =
    *       KnowledgeBaseName.ofProjectKnowledgeBaseName("[PROJECT]", "[KNOWLEDGE_BASE]").toString();
@@ -275,8 +293,11 @@ public final ListDocumentsPagedResponse listDocuments(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 (DocumentsClient documentsClient = DocumentsClient.create()) {
    *   ListDocumentsRequest request =
    *       ListDocumentsRequest.newBuilder()
@@ -310,8 +331,11 @@ public final ListDocumentsPagedResponse listDocuments(ListDocumentsRequest reque
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DocumentsClient documentsClient = DocumentsClient.create()) {
    *   DocumentName name =
    *       DocumentName.ofProjectKnowledgeBaseDocumentName(
@@ -417,8 +447,11 @@ public final Document getDocument(DocumentName 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 (DocumentsClient documentsClient = DocumentsClient.create()) {
    *   String name =
    *       DocumentName.ofProjectKnowledgeBaseDocumentName(
@@ -448,8 +481,11 @@ public final Document getDocument(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 (DocumentsClient documentsClient = DocumentsClient.create()) {
    *   GetDocumentRequest request =
    *       GetDocumentRequest.newBuilder()
@@ -479,8 +515,11 @@ public final Document getDocument(GetDocumentRequest 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 (DocumentsClient documentsClient = DocumentsClient.create()) {
    *   GetDocumentRequest request =
    *       GetDocumentRequest.newBuilder()
@@ -517,8 +556,11 @@ public final UnaryCallable getDocumentCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DocumentsClient documentsClient = DocumentsClient.create()) {
    *   KnowledgeBaseName parent =
    *       KnowledgeBaseName.ofProjectKnowledgeBaseName("[PROJECT]", "[KNOWLEDGE_BASE]");
@@ -561,8 +603,11 @@ public final OperationFuture createDocumen
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DocumentsClient documentsClient = DocumentsClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   ApiFuture future = documentsClient.getLocationCallable().futureCall(request);
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentsSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentsSettings.java
index 409a9d8a644d..9e13e3a4b391 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentsSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentsSettings.java
@@ -61,16 +61,16 @@
  * 

For example, to set the total timeout of getDocument 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
  * DocumentsSettings.Builder documentsSettingsBuilder = DocumentsSettings.newBuilder();
  * documentsSettingsBuilder
  *     .getDocumentSettings()
  *     .setRetrySettings(
- *         documentsSettingsBuilder
- *             .getDocumentSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         documentsSettingsBuilder.getDocumentSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * DocumentsSettings documentsSettings = documentsSettingsBuilder.build();
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypesClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypesClient.java
index 67e6e9095b71..907ee2bae340 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypesClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypesClient.java
@@ -53,8 +53,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 (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
  *   EntityTypeName name = EntityTypeName.ofProjectEntityTypeName("[PROJECT]", "[ENTITY_TYPE]");
  *   EntityType response = entityTypesClient.getEntityType(name);
@@ -90,8 +93,11 @@
  * 

To customize credentials: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * EntityTypesSettings entityTypesSettings =
  *     EntityTypesSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -102,8 +108,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
  * EntityTypesSettings entityTypesSettings =
  *     EntityTypesSettings.newBuilder().setEndpoint(myEndpoint).build();
  * EntityTypesClient entityTypesClient = EntityTypesClient.create(entityTypesSettings);
@@ -113,8 +122,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
  * EntityTypesSettings entityTypesSettings =
  *     EntityTypesSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -207,8 +219,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 (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
    *   AgentName parent = AgentName.ofProjectName("[PROJECT]");
    *   for (EntityType element : entityTypesClient.listEntityTypes(parent).iterateAll()) {
@@ -237,8 +252,11 @@ public final ListEntityTypesPagedResponse listEntityTypes(AgentName 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 (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
    *   String parent = AgentName.ofProjectName("[PROJECT]").toString();
    *   for (EntityType element : entityTypesClient.listEntityTypes(parent).iterateAll()) {
@@ -264,8 +282,11 @@ public final ListEntityTypesPagedResponse listEntityTypes(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 (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
    *   AgentName parent = AgentName.ofProjectName("[PROJECT]");
    *   String languageCode = "languageCode-2092349083";
@@ -301,8 +322,11 @@ public final ListEntityTypesPagedResponse listEntityTypes(AgentName parent, Stri
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
    *   EntityTypeName name = EntityTypeName.ofProjectEntityTypeName("[PROJECT]", "[ENTITY_TYPE]");
    *   EntityType response = entityTypesClient.getEntityType(name);
@@ -460,8 +496,11 @@ public final EntityType getEntityType(EntityTypeName 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 (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
    *   String name = EntityTypeName.ofProjectEntityTypeName("[PROJECT]", "[ENTITY_TYPE]").toString();
    *   EntityType response = entityTypesClient.getEntityType(name);
@@ -485,8 +524,11 @@ public final EntityType getEntityType(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 (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
    *   EntityTypeName name = EntityTypeName.ofProjectEntityTypeName("[PROJECT]", "[ENTITY_TYPE]");
    *   String languageCode = "languageCode-2092349083";
@@ -519,8 +561,11 @@ public final EntityType getEntityType(EntityTypeName name, String languageCode)
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
    *   String name = EntityTypeName.ofProjectEntityTypeName("[PROJECT]", "[ENTITY_TYPE]").toString();
    *   String languageCode = "languageCode-2092349083";
@@ -550,8 +595,11 @@ public final EntityType getEntityType(String name, String languageCode) {
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
    *   EntityType entityType = EntityType.newBuilder().build();
    *   String languageCode = "languageCode-2092349083";
@@ -875,8 +950,11 @@ public final EntityType updateEntityType(EntityType entityType, String languageC
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
    *   EntityTypeName name = EntityTypeName.ofProjectEntityTypeName("[PROJECT]", "[ENTITY_TYPE]");
    *   entityTypesClient.deleteEntityType(name);
@@ -1005,8 +1092,11 @@ public final void deleteEntityType(EntityTypeName 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 (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
    *   String name = EntityTypeName.ofProjectEntityTypeName("[PROJECT]", "[ENTITY_TYPE]").toString();
    *   entityTypesClient.deleteEntityType(name);
@@ -1034,8 +1124,11 @@ public final void deleteEntityType(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 (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
    *   DeleteEntityTypeRequest request =
    *       DeleteEntityTypeRequest.newBuilder()
@@ -1063,8 +1156,11 @@ public final void deleteEntityType(DeleteEntityTypeRequest 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 (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
    *   DeleteEntityTypeRequest request =
    *       DeleteEntityTypeRequest.newBuilder()
@@ -1100,8 +1196,11 @@ public final UnaryCallable deleteEntityTypeCalla
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   ApiFuture future = entityTypesClient.getLocationCallable().futureCall(request);
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypesSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypesSettings.java
index 84dbe23fc3ec..cebf2272f4db 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypesSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypesSettings.java
@@ -62,16 +62,16 @@
  * 

For example, to set the total timeout of getEntityType 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
  * EntityTypesSettings.Builder entityTypesSettingsBuilder = EntityTypesSettings.newBuilder();
  * entityTypesSettingsBuilder
  *     .getEntityTypeSettings()
  *     .setRetrySettings(
- *         entityTypesSettingsBuilder
- *             .getEntityTypeSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         entityTypesSettingsBuilder.getEntityTypeSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * EntityTypesSettings entityTypesSettings = entityTypesSettingsBuilder.build();
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentsClient.java
index c0f9a18ec52c..1fc43da16f36 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentsClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/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()) {
  *   GetEnvironmentRequest request =
  *       GetEnvironmentRequest.newBuilder()
@@ -88,8 +91,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))
@@ -100,8 +106,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);
@@ -111,8 +120,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(
@@ -180,8 +192,11 @@ public EnvironmentsStub 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 (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
    *   AgentName parent = AgentName.ofProjectName("[PROJECT]");
    *   for (Environment element : environmentsClient.listEnvironments(parent).iterateAll()) {
@@ -210,8 +225,11 @@ public final ListEnvironmentsPagedResponse listEnvironments(AgentName 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()) {
    *   String parent = AgentName.ofProjectName("[PROJECT]").toString();
    *   for (Environment element : environmentsClient.listEnvironments(parent).iterateAll()) {
@@ -238,8 +256,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()
@@ -267,8 +288,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()
@@ -297,8 +321,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()
@@ -334,8 +361,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()) {
    *   GetEnvironmentRequest request =
    *       GetEnvironmentRequest.newBuilder()
@@ -360,8 +390,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()
@@ -386,8 +419,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()) {
    *   CreateEnvironmentRequest request =
    *       CreateEnvironmentRequest.newBuilder()
@@ -413,8 +449,11 @@ public final Environment createEnvironment(CreateEnvironmentRequest 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()) {
    *   CreateEnvironmentRequest request =
    *       CreateEnvironmentRequest.newBuilder()
@@ -449,8 +488,11 @@ public final UnaryCallable createEnvironm
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying 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()
@@ -485,8 +527,11 @@ public final Environment updateEnvironment(UpdateEnvironmentRequest 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()) {
    *   UpdateEnvironmentRequest request =
    *       UpdateEnvironmentRequest.newBuilder()
@@ -512,8 +557,11 @@ public final UnaryCallable updateEnvironm
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying 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()
@@ -538,8 +586,11 @@ public final void deleteEnvironment(DeleteEnvironmentRequest 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()) {
    *   DeleteEnvironmentRequest request =
    *       DeleteEnvironmentRequest.newBuilder()
@@ -563,8 +614,11 @@ public final UnaryCallable deleteEnvironmentCal
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying 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()) {
    *   GetEnvironmentHistoryRequest request =
    *       GetEnvironmentHistoryRequest.newBuilder()
@@ -595,8 +649,11 @@ public final GetEnvironmentHistoryPagedResponse getEnvironmentHistory(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying 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()) {
    *   GetEnvironmentHistoryRequest request =
    *       GetEnvironmentHistoryRequest.newBuilder()
@@ -626,8 +683,11 @@ public final GetEnvironmentHistoryPagedResponse getEnvironmentHistory(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying 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()) {
    *   GetEnvironmentHistoryRequest request =
    *       GetEnvironmentHistoryRequest.newBuilder()
@@ -664,8 +724,11 @@ public final GetEnvironmentHistoryPagedResponse getEnvironmentHistory(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying 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()) {
    *   ListLocationsRequest request =
    *       ListLocationsRequest.newBuilder()
@@ -694,8 +757,11 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   ApiFuture future = environmentsClient.getLocationCallable().futureCall(request);
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentsSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentsSettings.java
index 654d1601e2f6..ce68523799b6 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentsSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentsSettings.java
@@ -60,16 +60,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-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/FulfillmentsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/FulfillmentsClient.java
index 05830cd6c20c..133199fedd54 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/FulfillmentsClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/FulfillmentsClient.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 (FulfillmentsClient fulfillmentsClient = FulfillmentsClient.create()) {
  *   FulfillmentName name = FulfillmentName.ofProjectName("[PROJECT]");
  *   Fulfillment response = fulfillmentsClient.getFulfillment(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
  * FulfillmentsSettings fulfillmentsSettings =
  *     FulfillmentsSettings.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
  * FulfillmentsSettings fulfillmentsSettings =
  *     FulfillmentsSettings.newBuilder().setEndpoint(myEndpoint).build();
  * FulfillmentsClient fulfillmentsClient = FulfillmentsClient.create(fulfillmentsSettings);
@@ -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
  * FulfillmentsSettings fulfillmentsSettings =
  *     FulfillmentsSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -176,8 +188,11 @@ public FulfillmentsStub 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 (FulfillmentsClient fulfillmentsClient = FulfillmentsClient.create()) {
    *   FulfillmentName name = FulfillmentName.ofProjectName("[PROJECT]");
    *   Fulfillment response = fulfillmentsClient.getFulfillment(name);
@@ -202,8 +217,11 @@ public final Fulfillment getFulfillment(FulfillmentName 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 (FulfillmentsClient fulfillmentsClient = FulfillmentsClient.create()) {
    *   String name = FulfillmentName.ofProjectName("[PROJECT]").toString();
    *   Fulfillment response = fulfillmentsClient.getFulfillment(name);
@@ -227,8 +245,11 @@ public final Fulfillment getFulfillment(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 (FulfillmentsClient fulfillmentsClient = FulfillmentsClient.create()) {
    *   GetFulfillmentRequest request =
    *       GetFulfillmentRequest.newBuilder()
@@ -252,8 +273,11 @@ public final Fulfillment getFulfillment(GetFulfillmentRequest 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 (FulfillmentsClient fulfillmentsClient = FulfillmentsClient.create()) {
    *   GetFulfillmentRequest request =
    *       GetFulfillmentRequest.newBuilder()
@@ -277,8 +301,11 @@ public final UnaryCallable getFulfillmentCal
    * 

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FulfillmentsClient fulfillmentsClient = FulfillmentsClient.create()) {
    *   UpdateFulfillmentRequest request =
    *       UpdateFulfillmentRequest.newBuilder()
@@ -333,8 +363,11 @@ public final Fulfillment updateFulfillment(UpdateFulfillmentRequest 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 (FulfillmentsClient fulfillmentsClient = FulfillmentsClient.create()) {
    *   UpdateFulfillmentRequest request =
    *       UpdateFulfillmentRequest.newBuilder()
@@ -359,8 +392,11 @@ public final UnaryCallable updateFulfillm
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FulfillmentsClient fulfillmentsClient = FulfillmentsClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   ApiFuture future = fulfillmentsClient.getLocationCallable().futureCall(request);
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/FulfillmentsSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/FulfillmentsSettings.java
index a5d65b120829..307153de7755 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/FulfillmentsSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/FulfillmentsSettings.java
@@ -57,16 +57,16 @@
  * 

For example, to set the total timeout of getFulfillment 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
  * FulfillmentsSettings.Builder fulfillmentsSettingsBuilder = FulfillmentsSettings.newBuilder();
  * fulfillmentsSettingsBuilder
  *     .getFulfillmentSettings()
  *     .setRetrySettings(
- *         fulfillmentsSettingsBuilder
- *             .getFulfillmentSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         fulfillmentsSettingsBuilder.getFulfillmentSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * FulfillmentsSettings fulfillmentsSettings = fulfillmentsSettingsBuilder.build();
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentsClient.java
index c7d821ca546d..417355f8247f 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentsClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentsClient.java
@@ -52,8 +52,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 (IntentsClient intentsClient = IntentsClient.create()) {
  *   IntentName name = IntentName.ofProjectIntentName("[PROJECT]", "[INTENT]");
  *   Intent response = intentsClient.getIntent(name);
@@ -89,8 +92,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
  * IntentsSettings intentsSettings =
  *     IntentsSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -101,8 +107,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
  * IntentsSettings intentsSettings = IntentsSettings.newBuilder().setEndpoint(myEndpoint).build();
  * IntentsClient intentsClient = IntentsClient.create(intentsSettings);
  * }
@@ -111,8 +120,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
  * IntentsSettings intentsSettings =
  *     IntentsSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -204,8 +216,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 (IntentsClient intentsClient = IntentsClient.create()) {
    *   AgentName parent = AgentName.ofProjectName("[PROJECT]");
    *   for (Intent element : intentsClient.listIntents(parent).iterateAll()) {
@@ -238,8 +253,11 @@ public final ListIntentsPagedResponse listIntents(AgentName 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 (IntentsClient intentsClient = IntentsClient.create()) {
    *   String parent = AgentName.ofProjectName("[PROJECT]").toString();
    *   for (Intent element : intentsClient.listIntents(parent).iterateAll()) {
@@ -269,8 +287,11 @@ public final ListIntentsPagedResponse listIntents(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 (IntentsClient intentsClient = IntentsClient.create()) {
    *   AgentName parent = AgentName.ofProjectName("[PROJECT]");
    *   String languageCode = "languageCode-2092349083";
@@ -309,8 +330,11 @@ public final ListIntentsPagedResponse listIntents(AgentName parent, String langu
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IntentsClient intentsClient = IntentsClient.create()) {
    *   String parent = AgentName.ofProjectName("[PROJECT]").toString();
    *   String languageCode = "languageCode-2092349083";
@@ -346,8 +370,11 @@ public final ListIntentsPagedResponse listIntents(String parent, String language
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IntentsClient intentsClient = IntentsClient.create()) {
    *   ListIntentsRequest request =
    *       ListIntentsRequest.newBuilder()
@@ -377,8 +404,11 @@ public final ListIntentsPagedResponse listIntents(ListIntentsRequest 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 (IntentsClient intentsClient = IntentsClient.create()) {
    *   ListIntentsRequest request =
    *       ListIntentsRequest.newBuilder()
@@ -408,8 +438,11 @@ public final ListIntentsPagedResponse listIntents(ListIntentsRequest 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 (IntentsClient intentsClient = IntentsClient.create()) {
    *   ListIntentsRequest request =
    *       ListIntentsRequest.newBuilder()
@@ -445,8 +478,11 @@ public final UnaryCallable listIntentsC
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IntentsClient intentsClient = IntentsClient.create()) {
    *   IntentName name = IntentName.ofProjectIntentName("[PROJECT]", "[INTENT]");
    *   Intent response = intentsClient.getIntent(name);
@@ -471,8 +507,11 @@ public final Intent getIntent(IntentName 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 (IntentsClient intentsClient = IntentsClient.create()) {
    *   String name = IntentName.ofProjectIntentName("[PROJECT]", "[INTENT]").toString();
    *   Intent response = intentsClient.getIntent(name);
@@ -496,8 +535,11 @@ public final Intent getIntent(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 (IntentsClient intentsClient = IntentsClient.create()) {
    *   IntentName name = IntentName.ofProjectIntentName("[PROJECT]", "[INTENT]");
    *   String languageCode = "languageCode-2092349083";
@@ -530,8 +572,11 @@ public final Intent getIntent(IntentName name, String languageCode) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IntentsClient intentsClient = IntentsClient.create()) {
    *   String name = IntentName.ofProjectIntentName("[PROJECT]", "[INTENT]").toString();
    *   String languageCode = "languageCode-2092349083";
@@ -561,8 +606,11 @@ public final Intent getIntent(String name, String languageCode) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IntentsClient intentsClient = IntentsClient.create()) {
    *   GetIntentRequest request =
    *       GetIntentRequest.newBuilder()
@@ -588,8 +636,11 @@ public final Intent getIntent(GetIntentRequest 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 (IntentsClient intentsClient = IntentsClient.create()) {
    *   GetIntentRequest request =
    *       GetIntentRequest.newBuilder()
@@ -617,8 +668,11 @@ public final UnaryCallable getIntentCallable() {
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IntentsClient intentsClient = IntentsClient.create()) {
    *   AgentName parent = AgentName.ofProjectName("[PROJECT]");
    *   Intent intent = Intent.newBuilder().build();
@@ -722,8 +782,11 @@ public final Intent createIntent(AgentName parent, Intent intent, String languag
    * 

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IntentsClient intentsClient = IntentsClient.create()) {
    *   CreateIntentRequest request =
    *       CreateIntentRequest.newBuilder()
@@ -793,8 +859,11 @@ public final Intent createIntent(CreateIntentRequest 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 (IntentsClient intentsClient = IntentsClient.create()) {
    *   CreateIntentRequest request =
    *       CreateIntentRequest.newBuilder()
@@ -823,8 +892,11 @@ public final UnaryCallable createIntentCallable() {
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IntentsClient intentsClient = IntentsClient.create()) {
    *   Intent intent = Intent.newBuilder().build();
    *   String languageCode = "languageCode-2092349083";
@@ -948,8 +1029,11 @@ public final Intent updateIntent(Intent intent, String languageCode, FieldMask u
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IntentsClient intentsClient = IntentsClient.create()) {
    *   UpdateIntentRequest request =
    *       UpdateIntentRequest.newBuilder()
@@ -979,8 +1063,11 @@ public final Intent updateIntent(UpdateIntentRequest 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 (IntentsClient intentsClient = IntentsClient.create()) {
    *   UpdateIntentRequest request =
    *       UpdateIntentRequest.newBuilder()
@@ -1009,8 +1096,11 @@ public final UnaryCallable updateIntentCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IntentsClient intentsClient = IntentsClient.create()) {
    *   IntentName name = IntentName.ofProjectIntentName("[PROJECT]", "[INTENT]");
    *   intentsClient.deleteIntent(name);
@@ -1040,8 +1130,11 @@ public final void deleteIntent(IntentName 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 (IntentsClient intentsClient = IntentsClient.create()) {
    *   String name = IntentName.ofProjectIntentName("[PROJECT]", "[INTENT]").toString();
    *   intentsClient.deleteIntent(name);
@@ -1070,8 +1163,11 @@ public final void deleteIntent(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 (IntentsClient intentsClient = IntentsClient.create()) {
    *   DeleteIntentRequest request =
    *       DeleteIntentRequest.newBuilder()
@@ -1098,8 +1194,11 @@ public final void deleteIntent(DeleteIntentRequest 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 (IntentsClient intentsClient = IntentsClient.create()) {
    *   DeleteIntentRequest request =
    *       DeleteIntentRequest.newBuilder()
@@ -1134,8 +1233,11 @@ public final UnaryCallable deleteIntentCallable() {
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IntentsClient intentsClient = IntentsClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   ApiFuture future = intentsClient.getLocationCallable().futureCall(request);
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentsSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentsSettings.java
index 8e9280a192fb..b4f7ee2f3862 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentsSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentsSettings.java
@@ -62,16 +62,16 @@
  * 

For example, to set the total timeout of getIntent 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
  * IntentsSettings.Builder intentsSettingsBuilder = IntentsSettings.newBuilder();
  * intentsSettingsBuilder
  *     .getIntentSettings()
  *     .setRetrySettings(
- *         intentsSettingsBuilder
- *             .getIntentSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         intentsSettingsBuilder.getIntentSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * IntentsSettings intentsSettings = intentsSettingsBuilder.build();
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBasesClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBasesClient.java
index 7ee317072ff9..0ebd05c108ec 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBasesClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBasesClient.java
@@ -48,8 +48,11 @@
  * calls that map to API methods. Sample code to get started:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
  *   KnowledgeBaseName name =
  *       KnowledgeBaseName.ofProjectKnowledgeBaseName("[PROJECT]", "[KNOWLEDGE_BASE]");
@@ -86,8 +89,11 @@
  * 

To customize credentials: * *

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

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * KnowledgeBasesSettings knowledgeBasesSettings =
  *     KnowledgeBasesSettings.newBuilder().setEndpoint(myEndpoint).build();
  * KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create(knowledgeBasesSettings);
@@ -109,8 +118,11 @@
  * the wire:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * KnowledgeBasesSettings knowledgeBasesSettings =
  *     KnowledgeBasesSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -182,8 +194,11 @@ public KnowledgeBasesStub 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 (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (KnowledgeBase element : knowledgeBasesClient.listKnowledgeBases(parent).iterateAll()) {
@@ -214,8 +229,11 @@ public final ListKnowledgeBasesPagedResponse listKnowledgeBases(LocationName par
    * 

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
    *   String parent = ProjectName.of("[PROJECT]").toString();
    *   for (KnowledgeBase element : knowledgeBasesClient.listKnowledgeBases(parent).iterateAll()) {
@@ -276,8 +297,11 @@ public final ListKnowledgeBasesPagedResponse listKnowledgeBases(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 (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
    *   ListKnowledgeBasesRequest request =
    *       ListKnowledgeBasesRequest.newBuilder()
@@ -310,8 +334,11 @@ public final ListKnowledgeBasesPagedResponse listKnowledgeBases(
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
    *   KnowledgeBaseName name =
    *       KnowledgeBaseName.ofProjectKnowledgeBaseName("[PROJECT]", "[KNOWLEDGE_BASE]");
@@ -414,8 +447,11 @@ public final KnowledgeBase getKnowledgeBase(KnowledgeBaseName 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 (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
    *   String name =
    *       KnowledgeBaseName.ofProjectKnowledgeBaseName("[PROJECT]", "[KNOWLEDGE_BASE]").toString();
@@ -442,8 +478,11 @@ public final KnowledgeBase getKnowledgeBase(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 (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
    *   GetKnowledgeBaseRequest request =
    *       GetKnowledgeBaseRequest.newBuilder()
@@ -472,8 +511,11 @@ public final KnowledgeBase getKnowledgeBase(GetKnowledgeBaseRequest 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 (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
    *   GetKnowledgeBaseRequest request =
    *       GetKnowledgeBaseRequest.newBuilder()
@@ -502,8 +544,11 @@ public final UnaryCallable getKnowledgeB
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
    *   KnowledgeBaseName name =
    *       KnowledgeBaseName.ofProjectKnowledgeBaseName("[PROJECT]", "[KNOWLEDGE_BASE]");
@@ -691,8 +751,11 @@ public final void deleteKnowledgeBase(KnowledgeBaseName 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 (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
    *   String name =
    *       KnowledgeBaseName.ofProjectKnowledgeBaseName("[PROJECT]", "[KNOWLEDGE_BASE]").toString();
@@ -720,8 +783,11 @@ public final void deleteKnowledgeBase(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 (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
    *   DeleteKnowledgeBaseRequest request =
    *       DeleteKnowledgeBaseRequest.newBuilder()
@@ -751,8 +817,11 @@ public final void deleteKnowledgeBase(DeleteKnowledgeBaseRequest 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 (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
    *   DeleteKnowledgeBaseRequest request =
    *       DeleteKnowledgeBaseRequest.newBuilder()
@@ -782,8 +851,11 @@ public final UnaryCallable deleteKnowledgeBas
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   ApiFuture future = knowledgeBasesClient.getLocationCallable().futureCall(request);
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBasesSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBasesSettings.java
index b56c1e93383e..9e061c336661 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBasesSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBasesSettings.java
@@ -59,17 +59,17 @@
  * 

For example, to set the total timeout of getKnowledgeBase 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
  * KnowledgeBasesSettings.Builder knowledgeBasesSettingsBuilder =
  *     KnowledgeBasesSettings.newBuilder();
  * knowledgeBasesSettingsBuilder
  *     .getKnowledgeBaseSettings()
  *     .setRetrySettings(
- *         knowledgeBasesSettingsBuilder
- *             .getKnowledgeBaseSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         knowledgeBasesSettingsBuilder.getKnowledgeBaseSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * KnowledgeBasesSettings knowledgeBasesSettings = knowledgeBasesSettingsBuilder.build();
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ParticipantsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ParticipantsClient.java
index 93b9f7e92c54..dce1a8cb47bb 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ParticipantsClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ParticipantsClient.java
@@ -48,8 +48,11 @@
  * calls that map to API methods. Sample code to get started:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
  *   ConversationName parent =
  *       ConversationName.ofProjectConversationName("[PROJECT]", "[CONVERSATION]");
@@ -87,8 +90,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
  * ParticipantsSettings participantsSettings =
  *     ParticipantsSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -99,8 +105,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
  * ParticipantsSettings participantsSettings =
  *     ParticipantsSettings.newBuilder().setEndpoint(myEndpoint).build();
  * ParticipantsClient participantsClient = ParticipantsClient.create(participantsSettings);
@@ -110,8 +119,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
  * ParticipantsSettings participantsSettings =
  *     ParticipantsSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -179,8 +191,11 @@ public ParticipantsStub 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 (ParticipantsClient participantsClient = ParticipantsClient.create()) {
    *   ConversationName parent =
    *       ConversationName.ofProjectConversationName("[PROJECT]", "[CONVERSATION]");
@@ -211,8 +226,11 @@ public final Participant createParticipant(ConversationName parent, Participant
    * 

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
    *   CreateParticipantRequest request =
    *       CreateParticipantRequest.newBuilder()
@@ -268,8 +289,11 @@ public final Participant createParticipant(CreateParticipantRequest 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 (ParticipantsClient participantsClient = ParticipantsClient.create()) {
    *   CreateParticipantRequest request =
    *       CreateParticipantRequest.newBuilder()
@@ -296,8 +320,11 @@ public final UnaryCallable createParticip
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
    *   ParticipantName name =
    *       ParticipantName.ofProjectConversationParticipantName(
@@ -324,8 +351,11 @@ public final Participant getParticipant(ParticipantName 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 (ParticipantsClient participantsClient = ParticipantsClient.create()) {
    *   String name =
    *       ParticipantName.ofProjectConversationParticipantName(
@@ -352,8 +382,11 @@ public final Participant getParticipant(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 (ParticipantsClient participantsClient = ParticipantsClient.create()) {
    *   GetParticipantRequest request =
    *       GetParticipantRequest.newBuilder()
@@ -380,8 +413,11 @@ public final Participant getParticipant(GetParticipantRequest 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 (ParticipantsClient participantsClient = ParticipantsClient.create()) {
    *   GetParticipantRequest request =
    *       GetParticipantRequest.newBuilder()
@@ -408,8 +444,11 @@ public final UnaryCallable getParticipantCal
    * 

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
    *   String parent =
    *       ConversationName.ofProjectConversationName("[PROJECT]", "[CONVERSATION]").toString();
@@ -468,8 +510,11 @@ public final ListParticipantsPagedResponse listParticipants(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 (ParticipantsClient participantsClient = ParticipantsClient.create()) {
    *   ListParticipantsRequest request =
    *       ListParticipantsRequest.newBuilder()
@@ -499,8 +544,11 @@ public final ListParticipantsPagedResponse listParticipants(ListParticipantsRequ
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
    *   AnalyzeContentRequest request =
    *       AnalyzeContentRequest.newBuilder()
@@ -922,8 +1003,11 @@ public final AnalyzeContentResponse analyzeContent(AnalyzeContentRequest 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 (ParticipantsClient participantsClient = ParticipantsClient.create()) {
    *   AnalyzeContentRequest request =
    *       AnalyzeContentRequest.newBuilder()
@@ -968,8 +1052,11 @@ public final AnalyzeContentResponse analyzeContent(AnalyzeContentRequest 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 (ParticipantsClient participantsClient = ParticipantsClient.create()) {
    *   BidiStream bidiStream =
    *       participantsClient.streamingAnalyzeContentCallable().call();
@@ -1011,8 +1098,11 @@ public final AnalyzeContentResponse analyzeContent(AnalyzeContentRequest 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 (ParticipantsClient participantsClient = ParticipantsClient.create()) {
    *   ParticipantName parent =
    *       ParticipantName.ofProjectConversationParticipantName(
@@ -1046,8 +1136,11 @@ public final SuggestArticlesResponse suggestArticles(ParticipantName 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 (ParticipantsClient participantsClient = ParticipantsClient.create()) {
    *   String parent =
    *       ParticipantName.ofProjectConversationParticipantName(
@@ -1079,8 +1172,11 @@ public final SuggestArticlesResponse suggestArticles(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 (ParticipantsClient participantsClient = ParticipantsClient.create()) {
    *   SuggestArticlesRequest request =
    *       SuggestArticlesRequest.newBuilder()
@@ -1118,8 +1214,11 @@ public final SuggestArticlesResponse suggestArticles(SuggestArticlesRequest requ
    * 

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
    *   ParticipantName parent =
    *       ParticipantName.ofProjectConversationParticipantName(
@@ -1183,8 +1285,11 @@ public final SuggestFaqAnswersResponse suggestFaqAnswers(ParticipantName 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 (ParticipantsClient participantsClient = ParticipantsClient.create()) {
    *   String parent =
    *       ParticipantName.ofProjectConversationParticipantName(
@@ -1212,8 +1317,11 @@ public final SuggestFaqAnswersResponse suggestFaqAnswers(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 (ParticipantsClient participantsClient = ParticipantsClient.create()) {
    *   SuggestFaqAnswersRequest request =
    *       SuggestFaqAnswersRequest.newBuilder()
@@ -1246,8 +1354,11 @@ public final SuggestFaqAnswersResponse suggestFaqAnswers(SuggestFaqAnswersReques
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
    *   String parent =
    *       ParticipantName.ofProjectConversationParticipantName(
@@ -1340,8 +1457,11 @@ public final SuggestSmartRepliesResponse suggestSmartReplies(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 (ParticipantsClient participantsClient = ParticipantsClient.create()) {
    *   SuggestSmartRepliesRequest request =
    *       SuggestSmartRepliesRequest.newBuilder()
@@ -1374,8 +1494,11 @@ public final SuggestSmartRepliesResponse suggestSmartReplies(SuggestSmartReplies
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   ApiFuture future = participantsClient.getLocationCallable().futureCall(request);
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ParticipantsSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ParticipantsSettings.java
index 623e51d44fd6..8682c012b971 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ParticipantsSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ParticipantsSettings.java
@@ -60,16 +60,16 @@
  * 

For example, to set the total timeout of createParticipant 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
  * ParticipantsSettings.Builder participantsSettingsBuilder = ParticipantsSettings.newBuilder();
  * participantsSettingsBuilder
  *     .createParticipantSettings()
  *     .setRetrySettings(
- *         participantsSettingsBuilder
- *             .createParticipantSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         participantsSettingsBuilder.createParticipantSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * ParticipantsSettings participantsSettings = participantsSettingsBuilder.build();
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypesClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypesClient.java
index 59579cc58c14..9362fbfad6aa 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypesClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypesClient.java
@@ -48,8 +48,11 @@
  * calls that map to API methods. Sample code to get started:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
  *   SessionEntityTypeName name =
  *       SessionEntityTypeName.ofProjectSessionEntityTypeName(
@@ -88,8 +91,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
  * SessionEntityTypesSettings sessionEntityTypesSettings =
  *     SessionEntityTypesSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -101,8 +107,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
  * SessionEntityTypesSettings sessionEntityTypesSettings =
  *     SessionEntityTypesSettings.newBuilder().setEndpoint(myEndpoint).build();
  * SessionEntityTypesClient sessionEntityTypesClient =
@@ -113,8 +122,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
  * SessionEntityTypesSettings sessionEntityTypesSettings =
  *     SessionEntityTypesSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -187,8 +199,11 @@ public SessionEntityTypesStub 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 (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
    *   SessionName parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]");
    *   for (SessionEntityType element :
@@ -228,8 +243,11 @@ public final ListSessionEntityTypesPagedResponse listSessionEntityTypes(SessionN
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
    *   String parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]").toString();
    *   for (SessionEntityType element :
@@ -267,8 +285,11 @@ public final ListSessionEntityTypesPagedResponse listSessionEntityTypes(String p
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
    *   SessionEntityTypeName name =
    *       SessionEntityTypeName.ofProjectSessionEntityTypeName(
@@ -416,8 +446,11 @@ public final SessionEntityType getSessionEntityType(SessionEntityTypeName 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 (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
    *   String name =
    *       SessionEntityTypeName.ofProjectSessionEntityTypeName(
@@ -457,8 +490,11 @@ public final SessionEntityType getSessionEntityType(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 (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
    *   GetSessionEntityTypeRequest request =
    *       GetSessionEntityTypeRequest.newBuilder()
@@ -488,8 +524,11 @@ public final SessionEntityType getSessionEntityType(GetSessionEntityTypeRequest
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
    *   SessionEntityTypeName name =
    *       SessionEntityTypeName.ofProjectSessionEntityTypeName(
@@ -836,8 +902,11 @@ public final void deleteSessionEntityType(SessionEntityTypeName 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 (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
    *   String name =
    *       SessionEntityTypeName.ofProjectSessionEntityTypeName(
@@ -877,8 +946,11 @@ public final void deleteSessionEntityType(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 (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
    *   DeleteSessionEntityTypeRequest request =
    *       DeleteSessionEntityTypeRequest.newBuilder()
@@ -908,8 +980,11 @@ public final void deleteSessionEntityType(DeleteSessionEntityTypeRequest 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 (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
    *   DeleteSessionEntityTypeRequest request =
    *       DeleteSessionEntityTypeRequest.newBuilder()
@@ -937,8 +1012,11 @@ public final void deleteSessionEntityType(DeleteSessionEntityTypeRequest 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 (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
    *   ListLocationsRequest request =
    *       ListLocationsRequest.newBuilder()
@@ -967,8 +1045,11 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   ApiFuture future =
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypesSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypesSettings.java
index 6b36b667ff42..d314c12632cd 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypesSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypesSettings.java
@@ -59,8 +59,11 @@
  * 

For example, to set the total timeout of getSessionEntityType 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
  * SessionEntityTypesSettings.Builder sessionEntityTypesSettingsBuilder =
  *     SessionEntityTypesSettings.newBuilder();
  * sessionEntityTypesSettingsBuilder
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionsClient.java
index cc1a2fe92d40..8a220662876f 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionsClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionsClient.java
@@ -49,8 +49,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 (SessionsClient sessionsClient = SessionsClient.create()) {
  *   SessionName session = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]");
  *   QueryInput queryInput = QueryInput.newBuilder().build();
@@ -87,8 +90,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
  * SessionsSettings sessionsSettings =
  *     SessionsSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -99,8 +105,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
  * SessionsSettings sessionsSettings =
  *     SessionsSettings.newBuilder().setEndpoint(myEndpoint).build();
  * SessionsClient sessionsClient = SessionsClient.create(sessionsSettings);
@@ -110,8 +119,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
  * SessionsSettings sessionsSettings =
  *     SessionsSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -189,8 +201,11 @@ public SessionsStub 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 (SessionsClient sessionsClient = SessionsClient.create()) {
    *   SessionName session = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]");
    *   QueryInput queryInput = QueryInput.newBuilder().build();
@@ -249,8 +264,11 @@ public final DetectIntentResponse detectIntent(SessionName session, QueryInput q
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (SessionsClient sessionsClient = SessionsClient.create()) {
    *   String session = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]").toString();
    *   QueryInput queryInput = QueryInput.newBuilder().build();
@@ -306,8 +324,11 @@ public final DetectIntentResponse detectIntent(String session, QueryInput queryI
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (SessionsClient sessionsClient = SessionsClient.create()) {
    *   DetectIntentRequest request =
    *       DetectIntentRequest.newBuilder()
@@ -347,8 +368,11 @@ public final DetectIntentResponse detectIntent(DetectIntentRequest 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 (SessionsClient sessionsClient = SessionsClient.create()) {
    *   DetectIntentRequest request =
    *       DetectIntentRequest.newBuilder()
@@ -388,8 +412,11 @@ public final UnaryCallable detectInte
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (SessionsClient sessionsClient = SessionsClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   ApiFuture future = sessionsClient.getLocationCallable().futureCall(request);
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionsSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionsSettings.java
index 0eb391f2fdb9..60e060013f11 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionsSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionsSettings.java
@@ -58,16 +58,16 @@
  * 

For example, to set the total timeout of detectIntent 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
  * SessionsSettings.Builder sessionsSettingsBuilder = SessionsSettings.newBuilder();
  * sessionsSettingsBuilder
  *     .detectIntentSettings()
  *     .setRetrySettings(
- *         sessionsSettingsBuilder
- *             .detectIntentSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         sessionsSettingsBuilder.detectIntentSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * SessionsSettings sessionsSettings = sessionsSettingsBuilder.build();
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/VersionsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/VersionsClient.java
index b60c687426e1..611814c03e74 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/VersionsClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/VersionsClient.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 (VersionsClient versionsClient = VersionsClient.create()) {
  *   VersionName name = VersionName.ofProjectVersionName("[PROJECT]", "[VERSION]");
  *   Version response = versionsClient.getVersion(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
  * VersionsSettings versionsSettings =
  *     VersionsSettings.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
  * VersionsSettings versionsSettings =
  *     VersionsSettings.newBuilder().setEndpoint(myEndpoint).build();
  * VersionsClient versionsClient = VersionsClient.create(versionsSettings);
@@ -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
  * VersionsSettings versionsSettings =
  *     VersionsSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -175,8 +187,11 @@ public VersionsStub 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 (VersionsClient versionsClient = VersionsClient.create()) {
    *   AgentName parent = AgentName.ofProjectName("[PROJECT]");
    *   for (Version element : versionsClient.listVersions(parent).iterateAll()) {
@@ -205,8 +220,11 @@ public final ListVersionsPagedResponse listVersions(AgentName 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 (VersionsClient versionsClient = VersionsClient.create()) {
    *   String parent = AgentName.ofProjectName("[PROJECT]").toString();
    *   for (Version element : versionsClient.listVersions(parent).iterateAll()) {
@@ -232,8 +250,11 @@ public final ListVersionsPagedResponse listVersions(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 (VersionsClient versionsClient = VersionsClient.create()) {
    *   ListVersionsRequest request =
    *       ListVersionsRequest.newBuilder()
@@ -261,8 +282,11 @@ public final ListVersionsPagedResponse listVersions(ListVersionsRequest 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 (VersionsClient versionsClient = VersionsClient.create()) {
    *   ListVersionsRequest request =
    *       ListVersionsRequest.newBuilder()
@@ -290,8 +314,11 @@ public final ListVersionsPagedResponse listVersions(ListVersionsRequest 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 (VersionsClient versionsClient = VersionsClient.create()) {
    *   ListVersionsRequest request =
    *       ListVersionsRequest.newBuilder()
@@ -325,8 +352,11 @@ public final UnaryCallable listVersio
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VersionsClient versionsClient = VersionsClient.create()) {
    *   VersionName name = VersionName.ofProjectVersionName("[PROJECT]", "[VERSION]");
    *   Version response = versionsClient.getVersion(name);
@@ -351,8 +381,11 @@ public final Version getVersion(VersionName 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 (VersionsClient versionsClient = VersionsClient.create()) {
    *   String name = VersionName.ofProjectVersionName("[PROJECT]", "[VERSION]").toString();
    *   Version response = versionsClient.getVersion(name);
@@ -376,8 +409,11 @@ public final Version getVersion(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 (VersionsClient versionsClient = VersionsClient.create()) {
    *   GetVersionRequest request =
    *       GetVersionRequest.newBuilder()
@@ -401,8 +437,11 @@ public final Version getVersion(GetVersionRequest 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 (VersionsClient versionsClient = VersionsClient.create()) {
    *   GetVersionRequest request =
    *       GetVersionRequest.newBuilder()
@@ -427,8 +466,11 @@ public final UnaryCallable getVersionCallable() {
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VersionsClient versionsClient = VersionsClient.create()) {
    *   CreateVersionRequest request =
    *       CreateVersionRequest.newBuilder()
@@ -518,8 +566,11 @@ public final Version createVersion(CreateVersionRequest 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 (VersionsClient versionsClient = VersionsClient.create()) {
    *   CreateVersionRequest request =
    *       CreateVersionRequest.newBuilder()
@@ -546,8 +597,11 @@ public final UnaryCallable createVersionCallable(
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VersionsClient versionsClient = VersionsClient.create()) {
    *   VersionName name = VersionName.ofProjectVersionName("[PROJECT]", "[VERSION]");
    *   versionsClient.deleteVersion(name);
@@ -657,8 +720,11 @@ public final void deleteVersion(VersionName 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 (VersionsClient versionsClient = VersionsClient.create()) {
    *   String name = VersionName.ofProjectVersionName("[PROJECT]", "[VERSION]").toString();
    *   versionsClient.deleteVersion(name);
@@ -682,8 +748,11 @@ public final void deleteVersion(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 (VersionsClient versionsClient = VersionsClient.create()) {
    *   DeleteVersionRequest request =
    *       DeleteVersionRequest.newBuilder()
@@ -707,8 +776,11 @@ public final void deleteVersion(DeleteVersionRequest 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 (VersionsClient versionsClient = VersionsClient.create()) {
    *   DeleteVersionRequest request =
    *       DeleteVersionRequest.newBuilder()
@@ -731,8 +803,11 @@ public final UnaryCallable deleteVersionCallable()
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VersionsClient versionsClient = VersionsClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   ApiFuture future = versionsClient.getLocationCallable().futureCall(request);
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/VersionsSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/VersionsSettings.java
index 0edcdbc19b5c..9263274c1ede 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/VersionsSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/VersionsSettings.java
@@ -59,16 +59,16 @@
  * 

For example, to set the total timeout of getVersion 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
  * VersionsSettings.Builder versionsSettingsBuilder = VersionsSettings.newBuilder();
  * versionsSettingsBuilder
  *     .getVersionSettings()
  *     .setRetrySettings(
- *         versionsSettingsBuilder
- *             .getVersionSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         versionsSettingsBuilder.getVersionSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * VersionsSettings versionsSettings = versionsSettingsBuilder.build();
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/package-info.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/package-info.java
index c0efef172b47..cd34666acb88 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/package-info.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/package-info.java
@@ -26,8 +26,11 @@
  * 

Sample for AgentsClient: * *

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

Sample for AnswerRecordsClient: * *

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

Sample for ContextsClient: * *

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

Sample for ConversationsClient: * *

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

Sample for ConversationProfilesClient: * *

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

Sample for DocumentsClient: * *

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

Sample for EntityTypesClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
  *   EntityTypeName name = EntityTypeName.ofProjectEntityTypeName("[PROJECT]", "[ENTITY_TYPE]");
  *   EntityType response = entityTypesClient.getEntityType(name);
@@ -145,8 +166,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()) {
  *   GetEnvironmentRequest request =
  *       GetEnvironmentRequest.newBuilder()
@@ -165,8 +189,11 @@
  * 

Sample for FulfillmentsClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (FulfillmentsClient fulfillmentsClient = FulfillmentsClient.create()) {
  *   FulfillmentName name = FulfillmentName.ofProjectName("[PROJECT]");
  *   Fulfillment response = fulfillmentsClient.getFulfillment(name);
@@ -180,8 +207,11 @@
  * 

Sample for IntentsClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (IntentsClient intentsClient = IntentsClient.create()) {
  *   IntentName name = IntentName.ofProjectIntentName("[PROJECT]", "[INTENT]");
  *   Intent response = intentsClient.getIntent(name);
@@ -196,8 +226,11 @@
  * 

Sample for KnowledgeBasesClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
  *   KnowledgeBaseName name =
  *       KnowledgeBaseName.ofProjectKnowledgeBaseName("[PROJECT]", "[KNOWLEDGE_BASE]");
@@ -213,8 +246,11 @@
  * 

Sample for ParticipantsClient: * *

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

Sample for SessionsClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (SessionsClient sessionsClient = SessionsClient.create()) {
  *   SessionName session = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]");
  *   QueryInput queryInput = QueryInput.newBuilder().build();
@@ -250,8 +289,11 @@
  * 

Sample for SessionEntityTypesClient: * *

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

Sample for VersionsClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (VersionsClient versionsClient = VersionsClient.create()) {
  *   VersionName name = VersionName.ofProjectVersionName("[PROJECT]", "[VERSION]");
  *   Version response = versionsClient.getVersion(name);
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/AgentsStubSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/AgentsStubSettings.java
index 898b12a1c2c2..277c286fe574 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/AgentsStubSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/AgentsStubSettings.java
@@ -95,16 +95,16 @@
  * 

For example, to set the total timeout of getAgent 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
  * AgentsStubSettings.Builder agentsSettingsBuilder = AgentsStubSettings.newBuilder();
  * agentsSettingsBuilder
  *     .getAgentSettings()
  *     .setRetrySettings(
- *         agentsSettingsBuilder
- *             .getAgentSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         agentsSettingsBuilder.getAgentSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * AgentsStubSettings agentsSettings = agentsSettingsBuilder.build();
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/AnswerRecordsStubSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/AnswerRecordsStubSettings.java
index 2c083e10f359..c977e4eaf50b 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/AnswerRecordsStubSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/AnswerRecordsStubSettings.java
@@ -80,17 +80,17 @@
  * 

For example, to set the total timeout of getAnswerRecord 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
  * AnswerRecordsStubSettings.Builder answerRecordsSettingsBuilder =
  *     AnswerRecordsStubSettings.newBuilder();
  * answerRecordsSettingsBuilder
  *     .getAnswerRecordSettings()
  *     .setRetrySettings(
- *         answerRecordsSettingsBuilder
- *             .getAnswerRecordSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         answerRecordsSettingsBuilder.getAnswerRecordSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * AnswerRecordsStubSettings answerRecordsSettings = answerRecordsSettingsBuilder.build();
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/ContextsStubSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/ContextsStubSettings.java
index 20ef2afd06e2..ad3ce5934730 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/ContextsStubSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/ContextsStubSettings.java
@@ -84,16 +84,16 @@
  * 

For example, to set the total timeout of getContext 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
  * ContextsStubSettings.Builder contextsSettingsBuilder = ContextsStubSettings.newBuilder();
  * contextsSettingsBuilder
  *     .getContextSettings()
  *     .setRetrySettings(
- *         contextsSettingsBuilder
- *             .getContextSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         contextsSettingsBuilder.getContextSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * ContextsStubSettings contextsSettings = contextsSettingsBuilder.build();
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/ConversationProfilesStubSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/ConversationProfilesStubSettings.java
index 3d69f894db97..323852a28905 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/ConversationProfilesStubSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/ConversationProfilesStubSettings.java
@@ -92,8 +92,11 @@
  * 

For example, to set the total timeout of getConversationProfile 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
  * ConversationProfilesStubSettings.Builder conversationProfilesSettingsBuilder =
  *     ConversationProfilesStubSettings.newBuilder();
  * conversationProfilesSettingsBuilder
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/ConversationsStubSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/ConversationsStubSettings.java
index cfdbbbea0bad..ef4602c1da46 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/ConversationsStubSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/ConversationsStubSettings.java
@@ -87,17 +87,17 @@
  * 

For example, to set the total timeout of createConversation 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
  * ConversationsStubSettings.Builder conversationsSettingsBuilder =
  *     ConversationsStubSettings.newBuilder();
  * conversationsSettingsBuilder
  *     .createConversationSettings()
  *     .setRetrySettings(
- *         conversationsSettingsBuilder
- *             .createConversationSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         conversationsSettingsBuilder.createConversationSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * ConversationsStubSettings conversationsSettings = conversationsSettingsBuilder.build();
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/DocumentsStubSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/DocumentsStubSettings.java
index b50c6056ff95..3957f1d6cd1a 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/DocumentsStubSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/DocumentsStubSettings.java
@@ -92,16 +92,16 @@
  * 

For example, to set the total timeout of getDocument 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
  * DocumentsStubSettings.Builder documentsSettingsBuilder = DocumentsStubSettings.newBuilder();
  * documentsSettingsBuilder
  *     .getDocumentSettings()
  *     .setRetrySettings(
- *         documentsSettingsBuilder
- *             .getDocumentSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         documentsSettingsBuilder.getDocumentSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * DocumentsStubSettings documentsSettings = documentsSettingsBuilder.build();
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/EntityTypesStubSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/EntityTypesStubSettings.java
index be3bed4c6e54..5960c1ce91d0 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/EntityTypesStubSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/EntityTypesStubSettings.java
@@ -95,17 +95,17 @@
  * 

For example, to set the total timeout of getEntityType 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
  * EntityTypesStubSettings.Builder entityTypesSettingsBuilder =
  *     EntityTypesStubSettings.newBuilder();
  * entityTypesSettingsBuilder
  *     .getEntityTypeSettings()
  *     .setRetrySettings(
- *         entityTypesSettingsBuilder
- *             .getEntityTypeSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         entityTypesSettingsBuilder.getEntityTypeSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * EntityTypesStubSettings entityTypesSettings = entityTypesSettingsBuilder.build();
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/EnvironmentsStubSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/EnvironmentsStubSettings.java
index 1d81dff5fc94..a1bc6f1ccdae 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/EnvironmentsStubSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/EnvironmentsStubSettings.java
@@ -86,17 +86,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-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/FulfillmentsStubSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/FulfillmentsStubSettings.java
index 8df40f7f6a22..79cc4d8c417a 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/FulfillmentsStubSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/FulfillmentsStubSettings.java
@@ -77,17 +77,17 @@
  * 

For example, to set the total timeout of getFulfillment 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
  * FulfillmentsStubSettings.Builder fulfillmentsSettingsBuilder =
  *     FulfillmentsStubSettings.newBuilder();
  * fulfillmentsSettingsBuilder
  *     .getFulfillmentSettings()
  *     .setRetrySettings(
- *         fulfillmentsSettingsBuilder
- *             .getFulfillmentSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         fulfillmentsSettingsBuilder.getFulfillmentSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * FulfillmentsStubSettings fulfillmentsSettings = fulfillmentsSettingsBuilder.build();
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonAgentsStub.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonAgentsStub.java
index 13e6ddb3fe11..e971c7b06e45 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonAgentsStub.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonAgentsStub.java
@@ -139,7 +139,8 @@ public class HttpJsonAgentsStub extends AgentsStub {
                         return fields;
                       })
                   .setRequestBodyExtractor(
-                      request -> ProtoRestSerializer.create().toBody("agent", request.getAgent()))
+                      request ->
+                          ProtoRestSerializer.create().toBody("agent", request.getAgent(), false))
                   .build())
           .setResponseParser(
               ProtoMessageResponseParser.newBuilder()
@@ -245,7 +246,7 @@ public class HttpJsonAgentsStub extends AgentsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -285,7 +286,7 @@ public class HttpJsonAgentsStub extends AgentsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -325,7 +326,7 @@ public class HttpJsonAgentsStub extends AgentsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -365,7 +366,7 @@ public class HttpJsonAgentsStub extends AgentsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonAnswerRecordsStub.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonAnswerRecordsStub.java
index 22c39c789f70..ff4a4a60b37a 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonAnswerRecordsStub.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonAnswerRecordsStub.java
@@ -162,7 +162,7 @@ public class HttpJsonAnswerRecordsStub extends AnswerRecordsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("answerRecord", request.getAnswerRecord()))
+                                  .toBody("answerRecord", request.getAnswerRecord(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonContextsStub.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonContextsStub.java
index 63b43db9d1b1..9aa8c6431787 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonContextsStub.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonContextsStub.java
@@ -169,7 +169,8 @@ public class HttpJsonContextsStub extends ContextsStub {
                           })
                       .setRequestBodyExtractor(
                           request ->
-                              ProtoRestSerializer.create().toBody("context", request.getContext()))
+                              ProtoRestSerializer.create()
+                                  .toBody("context", request.getContext(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -210,7 +211,8 @@ public class HttpJsonContextsStub extends ContextsStub {
                           })
                       .setRequestBodyExtractor(
                           request ->
-                              ProtoRestSerializer.create().toBody("context", request.getContext()))
+                              ProtoRestSerializer.create()
+                                  .toBody("context", request.getContext(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonConversationProfilesStub.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonConversationProfilesStub.java
index dcb07c5f7791..500c2019f519 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonConversationProfilesStub.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonConversationProfilesStub.java
@@ -182,7 +182,10 @@ public class HttpJsonConversationProfilesStub extends ConversationProfilesStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("conversationProfile", request.getConversationProfile()))
+                                  .toBody(
+                                      "conversationProfile",
+                                      request.getConversationProfile(),
+                                      false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -225,7 +228,10 @@ public class HttpJsonConversationProfilesStub extends ConversationProfilesStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("conversationProfile", request.getConversationProfile()))
+                                  .toBody(
+                                      "conversationProfile",
+                                      request.getConversationProfile(),
+                                      false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -302,7 +308,9 @@ public class HttpJsonConversationProfilesStub extends ConversationProfilesStub {
                           request ->
                               ProtoRestSerializer.create()
                                   .toBody(
-                                      "*", request.toBuilder().clearConversationProfile().build()))
+                                      "*",
+                                      request.toBuilder().clearConversationProfile().build(),
+                                      false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -346,7 +354,9 @@ public class HttpJsonConversationProfilesStub extends ConversationProfilesStub {
                           request ->
                               ProtoRestSerializer.create()
                                   .toBody(
-                                      "*", request.toBuilder().clearConversationProfile().build()))
+                                      "*",
+                                      request.toBuilder().clearConversationProfile().build(),
+                                      false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonConversationsStub.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonConversationsStub.java
index 2ccd2e697d3e..329de3e03788 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonConversationsStub.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonConversationsStub.java
@@ -96,7 +96,7 @@ public class HttpJsonConversationsStub extends ConversationsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("conversation", request.getConversation()))
+                                  .toBody("conversation", request.getConversation(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -206,7 +206,7 @@ public class HttpJsonConversationsStub extends ConversationsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearName().build()))
+                                  .toBody("*", request.toBuilder().clearName().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -245,7 +245,7 @@ public class HttpJsonConversationsStub extends ConversationsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonDocumentsStub.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonDocumentsStub.java
index 176426cfa76f..d8ead2df932b 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonDocumentsStub.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonDocumentsStub.java
@@ -186,7 +186,7 @@ public class HttpJsonDocumentsStub extends DocumentsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("document", request.getDocument()))
+                                  .toBody("document", request.getDocument(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -227,7 +227,7 @@ public class HttpJsonDocumentsStub extends DocumentsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -310,7 +310,7 @@ public class HttpJsonDocumentsStub extends DocumentsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("document", request.getDocument()))
+                                  .toBody("document", request.getDocument(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -352,7 +352,7 @@ public class HttpJsonDocumentsStub extends DocumentsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearName().build()))
+                                  .toBody("*", request.toBuilder().clearName().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonEntityTypesStub.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonEntityTypesStub.java
index 6b99e56c9c55..ca9b935e9249 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonEntityTypesStub.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonEntityTypesStub.java
@@ -186,7 +186,7 @@ public class HttpJsonEntityTypesStub extends EntityTypesStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("entityType", request.getEntityType()))
+                                  .toBody("entityType", request.getEntityType(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -228,7 +228,7 @@ public class HttpJsonEntityTypesStub extends EntityTypesStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("entityType", request.getEntityType()))
+                                  .toBody("entityType", request.getEntityType(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -302,7 +302,7 @@ public class HttpJsonEntityTypesStub extends EntityTypesStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -344,7 +344,7 @@ public class HttpJsonEntityTypesStub extends EntityTypesStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -385,7 +385,7 @@ public class HttpJsonEntityTypesStub extends EntityTypesStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -426,7 +426,7 @@ public class HttpJsonEntityTypesStub extends EntityTypesStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -467,7 +467,7 @@ public class HttpJsonEntityTypesStub extends EntityTypesStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonEnvironmentsStub.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonEnvironmentsStub.java
index c53c10bbeea3..087c45c3e77a 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonEnvironmentsStub.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonEnvironmentsStub.java
@@ -169,7 +169,7 @@ public class HttpJsonEnvironmentsStub extends EnvironmentsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("environment", request.getEnvironment()))
+                                  .toBody("environment", request.getEnvironment(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -213,7 +213,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-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonFulfillmentsStub.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonFulfillmentsStub.java
index 750c919faa9f..3a5637fa76cd 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonFulfillmentsStub.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonFulfillmentsStub.java
@@ -123,7 +123,7 @@ public class HttpJsonFulfillmentsStub extends FulfillmentsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("fulfillment", request.getFulfillment()))
+                                  .toBody("fulfillment", request.getFulfillment(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonIntentsStub.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonIntentsStub.java
index 78d2df7d25ad..87279d36caae 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonIntentsStub.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonIntentsStub.java
@@ -183,7 +183,8 @@ public class HttpJsonIntentsStub extends IntentsStub {
                           })
                       .setRequestBodyExtractor(
                           request ->
-                              ProtoRestSerializer.create().toBody("intent", request.getIntent()))
+                              ProtoRestSerializer.create()
+                                  .toBody("intent", request.getIntent(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -225,7 +226,8 @@ public class HttpJsonIntentsStub extends IntentsStub {
                           })
                       .setRequestBodyExtractor(
                           request ->
-                              ProtoRestSerializer.create().toBody("intent", request.getIntent()))
+                              ProtoRestSerializer.create()
+                                  .toBody("intent", request.getIntent(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -297,7 +299,7 @@ public class HttpJsonIntentsStub extends IntentsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -338,7 +340,7 @@ public class HttpJsonIntentsStub extends IntentsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonKnowledgeBasesStub.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonKnowledgeBasesStub.java
index da643372accb..97b0adfe4ebd 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonKnowledgeBasesStub.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonKnowledgeBasesStub.java
@@ -170,7 +170,7 @@ public class HttpJsonKnowledgeBasesStub extends KnowledgeBasesStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("knowledgeBase", request.getKnowledgeBase()))
+                                  .toBody("knowledgeBase", request.getKnowledgeBase(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -250,7 +250,7 @@ public class HttpJsonKnowledgeBasesStub extends KnowledgeBasesStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("knowledgeBase", request.getKnowledgeBase()))
+                                  .toBody("knowledgeBase", request.getKnowledgeBase(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonParticipantsStub.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonParticipantsStub.java
index 50e8860df451..84f3d3d03527 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonParticipantsStub.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonParticipantsStub.java
@@ -103,7 +103,7 @@ public class HttpJsonParticipantsStub extends ParticipantsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("participant", request.getParticipant()))
+                                  .toBody("participant", request.getParticipant(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -215,7 +215,7 @@ public class HttpJsonParticipantsStub extends ParticipantsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("participant", request.getParticipant()))
+                                  .toBody("participant", request.getParticipant(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -254,7 +254,8 @@ public class HttpJsonParticipantsStub extends ParticipantsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParticipant().build()))
+                                  .toBody(
+                                      "*", request.toBuilder().clearParticipant().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -292,7 +293,7 @@ public class HttpJsonParticipantsStub extends ParticipantsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -330,7 +331,7 @@ public class HttpJsonParticipantsStub extends ParticipantsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -368,7 +369,7 @@ public class HttpJsonParticipantsStub extends ParticipantsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -440,7 +441,7 @@ public class HttpJsonParticipantsStub extends ParticipantsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonSessionEntityTypesStub.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonSessionEntityTypesStub.java
index 9ceb049fb1b4..fa9f0a67e6e5 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonSessionEntityTypesStub.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonSessionEntityTypesStub.java
@@ -175,7 +175,8 @@ public class HttpJsonSessionEntityTypesStub extends SessionEntityTypesStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("sessionEntityType", request.getSessionEntityType()))
+                                  .toBody(
+                                      "sessionEntityType", request.getSessionEntityType(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -220,7 +221,8 @@ public class HttpJsonSessionEntityTypesStub extends SessionEntityTypesStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("sessionEntityType", request.getSessionEntityType()))
+                                  .toBody(
+                                      "sessionEntityType", request.getSessionEntityType(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonSessionsStub.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonSessionsStub.java
index ac04876562c9..927d2c8d804e 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonSessionsStub.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonSessionsStub.java
@@ -87,7 +87,7 @@ public class HttpJsonSessionsStub extends SessionsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearSession().build()))
+                                  .toBody("*", request.toBuilder().clearSession().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonVersionsStub.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonVersionsStub.java
index 7188c5e4b400..dc7061d01f37 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonVersionsStub.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/HttpJsonVersionsStub.java
@@ -159,7 +159,8 @@ public class HttpJsonVersionsStub extends VersionsStub {
                           })
                       .setRequestBodyExtractor(
                           request ->
-                              ProtoRestSerializer.create().toBody("version", request.getVersion()))
+                              ProtoRestSerializer.create()
+                                  .toBody("version", request.getVersion(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -198,7 +199,8 @@ public class HttpJsonVersionsStub extends VersionsStub {
                           })
                       .setRequestBodyExtractor(
                           request ->
-                              ProtoRestSerializer.create().toBody("version", request.getVersion()))
+                              ProtoRestSerializer.create()
+                                  .toBody("version", request.getVersion(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/IntentsStubSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/IntentsStubSettings.java
index f511029261dc..d05f038121f8 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/IntentsStubSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/IntentsStubSettings.java
@@ -92,16 +92,16 @@
  * 

For example, to set the total timeout of getIntent 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
  * IntentsStubSettings.Builder intentsSettingsBuilder = IntentsStubSettings.newBuilder();
  * intentsSettingsBuilder
  *     .getIntentSettings()
  *     .setRetrySettings(
- *         intentsSettingsBuilder
- *             .getIntentSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         intentsSettingsBuilder.getIntentSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * IntentsStubSettings intentsSettings = intentsSettingsBuilder.build();
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/KnowledgeBasesStubSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/KnowledgeBasesStubSettings.java
index 15e305249299..4810a49610a2 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/KnowledgeBasesStubSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/KnowledgeBasesStubSettings.java
@@ -83,17 +83,17 @@
  * 

For example, to set the total timeout of getKnowledgeBase 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
  * KnowledgeBasesStubSettings.Builder knowledgeBasesSettingsBuilder =
  *     KnowledgeBasesStubSettings.newBuilder();
  * knowledgeBasesSettingsBuilder
  *     .getKnowledgeBaseSettings()
  *     .setRetrySettings(
- *         knowledgeBasesSettingsBuilder
- *             .getKnowledgeBaseSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         knowledgeBasesSettingsBuilder.getKnowledgeBaseSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * KnowledgeBasesStubSettings knowledgeBasesSettings = knowledgeBasesSettingsBuilder.build();
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/ParticipantsStubSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/ParticipantsStubSettings.java
index 6ec8a784a691..b7b4af26f8cf 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/ParticipantsStubSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/ParticipantsStubSettings.java
@@ -98,17 +98,17 @@
  * 

For example, to set the total timeout of createParticipant 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
  * ParticipantsStubSettings.Builder participantsSettingsBuilder =
  *     ParticipantsStubSettings.newBuilder();
  * participantsSettingsBuilder
  *     .createParticipantSettings()
  *     .setRetrySettings(
- *         participantsSettingsBuilder
- *             .createParticipantSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         participantsSettingsBuilder.createParticipantSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * ParticipantsStubSettings participantsSettings = participantsSettingsBuilder.build();
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/SessionEntityTypesStubSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/SessionEntityTypesStubSettings.java
index 8d1b2e42cb31..8e2a14b4be2e 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/SessionEntityTypesStubSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/SessionEntityTypesStubSettings.java
@@ -83,8 +83,11 @@
  * 

For example, to set the total timeout of getSessionEntityType 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
  * SessionEntityTypesStubSettings.Builder sessionEntityTypesSettingsBuilder =
  *     SessionEntityTypesStubSettings.newBuilder();
  * sessionEntityTypesSettingsBuilder
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/SessionsStubSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/SessionsStubSettings.java
index aa27edbc68e3..7fcd3cb6968e 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/SessionsStubSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/SessionsStubSettings.java
@@ -79,16 +79,16 @@
  * 

For example, to set the total timeout of detectIntent 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
  * SessionsStubSettings.Builder sessionsSettingsBuilder = SessionsStubSettings.newBuilder();
  * sessionsSettingsBuilder
  *     .detectIntentSettings()
  *     .setRetrySettings(
- *         sessionsSettingsBuilder
- *             .detectIntentSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         sessionsSettingsBuilder.detectIntentSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * SessionsStubSettings sessionsSettings = sessionsSettingsBuilder.build();
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/VersionsStubSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/VersionsStubSettings.java
index 24c96a72cbce..356f27266a3d 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/VersionsStubSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/VersionsStubSettings.java
@@ -83,16 +83,16 @@
  * 

For example, to set the total timeout of getVersion 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
  * VersionsStubSettings.Builder versionsSettingsBuilder = VersionsStubSettings.newBuilder();
  * versionsSettingsBuilder
  *     .getVersionSettings()
  *     .setRetrySettings(
- *         versionsSettingsBuilder
- *             .getVersionSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         versionsSettingsBuilder.getVersionSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * VersionsStubSettings versionsSettings = versionsSettingsBuilder.build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/create/SyncCreateSetCredentialsProvider.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/create/SyncCreateSetCredentialsProvider.java
index 3319224f0a5f..ed6fe074229c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/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
     AgentsSettings agentsSettings =
         AgentsSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/create/SyncCreateSetCredentialsProvider1.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/create/SyncCreateSetCredentialsProvider1.java
index 1db7e3e5b85c..09df3e82b003 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/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
     AgentsSettings agentsSettings =
         AgentsSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/create/SyncCreateSetEndpoint.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/create/SyncCreateSetEndpoint.java
index afb22f0ef3be..978253a1c71c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/create/SyncCreateSetEndpoint.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/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
     AgentsSettings agentsSettings = AgentsSettings.newBuilder().setEndpoint(myEndpoint).build();
     AgentsClient agentsClient = AgentsClient.create(agentsSettings);
   }
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/deleteagent/AsyncDeleteAgent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/deleteagent/AsyncDeleteAgent.java
index f821b7d24c16..cb0918b37439 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/deleteagent/AsyncDeleteAgent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/deleteagent/AsyncDeleteAgent.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteAgent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       DeleteAgentRequest request =
           DeleteAgentRequest.newBuilder().setParent(ProjectName.of("[PROJECT]").toString()).build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/deleteagent/SyncDeleteAgent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/deleteagent/SyncDeleteAgent.java
index bf5347b757a9..ac1ef194cdba 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/deleteagent/SyncDeleteAgent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/deleteagent/SyncDeleteAgent.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteAgent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       DeleteAgentRequest request =
           DeleteAgentRequest.newBuilder().setParent(ProjectName.of("[PROJECT]").toString()).build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/deleteagent/SyncDeleteAgentLocationname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/deleteagent/SyncDeleteAgentLocationname.java
index 3ea6cb81cee8..e6e3318ef346 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/deleteagent/SyncDeleteAgentLocationname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/deleteagent/SyncDeleteAgentLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteAgentLocationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       agentsClient.deleteAgent(parent);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/deleteagent/SyncDeleteAgentProjectname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/deleteagent/SyncDeleteAgentProjectname.java
index 0a0f78ea7962..1866822e566d 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/deleteagent/SyncDeleteAgentProjectname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/deleteagent/SyncDeleteAgentProjectname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteAgentProjectname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       ProjectName parent = ProjectName.of("[PROJECT]");
       agentsClient.deleteAgent(parent);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/deleteagent/SyncDeleteAgentString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/deleteagent/SyncDeleteAgentString.java
index e817be847f7b..f465f66a4501 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/deleteagent/SyncDeleteAgentString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/deleteagent/SyncDeleteAgentString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteAgentString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       String parent = ProjectName.of("[PROJECT]").toString();
       agentsClient.deleteAgent(parent);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/exportagent/AsyncExportAgent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/exportagent/AsyncExportAgent.java
index 47d016c54fa5..a4a4533e146a 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/exportagent/AsyncExportAgent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/exportagent/AsyncExportAgent.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncExportAgent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       ExportAgentRequest request =
           ExportAgentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/exportagent/AsyncExportAgentLRO.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/exportagent/AsyncExportAgentLRO.java
index 4df9a39fad8d..0256c590d8b4 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/exportagent/AsyncExportAgentLRO.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/exportagent/AsyncExportAgentLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncExportAgentLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       ExportAgentRequest request =
           ExportAgentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/exportagent/SyncExportAgent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/exportagent/SyncExportAgent.java
index f6641044f692..47b2a030fad4 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/exportagent/SyncExportAgent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/exportagent/SyncExportAgent.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncExportAgent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       ExportAgentRequest request =
           ExportAgentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/exportagent/SyncExportAgentLocationname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/exportagent/SyncExportAgentLocationname.java
index d520dacfc76a..ca6f03a0b812 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/exportagent/SyncExportAgentLocationname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/exportagent/SyncExportAgentLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncExportAgentLocationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       ExportAgentResponse response = agentsClient.exportAgentAsync(parent).get();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/exportagent/SyncExportAgentProjectname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/exportagent/SyncExportAgentProjectname.java
index e30048292ef7..e38717c22434 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/exportagent/SyncExportAgentProjectname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/exportagent/SyncExportAgentProjectname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncExportAgentProjectname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       ProjectName parent = ProjectName.of("[PROJECT]");
       ExportAgentResponse response = agentsClient.exportAgentAsync(parent).get();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/exportagent/SyncExportAgentString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/exportagent/SyncExportAgentString.java
index 5c728bb0da3a..2b7f5b64c73a 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/exportagent/SyncExportAgentString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/exportagent/SyncExportAgentString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncExportAgentString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       String parent = ProjectName.of("[PROJECT]").toString();
       ExportAgentResponse response = agentsClient.exportAgentAsync(parent).get();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/getagent/AsyncGetAgent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/getagent/AsyncGetAgent.java
index 8954419a0b36..c9f13ce317ae 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/getagent/AsyncGetAgent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/getagent/AsyncGetAgent.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetAgent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       GetAgentRequest request =
           GetAgentRequest.newBuilder().setParent(ProjectName.of("[PROJECT]").toString()).build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/getagent/SyncGetAgent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/getagent/SyncGetAgent.java
index a57bc1de7f3a..ee9b1589f234 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/getagent/SyncGetAgent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/getagent/SyncGetAgent.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetAgent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       GetAgentRequest request =
           GetAgentRequest.newBuilder().setParent(ProjectName.of("[PROJECT]").toString()).build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/getagent/SyncGetAgentLocationname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/getagent/SyncGetAgentLocationname.java
index 87350ea7b7ca..60d302260019 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/getagent/SyncGetAgentLocationname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/getagent/SyncGetAgentLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetAgentLocationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       Agent response = agentsClient.getAgent(parent);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/getagent/SyncGetAgentProjectname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/getagent/SyncGetAgentProjectname.java
index 38a090787318..b96b4337a1fa 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/getagent/SyncGetAgentProjectname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/getagent/SyncGetAgentProjectname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetAgentProjectname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       ProjectName parent = ProjectName.of("[PROJECT]");
       Agent response = agentsClient.getAgent(parent);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/getagent/SyncGetAgentString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/getagent/SyncGetAgentString.java
index 8db8221c4524..67ac388562d8 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/getagent/SyncGetAgentString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/getagent/SyncGetAgentString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetAgentString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       String parent = ProjectName.of("[PROJECT]").toString();
       Agent response = agentsClient.getAgent(parent);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/getlocation/AsyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/getlocation/AsyncGetLocation.java
index da71c4a858b5..0dabf2504dfa 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/getlocation/AsyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/getlocation/AsyncGetLocation.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       ApiFuture future = agentsClient.getLocationCallable().futureCall(request);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/getlocation/SyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/getlocation/SyncGetLocation.java
index f666aab534fe..d848244982ae 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/getlocation/SyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/getlocation/SyncGetLocation.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       Location response = agentsClient.getLocation(request);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/getvalidationresult/AsyncGetValidationResult.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/getvalidationresult/AsyncGetValidationResult.java
index 4b441d7a7987..b611c007b176 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/getvalidationresult/AsyncGetValidationResult.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/getvalidationresult/AsyncGetValidationResult.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetValidationResult() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       GetValidationResultRequest request =
           GetValidationResultRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/getvalidationresult/SyncGetValidationResult.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/getvalidationresult/SyncGetValidationResult.java
index 0656d3e9b755..520d3fc6e9cc 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/getvalidationresult/SyncGetValidationResult.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/getvalidationresult/SyncGetValidationResult.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetValidationResult() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       GetValidationResultRequest request =
           GetValidationResultRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/importagent/AsyncImportAgent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/importagent/AsyncImportAgent.java
index 58430f584e76..81fbe15bb4ad 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/importagent/AsyncImportAgent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/importagent/AsyncImportAgent.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncImportAgent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       ImportAgentRequest request =
           ImportAgentRequest.newBuilder().setParent(ProjectName.of("[PROJECT]").toString()).build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/importagent/AsyncImportAgentLRO.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/importagent/AsyncImportAgentLRO.java
index e7802145f9f7..0c070efe2c8a 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/importagent/AsyncImportAgentLRO.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/importagent/AsyncImportAgentLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncImportAgentLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       ImportAgentRequest request =
           ImportAgentRequest.newBuilder().setParent(ProjectName.of("[PROJECT]").toString()).build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/importagent/SyncImportAgent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/importagent/SyncImportAgent.java
index 2f7ce1229de0..a2471633f271 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/importagent/SyncImportAgent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/importagent/SyncImportAgent.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncImportAgent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       ImportAgentRequest request =
           ImportAgentRequest.newBuilder().setParent(ProjectName.of("[PROJECT]").toString()).build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/listlocations/AsyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/listlocations/AsyncListLocations.java
index 19f37470a8aa..ff77889a4c1d 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/listlocations/AsyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/listlocations/AsyncListLocations.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/listlocations/AsyncListLocationsPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/listlocations/AsyncListLocationsPaged.java
index f5953a14f2ed..08b04fb8a93e 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/listlocations/AsyncListLocationsPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/listlocations/AsyncListLocationsPaged.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocationsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/listlocations/SyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/listlocations/SyncListLocations.java
index fa85811676f0..fef05ed08df8 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/listlocations/SyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/listlocations/SyncListLocations.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/restoreagent/AsyncRestoreAgent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/restoreagent/AsyncRestoreAgent.java
index 5c79de317df5..d73bff68812a 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/restoreagent/AsyncRestoreAgent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/restoreagent/AsyncRestoreAgent.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncRestoreAgent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       RestoreAgentRequest request =
           RestoreAgentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/restoreagent/AsyncRestoreAgentLRO.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/restoreagent/AsyncRestoreAgentLRO.java
index 7f3526acd3ed..73fdaeb23d1f 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/restoreagent/AsyncRestoreAgentLRO.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/restoreagent/AsyncRestoreAgentLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncRestoreAgentLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       RestoreAgentRequest request =
           RestoreAgentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/restoreagent/SyncRestoreAgent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/restoreagent/SyncRestoreAgent.java
index dc3b6a1c555a..b276b8946d83 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/restoreagent/SyncRestoreAgent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/restoreagent/SyncRestoreAgent.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncRestoreAgent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       RestoreAgentRequest request =
           RestoreAgentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/searchagents/AsyncSearchAgents.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/searchagents/AsyncSearchAgents.java
index 77001c2f7ea0..3e9e4ff49fd3 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/searchagents/AsyncSearchAgents.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/searchagents/AsyncSearchAgents.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncSearchAgents() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       SearchAgentsRequest request =
           SearchAgentsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/searchagents/AsyncSearchAgentsPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/searchagents/AsyncSearchAgentsPaged.java
index 83d2b46f4994..34fed747fed4 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/searchagents/AsyncSearchAgentsPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/searchagents/AsyncSearchAgentsPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncSearchAgentsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       SearchAgentsRequest request =
           SearchAgentsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/searchagents/SyncSearchAgents.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/searchagents/SyncSearchAgents.java
index a4c1eed21e57..35527308916a 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/searchagents/SyncSearchAgents.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/searchagents/SyncSearchAgents.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSearchAgents() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       SearchAgentsRequest request =
           SearchAgentsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/searchagents/SyncSearchAgentsLocationname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/searchagents/SyncSearchAgentsLocationname.java
index bd77cda48fef..908c9e55878c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/searchagents/SyncSearchAgentsLocationname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/searchagents/SyncSearchAgentsLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSearchAgentsLocationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       for (Agent element : agentsClient.searchAgents(parent).iterateAll()) {
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/searchagents/SyncSearchAgentsProjectname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/searchagents/SyncSearchAgentsProjectname.java
index b75b034b6132..45f7e950f521 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/searchagents/SyncSearchAgentsProjectname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/searchagents/SyncSearchAgentsProjectname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSearchAgentsProjectname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       ProjectName parent = ProjectName.of("[PROJECT]");
       for (Agent element : agentsClient.searchAgents(parent).iterateAll()) {
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/searchagents/SyncSearchAgentsString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/searchagents/SyncSearchAgentsString.java
index b291fc778645..0a050e00bcb7 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/searchagents/SyncSearchAgentsString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/searchagents/SyncSearchAgentsString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSearchAgentsString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       String parent = ProjectName.of("[PROJECT]").toString();
       for (Agent element : agentsClient.searchAgents(parent).iterateAll()) {
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/setagent/AsyncSetAgent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/setagent/AsyncSetAgent.java
index 0e8a707584d0..b1bc2af8bc4b 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/setagent/AsyncSetAgent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/setagent/AsyncSetAgent.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncSetAgent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       SetAgentRequest request =
           SetAgentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/setagent/SyncSetAgent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/setagent/SyncSetAgent.java
index 305f2b1583a6..753e20f38ab7 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/setagent/SyncSetAgent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/setagent/SyncSetAgent.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSetAgent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       SetAgentRequest request =
           SetAgentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/setagent/SyncSetAgentAgent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/setagent/SyncSetAgentAgent.java
index bc8b53bb8c04..e46d58908ebb 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/setagent/SyncSetAgentAgent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/setagent/SyncSetAgentAgent.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSetAgentAgent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       Agent agent = Agent.newBuilder().build();
       Agent response = agentsClient.setAgent(agent);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/trainagent/AsyncTrainAgent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/trainagent/AsyncTrainAgent.java
index 8c00498b2bab..8edeb51c103a 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/trainagent/AsyncTrainAgent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/trainagent/AsyncTrainAgent.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncTrainAgent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       TrainAgentRequest request =
           TrainAgentRequest.newBuilder().setParent(ProjectName.of("[PROJECT]").toString()).build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/trainagent/AsyncTrainAgentLRO.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/trainagent/AsyncTrainAgentLRO.java
index 0222acb03d8b..63a5d0bef1fa 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/trainagent/AsyncTrainAgentLRO.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/trainagent/AsyncTrainAgentLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncTrainAgentLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       TrainAgentRequest request =
           TrainAgentRequest.newBuilder().setParent(ProjectName.of("[PROJECT]").toString()).build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/trainagent/SyncTrainAgent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/trainagent/SyncTrainAgent.java
index 7baf0da0690b..08764c8a53d2 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/trainagent/SyncTrainAgent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/trainagent/SyncTrainAgent.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncTrainAgent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       TrainAgentRequest request =
           TrainAgentRequest.newBuilder().setParent(ProjectName.of("[PROJECT]").toString()).build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/trainagent/SyncTrainAgentLocationname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/trainagent/SyncTrainAgentLocationname.java
index 378b3381516c..ea48c28895d5 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/trainagent/SyncTrainAgentLocationname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/trainagent/SyncTrainAgentLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncTrainAgentLocationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       agentsClient.trainAgentAsync(parent).get();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/trainagent/SyncTrainAgentProjectname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/trainagent/SyncTrainAgentProjectname.java
index 4b67dc8ad750..c42233d63348 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/trainagent/SyncTrainAgentProjectname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/trainagent/SyncTrainAgentProjectname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncTrainAgentProjectname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       ProjectName parent = ProjectName.of("[PROJECT]");
       agentsClient.trainAgentAsync(parent).get();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/trainagent/SyncTrainAgentString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/trainagent/SyncTrainAgentString.java
index 3f46d225305f..f96dd73a20bb 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/trainagent/SyncTrainAgentString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentsclient/trainagent/SyncTrainAgentString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncTrainAgentString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       String parent = ProjectName.of("[PROJECT]").toString();
       agentsClient.trainAgentAsync(parent).get();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentssettings/getagent/SyncGetAgent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentssettings/getagent/SyncGetAgent.java
index 16b16b264547..6828667fb9fa 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentssettings/getagent/SyncGetAgent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/agentssettings/getagent/SyncGetAgent.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetAgent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     AgentsSettings.Builder agentsSettingsBuilder = AgentsSettings.newBuilder();
     agentsSettingsBuilder
         .getAgentSettings()
         .setRetrySettings(
-            agentsSettingsBuilder
-                .getAgentSettings()
-                .getRetrySettings()
-                .toBuilder()
+            agentsSettingsBuilder.getAgentSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     AgentsSettings agentsSettings = agentsSettingsBuilder.build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/create/SyncCreateSetCredentialsProvider.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/create/SyncCreateSetCredentialsProvider.java
index d9f970fd0c03..a94f021dbbcb 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/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
     AnswerRecordsSettings answerRecordsSettings =
         AnswerRecordsSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/create/SyncCreateSetCredentialsProvider1.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/create/SyncCreateSetCredentialsProvider1.java
index e0edee528d56..c7be20e76371 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/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
     AnswerRecordsSettings answerRecordsSettings =
         AnswerRecordsSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/create/SyncCreateSetEndpoint.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/create/SyncCreateSetEndpoint.java
index a86ae170325a..3e4dcf9a39b5 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/create/SyncCreateSetEndpoint.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/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
     AnswerRecordsSettings answerRecordsSettings =
         AnswerRecordsSettings.newBuilder().setEndpoint(myEndpoint).build();
     AnswerRecordsClient answerRecordsClient = AnswerRecordsClient.create(answerRecordsSettings);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/getlocation/AsyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/getlocation/AsyncGetLocation.java
index 68cc4dd4f21f..d54419423c21 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/getlocation/AsyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/getlocation/AsyncGetLocation.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AnswerRecordsClient answerRecordsClient = AnswerRecordsClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       ApiFuture future = answerRecordsClient.getLocationCallable().futureCall(request);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/getlocation/SyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/getlocation/SyncGetLocation.java
index d7cd91b2408a..6f8d96468d83 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/getlocation/SyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/getlocation/SyncGetLocation.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AnswerRecordsClient answerRecordsClient = AnswerRecordsClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       Location response = answerRecordsClient.getLocation(request);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/listanswerrecords/AsyncListAnswerRecords.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/listanswerrecords/AsyncListAnswerRecords.java
index 712a1b1e7630..7e5561c46fe6 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/listanswerrecords/AsyncListAnswerRecords.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/listanswerrecords/AsyncListAnswerRecords.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListAnswerRecords() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AnswerRecordsClient answerRecordsClient = AnswerRecordsClient.create()) {
       ListAnswerRecordsRequest request =
           ListAnswerRecordsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/listanswerrecords/AsyncListAnswerRecordsPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/listanswerrecords/AsyncListAnswerRecordsPaged.java
index cbcfc125ef62..502f1ec22a22 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/listanswerrecords/AsyncListAnswerRecordsPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/listanswerrecords/AsyncListAnswerRecordsPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListAnswerRecordsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AnswerRecordsClient answerRecordsClient = AnswerRecordsClient.create()) {
       ListAnswerRecordsRequest request =
           ListAnswerRecordsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/listanswerrecords/SyncListAnswerRecords.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/listanswerrecords/SyncListAnswerRecords.java
index e56b1ab2f996..5b0c64c9fe6a 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/listanswerrecords/SyncListAnswerRecords.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/listanswerrecords/SyncListAnswerRecords.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListAnswerRecords() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AnswerRecordsClient answerRecordsClient = AnswerRecordsClient.create()) {
       ListAnswerRecordsRequest request =
           ListAnswerRecordsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/listanswerrecords/SyncListAnswerRecordsLocationname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/listanswerrecords/SyncListAnswerRecordsLocationname.java
index 756ff2447934..3363287f8e78 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/listanswerrecords/SyncListAnswerRecordsLocationname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/listanswerrecords/SyncListAnswerRecordsLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListAnswerRecordsLocationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AnswerRecordsClient answerRecordsClient = AnswerRecordsClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       for (AnswerRecord element : answerRecordsClient.listAnswerRecords(parent).iterateAll()) {
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/listanswerrecords/SyncListAnswerRecordsProjectname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/listanswerrecords/SyncListAnswerRecordsProjectname.java
index fd5073544cd2..9b93652f4587 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/listanswerrecords/SyncListAnswerRecordsProjectname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/listanswerrecords/SyncListAnswerRecordsProjectname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListAnswerRecordsProjectname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AnswerRecordsClient answerRecordsClient = AnswerRecordsClient.create()) {
       ProjectName parent = ProjectName.of("[PROJECT]");
       for (AnswerRecord element : answerRecordsClient.listAnswerRecords(parent).iterateAll()) {
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/listanswerrecords/SyncListAnswerRecordsString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/listanswerrecords/SyncListAnswerRecordsString.java
index 1fdcac696009..eaf841a121b6 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/listanswerrecords/SyncListAnswerRecordsString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/listanswerrecords/SyncListAnswerRecordsString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListAnswerRecordsString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AnswerRecordsClient answerRecordsClient = AnswerRecordsClient.create()) {
       String parent = ProjectName.of("[PROJECT]").toString();
       for (AnswerRecord element : answerRecordsClient.listAnswerRecords(parent).iterateAll()) {
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/listlocations/AsyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/listlocations/AsyncListLocations.java
index 6f1efde3651a..4a7bd1fd9fd1 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/listlocations/AsyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/listlocations/AsyncListLocations.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AnswerRecordsClient answerRecordsClient = AnswerRecordsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/listlocations/AsyncListLocationsPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/listlocations/AsyncListLocationsPaged.java
index a75518bf9741..44ec80b850a7 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/listlocations/AsyncListLocationsPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/listlocations/AsyncListLocationsPaged.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocationsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AnswerRecordsClient answerRecordsClient = AnswerRecordsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/listlocations/SyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/listlocations/SyncListLocations.java
index bfc624a0b91c..bb7e6c83f5b9 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/listlocations/SyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/listlocations/SyncListLocations.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AnswerRecordsClient answerRecordsClient = AnswerRecordsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/updateanswerrecord/AsyncUpdateAnswerRecord.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/updateanswerrecord/AsyncUpdateAnswerRecord.java
index 0de9c442541a..68d1439e22ef 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/updateanswerrecord/AsyncUpdateAnswerRecord.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/updateanswerrecord/AsyncUpdateAnswerRecord.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateAnswerRecord() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AnswerRecordsClient answerRecordsClient = AnswerRecordsClient.create()) {
       UpdateAnswerRecordRequest request =
           UpdateAnswerRecordRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/updateanswerrecord/SyncUpdateAnswerRecord.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/updateanswerrecord/SyncUpdateAnswerRecord.java
index 6d02e3cf135f..cf12b5d58222 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/updateanswerrecord/SyncUpdateAnswerRecord.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/updateanswerrecord/SyncUpdateAnswerRecord.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateAnswerRecord() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AnswerRecordsClient answerRecordsClient = AnswerRecordsClient.create()) {
       UpdateAnswerRecordRequest request =
           UpdateAnswerRecordRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/updateanswerrecord/SyncUpdateAnswerRecordAnswerrecordFieldmask.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/updateanswerrecord/SyncUpdateAnswerRecordAnswerrecordFieldmask.java
index 320c5702fc8b..439d635ddd7a 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/updateanswerrecord/SyncUpdateAnswerRecordAnswerrecordFieldmask.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordsclient/updateanswerrecord/SyncUpdateAnswerRecordAnswerrecordFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateAnswerRecordAnswerrecordFieldmask() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AnswerRecordsClient answerRecordsClient = AnswerRecordsClient.create()) {
       AnswerRecord answerRecord = AnswerRecord.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordssettings/updateanswerrecord/SyncUpdateAnswerRecord.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordssettings/updateanswerrecord/SyncUpdateAnswerRecord.java
index 784a0160408e..80769e67cbca 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordssettings/updateanswerrecord/SyncUpdateAnswerRecord.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/answerrecordssettings/updateanswerrecord/SyncUpdateAnswerRecord.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateAnswerRecord() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     AnswerRecordsSettings.Builder answerRecordsSettingsBuilder = AnswerRecordsSettings.newBuilder();
     answerRecordsSettingsBuilder
         .updateAnswerRecordSettings()
         .setRetrySettings(
-            answerRecordsSettingsBuilder
-                .updateAnswerRecordSettings()
-                .getRetrySettings()
-                .toBuilder()
+            answerRecordsSettingsBuilder.updateAnswerRecordSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     AnswerRecordsSettings answerRecordsSettings = answerRecordsSettingsBuilder.build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/create/SyncCreateSetCredentialsProvider.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/create/SyncCreateSetCredentialsProvider.java
index 0cba62fa6880..4849f7632bdb 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/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
     ContextsSettings contextsSettings =
         ContextsSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/create/SyncCreateSetCredentialsProvider1.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/create/SyncCreateSetCredentialsProvider1.java
index 05c889b3715d..5ed75f3e5b9d 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/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
     ContextsSettings contextsSettings =
         ContextsSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/create/SyncCreateSetEndpoint.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/create/SyncCreateSetEndpoint.java
index d510c03938b0..7037210cfb75 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/create/SyncCreateSetEndpoint.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/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
     ContextsSettings contextsSettings =
         ContextsSettings.newBuilder().setEndpoint(myEndpoint).build();
     ContextsClient contextsClient = ContextsClient.create(contextsSettings);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/createcontext/AsyncCreateContext.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/createcontext/AsyncCreateContext.java
index 5e28a6d07f94..3d8770173360 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/createcontext/AsyncCreateContext.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/createcontext/AsyncCreateContext.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateContext() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       CreateContextRequest request =
           CreateContextRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/createcontext/SyncCreateContext.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/createcontext/SyncCreateContext.java
index 2853602c1a9a..0d33f7c0d10f 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/createcontext/SyncCreateContext.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/createcontext/SyncCreateContext.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateContext() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       CreateContextRequest request =
           CreateContextRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/createcontext/SyncCreateContextSessionnameContext.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/createcontext/SyncCreateContextSessionnameContext.java
index 75b8d6c036ad..339c29ed98fa 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/createcontext/SyncCreateContextSessionnameContext.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/createcontext/SyncCreateContextSessionnameContext.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateContextSessionnameContext() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       SessionName parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]");
       Context context = Context.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/createcontext/SyncCreateContextStringContext.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/createcontext/SyncCreateContextStringContext.java
index 01b5f9eb8787..97ba07376a73 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/createcontext/SyncCreateContextStringContext.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/createcontext/SyncCreateContextStringContext.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateContextStringContext() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       String parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]").toString();
       Context context = Context.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/deleteallcontexts/AsyncDeleteAllContexts.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/deleteallcontexts/AsyncDeleteAllContexts.java
index 35320643bdad..887b7686e1c2 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/deleteallcontexts/AsyncDeleteAllContexts.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/deleteallcontexts/AsyncDeleteAllContexts.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteAllContexts() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       DeleteAllContextsRequest request =
           DeleteAllContextsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/deleteallcontexts/SyncDeleteAllContexts.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/deleteallcontexts/SyncDeleteAllContexts.java
index 439fe00c285c..6851d0ce167c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/deleteallcontexts/SyncDeleteAllContexts.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/deleteallcontexts/SyncDeleteAllContexts.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteAllContexts() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       DeleteAllContextsRequest request =
           DeleteAllContextsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/deleteallcontexts/SyncDeleteAllContextsSessionname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/deleteallcontexts/SyncDeleteAllContextsSessionname.java
index c314d4264bf6..121fbbb9ae58 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/deleteallcontexts/SyncDeleteAllContextsSessionname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/deleteallcontexts/SyncDeleteAllContextsSessionname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteAllContextsSessionname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       SessionName parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]");
       contextsClient.deleteAllContexts(parent);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/deleteallcontexts/SyncDeleteAllContextsString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/deleteallcontexts/SyncDeleteAllContextsString.java
index 0037c5fee1d3..985bce58bd90 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/deleteallcontexts/SyncDeleteAllContextsString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/deleteallcontexts/SyncDeleteAllContextsString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteAllContextsString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       String parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]").toString();
       contextsClient.deleteAllContexts(parent);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/deletecontext/AsyncDeleteContext.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/deletecontext/AsyncDeleteContext.java
index a437ce3c0fb2..65c22da06b2b 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/deletecontext/AsyncDeleteContext.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/deletecontext/AsyncDeleteContext.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteContext() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       DeleteContextRequest request =
           DeleteContextRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/deletecontext/SyncDeleteContext.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/deletecontext/SyncDeleteContext.java
index 14eabc05de1c..31e2dac0bf83 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/deletecontext/SyncDeleteContext.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/deletecontext/SyncDeleteContext.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteContext() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       DeleteContextRequest request =
           DeleteContextRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/deletecontext/SyncDeleteContextContextname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/deletecontext/SyncDeleteContextContextname.java
index bc2c4b0177c9..0c2c2aa677bc 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/deletecontext/SyncDeleteContextContextname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/deletecontext/SyncDeleteContextContextname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteContextContextname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       ContextName name =
           ContextName.ofProjectSessionContextName("[PROJECT]", "[SESSION]", "[CONTEXT]");
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/deletecontext/SyncDeleteContextString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/deletecontext/SyncDeleteContextString.java
index 139b81e6c54a..98a909dbba4d 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/deletecontext/SyncDeleteContextString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/deletecontext/SyncDeleteContextString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteContextString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       String name =
           ContextName.ofProjectSessionContextName("[PROJECT]", "[SESSION]", "[CONTEXT]").toString();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/getcontext/AsyncGetContext.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/getcontext/AsyncGetContext.java
index e4b00c7716c8..3dfcd2dabdda 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/getcontext/AsyncGetContext.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/getcontext/AsyncGetContext.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetContext() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       GetContextRequest request =
           GetContextRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/getcontext/SyncGetContext.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/getcontext/SyncGetContext.java
index e92514ba5d51..858ddf485633 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/getcontext/SyncGetContext.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/getcontext/SyncGetContext.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetContext() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       GetContextRequest request =
           GetContextRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/getcontext/SyncGetContextContextname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/getcontext/SyncGetContextContextname.java
index 882a34632567..8521e6bfe5c7 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/getcontext/SyncGetContextContextname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/getcontext/SyncGetContextContextname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetContextContextname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       ContextName name =
           ContextName.ofProjectSessionContextName("[PROJECT]", "[SESSION]", "[CONTEXT]");
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/getcontext/SyncGetContextString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/getcontext/SyncGetContextString.java
index f0442e3d2894..2cc4b261f53d 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/getcontext/SyncGetContextString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/getcontext/SyncGetContextString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetContextString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       String name =
           ContextName.ofProjectSessionContextName("[PROJECT]", "[SESSION]", "[CONTEXT]").toString();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/getlocation/AsyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/getlocation/AsyncGetLocation.java
index dc5c9f90da88..71044d444707 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/getlocation/AsyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/getlocation/AsyncGetLocation.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       ApiFuture future = contextsClient.getLocationCallable().futureCall(request);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/getlocation/SyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/getlocation/SyncGetLocation.java
index f7c6f65763b1..faa264f435ce 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/getlocation/SyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/getlocation/SyncGetLocation.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       Location response = contextsClient.getLocation(request);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/listcontexts/AsyncListContexts.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/listcontexts/AsyncListContexts.java
index 4699a8a97254..2c908dcd18c7 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/listcontexts/AsyncListContexts.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/listcontexts/AsyncListContexts.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListContexts() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       ListContextsRequest request =
           ListContextsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/listcontexts/AsyncListContextsPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/listcontexts/AsyncListContextsPaged.java
index 97ba57ceb662..71aa1bda061b 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/listcontexts/AsyncListContextsPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/listcontexts/AsyncListContextsPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListContextsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       ListContextsRequest request =
           ListContextsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/listcontexts/SyncListContexts.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/listcontexts/SyncListContexts.java
index 33fa129feaed..f51bcbcc8d42 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/listcontexts/SyncListContexts.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/listcontexts/SyncListContexts.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListContexts() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       ListContextsRequest request =
           ListContextsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/listcontexts/SyncListContextsSessionname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/listcontexts/SyncListContextsSessionname.java
index 79cd7774ea4d..8840a1969e49 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/listcontexts/SyncListContextsSessionname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/listcontexts/SyncListContextsSessionname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListContextsSessionname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       SessionName parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]");
       for (Context element : contextsClient.listContexts(parent).iterateAll()) {
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/listcontexts/SyncListContextsString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/listcontexts/SyncListContextsString.java
index c6fea207fd30..19a90f539ce8 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/listcontexts/SyncListContextsString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/listcontexts/SyncListContextsString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListContextsString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       String parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]").toString();
       for (Context element : contextsClient.listContexts(parent).iterateAll()) {
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/listlocations/AsyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/listlocations/AsyncListLocations.java
index e87f5a3d25af..8ccc9e43ea21 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/listlocations/AsyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/listlocations/AsyncListLocations.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/listlocations/AsyncListLocationsPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/listlocations/AsyncListLocationsPaged.java
index 2564c0b5d577..bce7b329af61 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/listlocations/AsyncListLocationsPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/listlocations/AsyncListLocationsPaged.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocationsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/listlocations/SyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/listlocations/SyncListLocations.java
index 08b59cb40840..cf1e89e3fa60 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/listlocations/SyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/listlocations/SyncListLocations.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/updatecontext/AsyncUpdateContext.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/updatecontext/AsyncUpdateContext.java
index 2a8767fb8df9..684cf4b046a5 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/updatecontext/AsyncUpdateContext.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/updatecontext/AsyncUpdateContext.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateContext() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       UpdateContextRequest request =
           UpdateContextRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/updatecontext/SyncUpdateContext.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/updatecontext/SyncUpdateContext.java
index 7d2d649775b7..f2840ab75c6c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/updatecontext/SyncUpdateContext.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/updatecontext/SyncUpdateContext.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateContext() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       UpdateContextRequest request =
           UpdateContextRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/updatecontext/SyncUpdateContextContextFieldmask.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/updatecontext/SyncUpdateContextContextFieldmask.java
index dd8bb7a0ca19..907e9c0a6572 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/updatecontext/SyncUpdateContextContextFieldmask.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextsclient/updatecontext/SyncUpdateContextContextFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateContextContextFieldmask() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       Context context = Context.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextssettings/getcontext/SyncGetContext.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextssettings/getcontext/SyncGetContext.java
index 8325f041c2f6..8a7913701248 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextssettings/getcontext/SyncGetContext.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/contextssettings/getcontext/SyncGetContext.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetContext() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     ContextsSettings.Builder contextsSettingsBuilder = ContextsSettings.newBuilder();
     contextsSettingsBuilder
         .getContextSettings()
         .setRetrySettings(
-            contextsSettingsBuilder
-                .getContextSettings()
-                .getRetrySettings()
-                .toBuilder()
+            contextsSettingsBuilder.getContextSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     ContextsSettings contextsSettings = contextsSettingsBuilder.build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/create/SyncCreateSetCredentialsProvider.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/create/SyncCreateSetCredentialsProvider.java
index ef625bf92e17..2c8039e0cd91 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/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
     ConversationDatasetsSettings conversationDatasetsSettings =
         ConversationDatasetsSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/create/SyncCreateSetCredentialsProvider1.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/create/SyncCreateSetCredentialsProvider1.java
index 35e20890f7c3..b91fd3f69cb8 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/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
     ConversationDatasetsSettings conversationDatasetsSettings =
         ConversationDatasetsSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/create/SyncCreateSetEndpoint.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/create/SyncCreateSetEndpoint.java
index 393333d190a6..3aa2e22e88ad 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/create/SyncCreateSetEndpoint.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/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
     ConversationDatasetsSettings conversationDatasetsSettings =
         ConversationDatasetsSettings.newBuilder().setEndpoint(myEndpoint).build();
     ConversationDatasetsClient conversationDatasetsClient =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/createconversationdataset/AsyncCreateConversationDataset.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/createconversationdataset/AsyncCreateConversationDataset.java
index 719695d0ee4a..b9ba67350848 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/createconversationdataset/AsyncCreateConversationDataset.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/createconversationdataset/AsyncCreateConversationDataset.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateConversationDataset() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationDatasetsClient conversationDatasetsClient =
         ConversationDatasetsClient.create()) {
       CreateConversationDatasetRequest request =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/createconversationdataset/AsyncCreateConversationDatasetLRO.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/createconversationdataset/AsyncCreateConversationDatasetLRO.java
index f4c9b7816f3a..e44c7fade92a 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/createconversationdataset/AsyncCreateConversationDatasetLRO.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/createconversationdataset/AsyncCreateConversationDatasetLRO.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateConversationDatasetLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationDatasetsClient conversationDatasetsClient =
         ConversationDatasetsClient.create()) {
       CreateConversationDatasetRequest request =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/createconversationdataset/SyncCreateConversationDataset.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/createconversationdataset/SyncCreateConversationDataset.java
index 344439533ff1..92077166d6d3 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/createconversationdataset/SyncCreateConversationDataset.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/createconversationdataset/SyncCreateConversationDataset.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateConversationDataset() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationDatasetsClient conversationDatasetsClient =
         ConversationDatasetsClient.create()) {
       CreateConversationDatasetRequest request =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/createconversationdataset/SyncCreateConversationDatasetStringConversationdataset.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/createconversationdataset/SyncCreateConversationDatasetStringConversationdataset.java
index eed283ee68dc..635450efaa11 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/createconversationdataset/SyncCreateConversationDatasetStringConversationdataset.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/createconversationdataset/SyncCreateConversationDatasetStringConversationdataset.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateConversationDatasetStringConversationdataset() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationDatasetsClient conversationDatasetsClient =
         ConversationDatasetsClient.create()) {
       String parent = "parent-995424086";
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/deleteconversationdataset/AsyncDeleteConversationDataset.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/deleteconversationdataset/AsyncDeleteConversationDataset.java
index 7c3f74c5ee33..d80a721b1004 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/deleteconversationdataset/AsyncDeleteConversationDataset.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/deleteconversationdataset/AsyncDeleteConversationDataset.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteConversationDataset() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationDatasetsClient conversationDatasetsClient =
         ConversationDatasetsClient.create()) {
       DeleteConversationDatasetRequest request =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/deleteconversationdataset/AsyncDeleteConversationDatasetLRO.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/deleteconversationdataset/AsyncDeleteConversationDatasetLRO.java
index 037e71902d77..1bc073337c19 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/deleteconversationdataset/AsyncDeleteConversationDatasetLRO.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/deleteconversationdataset/AsyncDeleteConversationDatasetLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteConversationDatasetLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationDatasetsClient conversationDatasetsClient =
         ConversationDatasetsClient.create()) {
       DeleteConversationDatasetRequest request =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/deleteconversationdataset/SyncDeleteConversationDataset.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/deleteconversationdataset/SyncDeleteConversationDataset.java
index 386174331c2d..077d2640ae12 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/deleteconversationdataset/SyncDeleteConversationDataset.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/deleteconversationdataset/SyncDeleteConversationDataset.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteConversationDataset() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationDatasetsClient conversationDatasetsClient =
         ConversationDatasetsClient.create()) {
       DeleteConversationDatasetRequest request =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/deleteconversationdataset/SyncDeleteConversationDatasetConversationdatasetname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/deleteconversationdataset/SyncDeleteConversationDatasetConversationdatasetname.java
index b21b5e5861bc..0fb162124247 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/deleteconversationdataset/SyncDeleteConversationDatasetConversationdatasetname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/deleteconversationdataset/SyncDeleteConversationDatasetConversationdatasetname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteConversationDatasetConversationdatasetname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationDatasetsClient conversationDatasetsClient =
         ConversationDatasetsClient.create()) {
       ConversationDatasetName name =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/deleteconversationdataset/SyncDeleteConversationDatasetString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/deleteconversationdataset/SyncDeleteConversationDatasetString.java
index cf06ed06329d..a1ad86a86073 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/deleteconversationdataset/SyncDeleteConversationDatasetString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/deleteconversationdataset/SyncDeleteConversationDatasetString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteConversationDatasetString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationDatasetsClient conversationDatasetsClient =
         ConversationDatasetsClient.create()) {
       String name =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/getconversationdataset/AsyncGetConversationDataset.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/getconversationdataset/AsyncGetConversationDataset.java
index b9b649b8c818..078a1342b5f1 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/getconversationdataset/AsyncGetConversationDataset.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/getconversationdataset/AsyncGetConversationDataset.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetConversationDataset() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationDatasetsClient conversationDatasetsClient =
         ConversationDatasetsClient.create()) {
       GetConversationDatasetRequest request =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/getconversationdataset/SyncGetConversationDataset.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/getconversationdataset/SyncGetConversationDataset.java
index e332ba3e751c..2eb8195e3808 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/getconversationdataset/SyncGetConversationDataset.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/getconversationdataset/SyncGetConversationDataset.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetConversationDataset() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationDatasetsClient conversationDatasetsClient =
         ConversationDatasetsClient.create()) {
       GetConversationDatasetRequest request =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/getconversationdataset/SyncGetConversationDatasetConversationdatasetname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/getconversationdataset/SyncGetConversationDatasetConversationdatasetname.java
index 406649f3a55d..ab23bcb97d6e 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/getconversationdataset/SyncGetConversationDatasetConversationdatasetname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/getconversationdataset/SyncGetConversationDatasetConversationdatasetname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetConversationDatasetConversationdatasetname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationDatasetsClient conversationDatasetsClient =
         ConversationDatasetsClient.create()) {
       ConversationDatasetName name =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/getconversationdataset/SyncGetConversationDatasetString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/getconversationdataset/SyncGetConversationDatasetString.java
index 224bbb487949..9f954662e443 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/getconversationdataset/SyncGetConversationDatasetString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/getconversationdataset/SyncGetConversationDatasetString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetConversationDatasetString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationDatasetsClient conversationDatasetsClient =
         ConversationDatasetsClient.create()) {
       String name =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/getlocation/AsyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/getlocation/AsyncGetLocation.java
index 05c928c3313b..743d0c4819cb 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/getlocation/AsyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/getlocation/AsyncGetLocation.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationDatasetsClient conversationDatasetsClient =
         ConversationDatasetsClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/getlocation/SyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/getlocation/SyncGetLocation.java
index 05b76a8af873..8469d94154c0 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/getlocation/SyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/getlocation/SyncGetLocation.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationDatasetsClient conversationDatasetsClient =
         ConversationDatasetsClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/importconversationdata/AsyncImportConversationData.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/importconversationdata/AsyncImportConversationData.java
index 3cf17383ef75..84a77463346c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/importconversationdata/AsyncImportConversationData.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/importconversationdata/AsyncImportConversationData.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncImportConversationData() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationDatasetsClient conversationDatasetsClient =
         ConversationDatasetsClient.create()) {
       ImportConversationDataRequest request =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/importconversationdata/AsyncImportConversationDataLRO.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/importconversationdata/AsyncImportConversationDataLRO.java
index fb18cffbf466..69a45e4520e5 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/importconversationdata/AsyncImportConversationDataLRO.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/importconversationdata/AsyncImportConversationDataLRO.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncImportConversationDataLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationDatasetsClient conversationDatasetsClient =
         ConversationDatasetsClient.create()) {
       ImportConversationDataRequest request =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/importconversationdata/SyncImportConversationData.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/importconversationdata/SyncImportConversationData.java
index 05614536b98a..9ec201bf252b 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/importconversationdata/SyncImportConversationData.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/importconversationdata/SyncImportConversationData.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncImportConversationData() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationDatasetsClient conversationDatasetsClient =
         ConversationDatasetsClient.create()) {
       ImportConversationDataRequest request =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/listconversationdatasets/AsyncListConversationDatasets.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/listconversationdatasets/AsyncListConversationDatasets.java
index b3672026e6bf..81be61a68af6 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/listconversationdatasets/AsyncListConversationDatasets.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/listconversationdatasets/AsyncListConversationDatasets.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListConversationDatasets() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationDatasetsClient conversationDatasetsClient =
         ConversationDatasetsClient.create()) {
       ListConversationDatasetsRequest request =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/listconversationdatasets/AsyncListConversationDatasetsPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/listconversationdatasets/AsyncListConversationDatasetsPaged.java
index b20dbad8961b..97b870fd5293 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/listconversationdatasets/AsyncListConversationDatasetsPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/listconversationdatasets/AsyncListConversationDatasetsPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListConversationDatasetsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationDatasetsClient conversationDatasetsClient =
         ConversationDatasetsClient.create()) {
       ListConversationDatasetsRequest request =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/listconversationdatasets/SyncListConversationDatasets.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/listconversationdatasets/SyncListConversationDatasets.java
index b010715a7f70..a49880dcae21 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/listconversationdatasets/SyncListConversationDatasets.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/listconversationdatasets/SyncListConversationDatasets.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListConversationDatasets() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationDatasetsClient conversationDatasetsClient =
         ConversationDatasetsClient.create()) {
       ListConversationDatasetsRequest request =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/listconversationdatasets/SyncListConversationDatasetsLocationname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/listconversationdatasets/SyncListConversationDatasetsLocationname.java
index 6cc691537906..fc0809861cef 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/listconversationdatasets/SyncListConversationDatasetsLocationname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/listconversationdatasets/SyncListConversationDatasetsLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListConversationDatasetsLocationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationDatasetsClient conversationDatasetsClient =
         ConversationDatasetsClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/listconversationdatasets/SyncListConversationDatasetsString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/listconversationdatasets/SyncListConversationDatasetsString.java
index 70d1d4b71aed..371cf0356465 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/listconversationdatasets/SyncListConversationDatasetsString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/listconversationdatasets/SyncListConversationDatasetsString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListConversationDatasetsString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationDatasetsClient conversationDatasetsClient =
         ConversationDatasetsClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/listlocations/AsyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/listlocations/AsyncListLocations.java
index 7a5dbbb598d6..87aa1b4ceb04 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/listlocations/AsyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/listlocations/AsyncListLocations.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationDatasetsClient conversationDatasetsClient =
         ConversationDatasetsClient.create()) {
       ListLocationsRequest request =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/listlocations/AsyncListLocationsPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/listlocations/AsyncListLocationsPaged.java
index 3aef6434ec11..727487c0a7b7 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/listlocations/AsyncListLocationsPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/listlocations/AsyncListLocationsPaged.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocationsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationDatasetsClient conversationDatasetsClient =
         ConversationDatasetsClient.create()) {
       ListLocationsRequest request =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/listlocations/SyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/listlocations/SyncListLocations.java
index f985e9289ca1..ab74facb2fc7 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/listlocations/SyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetsclient/listlocations/SyncListLocations.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationDatasetsClient conversationDatasetsClient =
         ConversationDatasetsClient.create()) {
       ListLocationsRequest request =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetssettings/getconversationdataset/SyncGetConversationDataset.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetssettings/getconversationdataset/SyncGetConversationDataset.java
index 1a160f1ed0ac..22824d9c7e45 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetssettings/getconversationdataset/SyncGetConversationDataset.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationdatasetssettings/getconversationdataset/SyncGetConversationDataset.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetConversationDataset() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     ConversationDatasetsSettings.Builder conversationDatasetsSettingsBuilder =
         ConversationDatasetsSettings.newBuilder();
     conversationDatasetsSettingsBuilder
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/create/SyncCreateSetCredentialsProvider.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/create/SyncCreateSetCredentialsProvider.java
index 0032d931dbaf..0f0b823c10d8 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/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
     ConversationModelsSettings conversationModelsSettings =
         ConversationModelsSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/create/SyncCreateSetCredentialsProvider1.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/create/SyncCreateSetCredentialsProvider1.java
index 475557234a82..6cfa2d678174 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/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
     ConversationModelsSettings conversationModelsSettings =
         ConversationModelsSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/create/SyncCreateSetEndpoint.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/create/SyncCreateSetEndpoint.java
index e95debb53d8c..dee66a6f333f 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/create/SyncCreateSetEndpoint.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/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
     ConversationModelsSettings conversationModelsSettings =
         ConversationModelsSettings.newBuilder().setEndpoint(myEndpoint).build();
     ConversationModelsClient conversationModelsClient =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/createconversationmodel/AsyncCreateConversationModel.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/createconversationmodel/AsyncCreateConversationModel.java
index 613384a42525..87711248c10c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/createconversationmodel/AsyncCreateConversationModel.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/createconversationmodel/AsyncCreateConversationModel.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateConversationModel() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationModelsClient conversationModelsClient = ConversationModelsClient.create()) {
       CreateConversationModelRequest request =
           CreateConversationModelRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/createconversationmodel/AsyncCreateConversationModelLRO.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/createconversationmodel/AsyncCreateConversationModelLRO.java
index 220679a257f2..2dfc5de81654 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/createconversationmodel/AsyncCreateConversationModelLRO.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/createconversationmodel/AsyncCreateConversationModelLRO.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateConversationModelLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationModelsClient conversationModelsClient = ConversationModelsClient.create()) {
       CreateConversationModelRequest request =
           CreateConversationModelRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/createconversationmodel/SyncCreateConversationModel.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/createconversationmodel/SyncCreateConversationModel.java
index 3c3e0be05061..f3a306ea5e02 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/createconversationmodel/SyncCreateConversationModel.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/createconversationmodel/SyncCreateConversationModel.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateConversationModel() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationModelsClient conversationModelsClient = ConversationModelsClient.create()) {
       CreateConversationModelRequest request =
           CreateConversationModelRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/createconversationmodel/SyncCreateConversationModelStringConversationmodel.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/createconversationmodel/SyncCreateConversationModelStringConversationmodel.java
index 25910173441f..abd9e66cc5b3 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/createconversationmodel/SyncCreateConversationModelStringConversationmodel.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/createconversationmodel/SyncCreateConversationModelStringConversationmodel.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateConversationModelStringConversationmodel() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationModelsClient conversationModelsClient = ConversationModelsClient.create()) {
       String parent = "parent-995424086";
       ConversationModel conversationModel = ConversationModel.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/createconversationmodelevaluation/AsyncCreateConversationModelEvaluation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/createconversationmodelevaluation/AsyncCreateConversationModelEvaluation.java
index fd50a2bc67c3..5baba4408168 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/createconversationmodelevaluation/AsyncCreateConversationModelEvaluation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/createconversationmodelevaluation/AsyncCreateConversationModelEvaluation.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateConversationModelEvaluation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationModelsClient conversationModelsClient = ConversationModelsClient.create()) {
       CreateConversationModelEvaluationRequest request =
           CreateConversationModelEvaluationRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/createconversationmodelevaluation/AsyncCreateConversationModelEvaluationLRO.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/createconversationmodelevaluation/AsyncCreateConversationModelEvaluationLRO.java
index c3f0093b75fe..19e3c789a4a3 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/createconversationmodelevaluation/AsyncCreateConversationModelEvaluationLRO.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/createconversationmodelevaluation/AsyncCreateConversationModelEvaluationLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateConversationModelEvaluationLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationModelsClient conversationModelsClient = ConversationModelsClient.create()) {
       CreateConversationModelEvaluationRequest request =
           CreateConversationModelEvaluationRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/createconversationmodelevaluation/SyncCreateConversationModelEvaluation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/createconversationmodelevaluation/SyncCreateConversationModelEvaluation.java
index 9c8971c1ec4b..88da579ec4a1 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/createconversationmodelevaluation/SyncCreateConversationModelEvaluation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/createconversationmodelevaluation/SyncCreateConversationModelEvaluation.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateConversationModelEvaluation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationModelsClient conversationModelsClient = ConversationModelsClient.create()) {
       CreateConversationModelEvaluationRequest request =
           CreateConversationModelEvaluationRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/createconversationmodelevaluation/SyncCreateConversationModelEvaluationConversationmodelnameConversationmodelevaluation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/createconversationmodelevaluation/SyncCreateConversationModelEvaluationConversationmodelnameConversationmodelevaluation.java
index e0f704bccbfc..63bd29a530f1 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/createconversationmodelevaluation/SyncCreateConversationModelEvaluationConversationmodelnameConversationmodelevaluation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/createconversationmodelevaluation/SyncCreateConversationModelEvaluationConversationmodelnameConversationmodelevaluation.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   public static void
       syncCreateConversationModelEvaluationConversationmodelnameConversationmodelevaluation()
           throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationModelsClient conversationModelsClient = ConversationModelsClient.create()) {
       ConversationModelName parent =
           ConversationModelName.ofProjectLocationConversationModelName(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/createconversationmodelevaluation/SyncCreateConversationModelEvaluationStringConversationmodelevaluation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/createconversationmodelevaluation/SyncCreateConversationModelEvaluationStringConversationmodelevaluation.java
index 50458b983394..a80598241ac3 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/createconversationmodelevaluation/SyncCreateConversationModelEvaluationStringConversationmodelevaluation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/createconversationmodelevaluation/SyncCreateConversationModelEvaluationStringConversationmodelevaluation.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
 
   public static void syncCreateConversationModelEvaluationStringConversationmodelevaluation()
       throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationModelsClient conversationModelsClient = ConversationModelsClient.create()) {
       String parent =
           ConversationModelName.ofProjectLocationConversationModelName(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/deleteconversationmodel/AsyncDeleteConversationModel.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/deleteconversationmodel/AsyncDeleteConversationModel.java
index 0cc8af557e75..33b0c7bbb049 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/deleteconversationmodel/AsyncDeleteConversationModel.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/deleteconversationmodel/AsyncDeleteConversationModel.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteConversationModel() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationModelsClient conversationModelsClient = ConversationModelsClient.create()) {
       DeleteConversationModelRequest request =
           DeleteConversationModelRequest.newBuilder().setName("name3373707").build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/deleteconversationmodel/AsyncDeleteConversationModelLRO.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/deleteconversationmodel/AsyncDeleteConversationModelLRO.java
index b01c70cd5e03..60ea302262f8 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/deleteconversationmodel/AsyncDeleteConversationModelLRO.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/deleteconversationmodel/AsyncDeleteConversationModelLRO.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteConversationModelLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationModelsClient conversationModelsClient = ConversationModelsClient.create()) {
       DeleteConversationModelRequest request =
           DeleteConversationModelRequest.newBuilder().setName("name3373707").build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/deleteconversationmodel/SyncDeleteConversationModel.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/deleteconversationmodel/SyncDeleteConversationModel.java
index 0a01d7be9f1d..e9fe9cb29835 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/deleteconversationmodel/SyncDeleteConversationModel.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/deleteconversationmodel/SyncDeleteConversationModel.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteConversationModel() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationModelsClient conversationModelsClient = ConversationModelsClient.create()) {
       DeleteConversationModelRequest request =
           DeleteConversationModelRequest.newBuilder().setName("name3373707").build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/deleteconversationmodel/SyncDeleteConversationModelString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/deleteconversationmodel/SyncDeleteConversationModelString.java
index bbfe390e1aec..8c5de8ed474c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/deleteconversationmodel/SyncDeleteConversationModelString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/deleteconversationmodel/SyncDeleteConversationModelString.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteConversationModelString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationModelsClient conversationModelsClient = ConversationModelsClient.create()) {
       String name = "name3373707";
       conversationModelsClient.deleteConversationModelAsync(name).get();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/deployconversationmodel/AsyncDeployConversationModel.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/deployconversationmodel/AsyncDeployConversationModel.java
index b530226ff5b8..034406fc2ba8 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/deployconversationmodel/AsyncDeployConversationModel.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/deployconversationmodel/AsyncDeployConversationModel.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeployConversationModel() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationModelsClient conversationModelsClient = ConversationModelsClient.create()) {
       DeployConversationModelRequest request =
           DeployConversationModelRequest.newBuilder().setName("name3373707").build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/deployconversationmodel/AsyncDeployConversationModelLRO.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/deployconversationmodel/AsyncDeployConversationModelLRO.java
index 0920ffc074d8..ff35891e2d30 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/deployconversationmodel/AsyncDeployConversationModelLRO.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/deployconversationmodel/AsyncDeployConversationModelLRO.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeployConversationModelLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationModelsClient conversationModelsClient = ConversationModelsClient.create()) {
       DeployConversationModelRequest request =
           DeployConversationModelRequest.newBuilder().setName("name3373707").build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/deployconversationmodel/SyncDeployConversationModel.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/deployconversationmodel/SyncDeployConversationModel.java
index c6de66f2ae1c..795616413f85 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/deployconversationmodel/SyncDeployConversationModel.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/deployconversationmodel/SyncDeployConversationModel.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeployConversationModel() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationModelsClient conversationModelsClient = ConversationModelsClient.create()) {
       DeployConversationModelRequest request =
           DeployConversationModelRequest.newBuilder().setName("name3373707").build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/getconversationmodel/AsyncGetConversationModel.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/getconversationmodel/AsyncGetConversationModel.java
index 82dd494d78d6..a6f060b58056 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/getconversationmodel/AsyncGetConversationModel.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/getconversationmodel/AsyncGetConversationModel.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetConversationModel() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationModelsClient conversationModelsClient = ConversationModelsClient.create()) {
       GetConversationModelRequest request =
           GetConversationModelRequest.newBuilder().setName("name3373707").build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/getconversationmodel/SyncGetConversationModel.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/getconversationmodel/SyncGetConversationModel.java
index e816573e2bd0..278845a07856 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/getconversationmodel/SyncGetConversationModel.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/getconversationmodel/SyncGetConversationModel.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetConversationModel() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationModelsClient conversationModelsClient = ConversationModelsClient.create()) {
       GetConversationModelRequest request =
           GetConversationModelRequest.newBuilder().setName("name3373707").build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/getconversationmodel/SyncGetConversationModelString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/getconversationmodel/SyncGetConversationModelString.java
index d2b1e7fc5190..34e7eea64e72 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/getconversationmodel/SyncGetConversationModelString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/getconversationmodel/SyncGetConversationModelString.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetConversationModelString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationModelsClient conversationModelsClient = ConversationModelsClient.create()) {
       String name = "name3373707";
       ConversationModel response = conversationModelsClient.getConversationModel(name);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/getconversationmodelevaluation/AsyncGetConversationModelEvaluation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/getconversationmodelevaluation/AsyncGetConversationModelEvaluation.java
index 2eff4e41a7ca..044ef57a6a81 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/getconversationmodelevaluation/AsyncGetConversationModelEvaluation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/getconversationmodelevaluation/AsyncGetConversationModelEvaluation.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetConversationModelEvaluation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationModelsClient conversationModelsClient = ConversationModelsClient.create()) {
       GetConversationModelEvaluationRequest request =
           GetConversationModelEvaluationRequest.newBuilder().setName("name3373707").build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/getconversationmodelevaluation/SyncGetConversationModelEvaluation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/getconversationmodelevaluation/SyncGetConversationModelEvaluation.java
index 3eb4d4770992..b2a5c4b0099d 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/getconversationmodelevaluation/SyncGetConversationModelEvaluation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/getconversationmodelevaluation/SyncGetConversationModelEvaluation.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetConversationModelEvaluation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationModelsClient conversationModelsClient = ConversationModelsClient.create()) {
       GetConversationModelEvaluationRequest request =
           GetConversationModelEvaluationRequest.newBuilder().setName("name3373707").build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/getconversationmodelevaluation/SyncGetConversationModelEvaluationString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/getconversationmodelevaluation/SyncGetConversationModelEvaluationString.java
index 3fdb9d3b6da1..80b193f588e3 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/getconversationmodelevaluation/SyncGetConversationModelEvaluationString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/getconversationmodelevaluation/SyncGetConversationModelEvaluationString.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetConversationModelEvaluationString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationModelsClient conversationModelsClient = ConversationModelsClient.create()) {
       String name = "name3373707";
       ConversationModelEvaluation response =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/getlocation/AsyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/getlocation/AsyncGetLocation.java
index 0ff50dd5fafc..4ba5e070d992 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/getlocation/AsyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/getlocation/AsyncGetLocation.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationModelsClient conversationModelsClient = ConversationModelsClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       ApiFuture future =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/getlocation/SyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/getlocation/SyncGetLocation.java
index cc6edb7ac79f..9529054773c0 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/getlocation/SyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/getlocation/SyncGetLocation.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationModelsClient conversationModelsClient = ConversationModelsClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       Location response = conversationModelsClient.getLocation(request);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/listconversationmodelevaluations/AsyncListConversationModelEvaluations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/listconversationmodelevaluations/AsyncListConversationModelEvaluations.java
index 931a431bae92..134d83b78be2 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/listconversationmodelevaluations/AsyncListConversationModelEvaluations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/listconversationmodelevaluations/AsyncListConversationModelEvaluations.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListConversationModelEvaluations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationModelsClient conversationModelsClient = ConversationModelsClient.create()) {
       ListConversationModelEvaluationsRequest request =
           ListConversationModelEvaluationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/listconversationmodelevaluations/AsyncListConversationModelEvaluationsPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/listconversationmodelevaluations/AsyncListConversationModelEvaluationsPaged.java
index 66f4c7ca8780..788ac9881c56 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/listconversationmodelevaluations/AsyncListConversationModelEvaluationsPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/listconversationmodelevaluations/AsyncListConversationModelEvaluationsPaged.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListConversationModelEvaluationsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationModelsClient conversationModelsClient = ConversationModelsClient.create()) {
       ListConversationModelEvaluationsRequest request =
           ListConversationModelEvaluationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/listconversationmodelevaluations/SyncListConversationModelEvaluations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/listconversationmodelevaluations/SyncListConversationModelEvaluations.java
index 1114468cf385..e92f7359ab02 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/listconversationmodelevaluations/SyncListConversationModelEvaluations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/listconversationmodelevaluations/SyncListConversationModelEvaluations.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListConversationModelEvaluations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationModelsClient conversationModelsClient = ConversationModelsClient.create()) {
       ListConversationModelEvaluationsRequest request =
           ListConversationModelEvaluationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/listconversationmodelevaluations/SyncListConversationModelEvaluationsString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/listconversationmodelevaluations/SyncListConversationModelEvaluationsString.java
index ddc1f9447610..db295e051db1 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/listconversationmodelevaluations/SyncListConversationModelEvaluationsString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/listconversationmodelevaluations/SyncListConversationModelEvaluationsString.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListConversationModelEvaluationsString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationModelsClient conversationModelsClient = ConversationModelsClient.create()) {
       String parent = "parent-995424086";
       for (ConversationModelEvaluation element :
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/listconversationmodels/AsyncListConversationModels.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/listconversationmodels/AsyncListConversationModels.java
index bf3139bf1335..fb472ff2fd50 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/listconversationmodels/AsyncListConversationModels.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/listconversationmodels/AsyncListConversationModels.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListConversationModels() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationModelsClient conversationModelsClient = ConversationModelsClient.create()) {
       ListConversationModelsRequest request =
           ListConversationModelsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/listconversationmodels/AsyncListConversationModelsPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/listconversationmodels/AsyncListConversationModelsPaged.java
index 89baec7d3e3f..d127f128da9c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/listconversationmodels/AsyncListConversationModelsPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/listconversationmodels/AsyncListConversationModelsPaged.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListConversationModelsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationModelsClient conversationModelsClient = ConversationModelsClient.create()) {
       ListConversationModelsRequest request =
           ListConversationModelsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/listconversationmodels/SyncListConversationModels.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/listconversationmodels/SyncListConversationModels.java
index e33711b328fd..4f6a6a8a33d6 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/listconversationmodels/SyncListConversationModels.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/listconversationmodels/SyncListConversationModels.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListConversationModels() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationModelsClient conversationModelsClient = ConversationModelsClient.create()) {
       ListConversationModelsRequest request =
           ListConversationModelsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/listconversationmodels/SyncListConversationModelsString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/listconversationmodels/SyncListConversationModelsString.java
index cbd6959efadf..87e7cf8a6677 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/listconversationmodels/SyncListConversationModelsString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/listconversationmodels/SyncListConversationModelsString.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListConversationModelsString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationModelsClient conversationModelsClient = ConversationModelsClient.create()) {
       String parent = "parent-995424086";
       for (ConversationModel element :
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/listlocations/AsyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/listlocations/AsyncListLocations.java
index e1df1ba448c4..ee050d8b4a75 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/listlocations/AsyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/listlocations/AsyncListLocations.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationModelsClient conversationModelsClient = ConversationModelsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/listlocations/AsyncListLocationsPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/listlocations/AsyncListLocationsPaged.java
index 29a57d917310..5a2ec0e15e8d 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/listlocations/AsyncListLocationsPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/listlocations/AsyncListLocationsPaged.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocationsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationModelsClient conversationModelsClient = ConversationModelsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/listlocations/SyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/listlocations/SyncListLocations.java
index 3c41660d433c..7c18f68004ca 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/listlocations/SyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/listlocations/SyncListLocations.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationModelsClient conversationModelsClient = ConversationModelsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/undeployconversationmodel/AsyncUndeployConversationModel.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/undeployconversationmodel/AsyncUndeployConversationModel.java
index 18a915b70b04..8f50985f78d3 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/undeployconversationmodel/AsyncUndeployConversationModel.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/undeployconversationmodel/AsyncUndeployConversationModel.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUndeployConversationModel() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationModelsClient conversationModelsClient = ConversationModelsClient.create()) {
       UndeployConversationModelRequest request =
           UndeployConversationModelRequest.newBuilder().setName("name3373707").build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/undeployconversationmodel/AsyncUndeployConversationModelLRO.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/undeployconversationmodel/AsyncUndeployConversationModelLRO.java
index 59ebd797b36b..c1ad1a5ab19f 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/undeployconversationmodel/AsyncUndeployConversationModelLRO.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/undeployconversationmodel/AsyncUndeployConversationModelLRO.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUndeployConversationModelLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationModelsClient conversationModelsClient = ConversationModelsClient.create()) {
       UndeployConversationModelRequest request =
           UndeployConversationModelRequest.newBuilder().setName("name3373707").build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/undeployconversationmodel/SyncUndeployConversationModel.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/undeployconversationmodel/SyncUndeployConversationModel.java
index 9496b3edbc01..455d598937aa 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/undeployconversationmodel/SyncUndeployConversationModel.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelsclient/undeployconversationmodel/SyncUndeployConversationModel.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUndeployConversationModel() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationModelsClient conversationModelsClient = ConversationModelsClient.create()) {
       UndeployConversationModelRequest request =
           UndeployConversationModelRequest.newBuilder().setName("name3373707").build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelssettings/getconversationmodel/SyncGetConversationModel.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelssettings/getconversationmodel/SyncGetConversationModel.java
index 41b70b329e43..830a730d9ad2 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelssettings/getconversationmodel/SyncGetConversationModel.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationmodelssettings/getconversationmodel/SyncGetConversationModel.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetConversationModel() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     ConversationModelsSettings.Builder conversationModelsSettingsBuilder =
         ConversationModelsSettings.newBuilder();
     conversationModelsSettingsBuilder
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/clearsuggestionfeatureconfig/AsyncClearSuggestionFeatureConfig.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/clearsuggestionfeatureconfig/AsyncClearSuggestionFeatureConfig.java
index 858d48ae3e85..5866cb7950c8 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/clearsuggestionfeatureconfig/AsyncClearSuggestionFeatureConfig.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/clearsuggestionfeatureconfig/AsyncClearSuggestionFeatureConfig.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncClearSuggestionFeatureConfig() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       ClearSuggestionFeatureConfigRequest request =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/clearsuggestionfeatureconfig/AsyncClearSuggestionFeatureConfigLRO.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/clearsuggestionfeatureconfig/AsyncClearSuggestionFeatureConfigLRO.java
index 27b8a9306cf0..4fee541a4890 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/clearsuggestionfeatureconfig/AsyncClearSuggestionFeatureConfigLRO.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/clearsuggestionfeatureconfig/AsyncClearSuggestionFeatureConfigLRO.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncClearSuggestionFeatureConfigLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       ClearSuggestionFeatureConfigRequest request =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/clearsuggestionfeatureconfig/SyncClearSuggestionFeatureConfig.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/clearsuggestionfeatureconfig/SyncClearSuggestionFeatureConfig.java
index bf50290be033..447ef9268912 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/clearsuggestionfeatureconfig/SyncClearSuggestionFeatureConfig.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/clearsuggestionfeatureconfig/SyncClearSuggestionFeatureConfig.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncClearSuggestionFeatureConfig() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       ClearSuggestionFeatureConfigRequest request =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/clearsuggestionfeatureconfig/SyncClearSuggestionFeatureConfigString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/clearsuggestionfeatureconfig/SyncClearSuggestionFeatureConfigString.java
index 0684d94a5dc6..6d2a077e0f74 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/clearsuggestionfeatureconfig/SyncClearSuggestionFeatureConfigString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/clearsuggestionfeatureconfig/SyncClearSuggestionFeatureConfigString.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncClearSuggestionFeatureConfigString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       String conversationProfile = "conversationProfile1691597734";
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/create/SyncCreateSetCredentialsProvider.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/create/SyncCreateSetCredentialsProvider.java
index e08f536c8a7a..8c4e220c4643 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/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
     ConversationProfilesSettings conversationProfilesSettings =
         ConversationProfilesSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/create/SyncCreateSetCredentialsProvider1.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/create/SyncCreateSetCredentialsProvider1.java
index f77d3e5d8358..eb2376d1c76f 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/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
     ConversationProfilesSettings conversationProfilesSettings =
         ConversationProfilesSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/create/SyncCreateSetEndpoint.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/create/SyncCreateSetEndpoint.java
index ac1bf372c91d..622f58557b0a 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/create/SyncCreateSetEndpoint.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/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
     ConversationProfilesSettings conversationProfilesSettings =
         ConversationProfilesSettings.newBuilder().setEndpoint(myEndpoint).build();
     ConversationProfilesClient conversationProfilesClient =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/createconversationprofile/AsyncCreateConversationProfile.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/createconversationprofile/AsyncCreateConversationProfile.java
index 5cad9dc81083..147082d3b912 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/createconversationprofile/AsyncCreateConversationProfile.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/createconversationprofile/AsyncCreateConversationProfile.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateConversationProfile() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       CreateConversationProfileRequest request =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/createconversationprofile/SyncCreateConversationProfile.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/createconversationprofile/SyncCreateConversationProfile.java
index c01c9dd39fce..6caeec33e2bb 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/createconversationprofile/SyncCreateConversationProfile.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/createconversationprofile/SyncCreateConversationProfile.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateConversationProfile() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       CreateConversationProfileRequest request =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/createconversationprofile/SyncCreateConversationProfileLocationnameConversationprofile.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/createconversationprofile/SyncCreateConversationProfileLocationnameConversationprofile.java
index 035d92517451..b12fc90a01ff 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/createconversationprofile/SyncCreateConversationProfileLocationnameConversationprofile.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/createconversationprofile/SyncCreateConversationProfileLocationnameConversationprofile.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
 
   public static void syncCreateConversationProfileLocationnameConversationprofile()
       throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/createconversationprofile/SyncCreateConversationProfileProjectnameConversationprofile.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/createconversationprofile/SyncCreateConversationProfileProjectnameConversationprofile.java
index 93d985815670..70963d38755b 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/createconversationprofile/SyncCreateConversationProfileProjectnameConversationprofile.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/createconversationprofile/SyncCreateConversationProfileProjectnameConversationprofile.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
 
   public static void syncCreateConversationProfileProjectnameConversationprofile()
       throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       ProjectName parent = ProjectName.of("[PROJECT]");
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/createconversationprofile/SyncCreateConversationProfileStringConversationprofile.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/createconversationprofile/SyncCreateConversationProfileStringConversationprofile.java
index f106a91b7552..30ace6c24a8a 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/createconversationprofile/SyncCreateConversationProfileStringConversationprofile.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/createconversationprofile/SyncCreateConversationProfileStringConversationprofile.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateConversationProfileStringConversationprofile() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       String parent = ProjectName.of("[PROJECT]").toString();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/deleteconversationprofile/AsyncDeleteConversationProfile.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/deleteconversationprofile/AsyncDeleteConversationProfile.java
index 0d710960763c..2e375dbbf4ce 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/deleteconversationprofile/AsyncDeleteConversationProfile.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/deleteconversationprofile/AsyncDeleteConversationProfile.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteConversationProfile() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       DeleteConversationProfileRequest request =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/deleteconversationprofile/SyncDeleteConversationProfile.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/deleteconversationprofile/SyncDeleteConversationProfile.java
index d10af444cdfd..b45ddf5e5cf8 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/deleteconversationprofile/SyncDeleteConversationProfile.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/deleteconversationprofile/SyncDeleteConversationProfile.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteConversationProfile() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       DeleteConversationProfileRequest request =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/deleteconversationprofile/SyncDeleteConversationProfileConversationprofilename.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/deleteconversationprofile/SyncDeleteConversationProfileConversationprofilename.java
index d9b428ed6209..030d94296925 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/deleteconversationprofile/SyncDeleteConversationProfileConversationprofilename.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/deleteconversationprofile/SyncDeleteConversationProfileConversationprofilename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteConversationProfileConversationprofilename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       ConversationProfileName name =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/deleteconversationprofile/SyncDeleteConversationProfileString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/deleteconversationprofile/SyncDeleteConversationProfileString.java
index fcfcfb693416..518cfbf73eae 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/deleteconversationprofile/SyncDeleteConversationProfileString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/deleteconversationprofile/SyncDeleteConversationProfileString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteConversationProfileString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       String name =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/getconversationprofile/AsyncGetConversationProfile.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/getconversationprofile/AsyncGetConversationProfile.java
index 1bf06da5efcf..aa1f67f76527 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/getconversationprofile/AsyncGetConversationProfile.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/getconversationprofile/AsyncGetConversationProfile.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetConversationProfile() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       GetConversationProfileRequest request =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/getconversationprofile/SyncGetConversationProfile.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/getconversationprofile/SyncGetConversationProfile.java
index 4545e1670497..0d6f61e87af4 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/getconversationprofile/SyncGetConversationProfile.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/getconversationprofile/SyncGetConversationProfile.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetConversationProfile() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       GetConversationProfileRequest request =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/getconversationprofile/SyncGetConversationProfileConversationprofilename.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/getconversationprofile/SyncGetConversationProfileConversationprofilename.java
index bb5c05f6cecb..a0b081d64b78 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/getconversationprofile/SyncGetConversationProfileConversationprofilename.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/getconversationprofile/SyncGetConversationProfileConversationprofilename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetConversationProfileConversationprofilename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       ConversationProfileName name =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/getconversationprofile/SyncGetConversationProfileString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/getconversationprofile/SyncGetConversationProfileString.java
index a83674b3df95..aa151621b1e3 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/getconversationprofile/SyncGetConversationProfileString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/getconversationprofile/SyncGetConversationProfileString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetConversationProfileString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       String name =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/getlocation/AsyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/getlocation/AsyncGetLocation.java
index cccc89801879..33a663449985 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/getlocation/AsyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/getlocation/AsyncGetLocation.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/getlocation/SyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/getlocation/SyncGetLocation.java
index dc657bee102a..cab60aac0b0f 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/getlocation/SyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/getlocation/SyncGetLocation.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/listconversationprofiles/AsyncListConversationProfiles.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/listconversationprofiles/AsyncListConversationProfiles.java
index 5be5c6babe62..599c11e76324 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/listconversationprofiles/AsyncListConversationProfiles.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/listconversationprofiles/AsyncListConversationProfiles.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListConversationProfiles() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       ListConversationProfilesRequest request =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/listconversationprofiles/AsyncListConversationProfilesPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/listconversationprofiles/AsyncListConversationProfilesPaged.java
index 313ccdd0453c..0a8f90fe82df 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/listconversationprofiles/AsyncListConversationProfilesPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/listconversationprofiles/AsyncListConversationProfilesPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListConversationProfilesPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       ListConversationProfilesRequest request =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/listconversationprofiles/SyncListConversationProfiles.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/listconversationprofiles/SyncListConversationProfiles.java
index 59cb80587d31..56af6bcd1444 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/listconversationprofiles/SyncListConversationProfiles.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/listconversationprofiles/SyncListConversationProfiles.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListConversationProfiles() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       ListConversationProfilesRequest request =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/listconversationprofiles/SyncListConversationProfilesLocationname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/listconversationprofiles/SyncListConversationProfilesLocationname.java
index ea8984596815..ffff8e8452a1 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/listconversationprofiles/SyncListConversationProfilesLocationname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/listconversationprofiles/SyncListConversationProfilesLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListConversationProfilesLocationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/listconversationprofiles/SyncListConversationProfilesProjectname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/listconversationprofiles/SyncListConversationProfilesProjectname.java
index b809123a6a85..2849dbc513d1 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/listconversationprofiles/SyncListConversationProfilesProjectname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/listconversationprofiles/SyncListConversationProfilesProjectname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListConversationProfilesProjectname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       ProjectName parent = ProjectName.of("[PROJECT]");
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/listconversationprofiles/SyncListConversationProfilesString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/listconversationprofiles/SyncListConversationProfilesString.java
index a81773317d75..34b55886363b 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/listconversationprofiles/SyncListConversationProfilesString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/listconversationprofiles/SyncListConversationProfilesString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListConversationProfilesString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       String parent = ProjectName.of("[PROJECT]").toString();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/listlocations/AsyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/listlocations/AsyncListLocations.java
index 64170276cb7d..4a039927e3eb 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/listlocations/AsyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/listlocations/AsyncListLocations.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       ListLocationsRequest request =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/listlocations/AsyncListLocationsPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/listlocations/AsyncListLocationsPaged.java
index bcc161e6878a..090a83618efa 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/listlocations/AsyncListLocationsPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/listlocations/AsyncListLocationsPaged.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocationsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       ListLocationsRequest request =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/listlocations/SyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/listlocations/SyncListLocations.java
index cc9482ebd6cc..db0e2b6c2e80 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/listlocations/SyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/listlocations/SyncListLocations.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       ListLocationsRequest request =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/setsuggestionfeatureconfig/AsyncSetSuggestionFeatureConfig.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/setsuggestionfeatureconfig/AsyncSetSuggestionFeatureConfig.java
index fb1e6b350b4d..7fb3075c12b6 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/setsuggestionfeatureconfig/AsyncSetSuggestionFeatureConfig.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/setsuggestionfeatureconfig/AsyncSetSuggestionFeatureConfig.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncSetSuggestionFeatureConfig() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       SetSuggestionFeatureConfigRequest request =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/setsuggestionfeatureconfig/AsyncSetSuggestionFeatureConfigLRO.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/setsuggestionfeatureconfig/AsyncSetSuggestionFeatureConfigLRO.java
index 3f6b9135bdcb..ce0841b73edc 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/setsuggestionfeatureconfig/AsyncSetSuggestionFeatureConfigLRO.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/setsuggestionfeatureconfig/AsyncSetSuggestionFeatureConfigLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncSetSuggestionFeatureConfigLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       SetSuggestionFeatureConfigRequest request =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/setsuggestionfeatureconfig/SyncSetSuggestionFeatureConfig.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/setsuggestionfeatureconfig/SyncSetSuggestionFeatureConfig.java
index 4e7921c79f52..c9dd6c2f4e8d 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/setsuggestionfeatureconfig/SyncSetSuggestionFeatureConfig.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/setsuggestionfeatureconfig/SyncSetSuggestionFeatureConfig.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSetSuggestionFeatureConfig() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       SetSuggestionFeatureConfigRequest request =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/setsuggestionfeatureconfig/SyncSetSuggestionFeatureConfigString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/setsuggestionfeatureconfig/SyncSetSuggestionFeatureConfigString.java
index e3aacd694ed8..472c476b8b6d 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/setsuggestionfeatureconfig/SyncSetSuggestionFeatureConfigString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/setsuggestionfeatureconfig/SyncSetSuggestionFeatureConfigString.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSetSuggestionFeatureConfigString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       String conversationProfile = "conversationProfile1691597734";
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/updateconversationprofile/AsyncUpdateConversationProfile.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/updateconversationprofile/AsyncUpdateConversationProfile.java
index c73b28138816..9e15107b6122 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/updateconversationprofile/AsyncUpdateConversationProfile.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/updateconversationprofile/AsyncUpdateConversationProfile.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateConversationProfile() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       UpdateConversationProfileRequest request =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/updateconversationprofile/SyncUpdateConversationProfile.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/updateconversationprofile/SyncUpdateConversationProfile.java
index 5358caa064f3..a8a625d38bca 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/updateconversationprofile/SyncUpdateConversationProfile.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/updateconversationprofile/SyncUpdateConversationProfile.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateConversationProfile() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       UpdateConversationProfileRequest request =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/updateconversationprofile/SyncUpdateConversationProfileConversationprofileFieldmask.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/updateconversationprofile/SyncUpdateConversationProfileConversationprofileFieldmask.java
index 0a9755e39d78..c106533b8eaf 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/updateconversationprofile/SyncUpdateConversationProfileConversationprofileFieldmask.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilesclient/updateconversationprofile/SyncUpdateConversationProfileConversationprofileFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateConversationProfileConversationprofileFieldmask() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       ConversationProfile conversationProfile = ConversationProfile.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilessettings/getconversationprofile/SyncGetConversationProfile.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilessettings/getconversationprofile/SyncGetConversationProfile.java
index 700f3b84c0fc..15594e812387 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilessettings/getconversationprofile/SyncGetConversationProfile.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationprofilessettings/getconversationprofile/SyncGetConversationProfile.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetConversationProfile() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     ConversationProfilesSettings.Builder conversationProfilesSettingsBuilder =
         ConversationProfilesSettings.newBuilder();
     conversationProfilesSettingsBuilder
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/completeconversation/AsyncCompleteConversation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/completeconversation/AsyncCompleteConversation.java
index bb9daa69034b..b217a8b73282 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/completeconversation/AsyncCompleteConversation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/completeconversation/AsyncCompleteConversation.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCompleteConversation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       CompleteConversationRequest request =
           CompleteConversationRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/completeconversation/SyncCompleteConversation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/completeconversation/SyncCompleteConversation.java
index 7cadb8b80ea9..b81bcf614b90 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/completeconversation/SyncCompleteConversation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/completeconversation/SyncCompleteConversation.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCompleteConversation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       CompleteConversationRequest request =
           CompleteConversationRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/completeconversation/SyncCompleteConversationConversationname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/completeconversation/SyncCompleteConversationConversationname.java
index db3466158e2e..8e677315ab6b 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/completeconversation/SyncCompleteConversationConversationname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/completeconversation/SyncCompleteConversationConversationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCompleteConversationConversationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       ConversationName name =
           ConversationName.ofProjectConversationName("[PROJECT]", "[CONVERSATION]");
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/completeconversation/SyncCompleteConversationString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/completeconversation/SyncCompleteConversationString.java
index 58599012c49b..2a9ea415e5e8 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/completeconversation/SyncCompleteConversationString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/completeconversation/SyncCompleteConversationString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCompleteConversationString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       String name =
           ConversationName.ofProjectConversationName("[PROJECT]", "[CONVERSATION]").toString();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/create/SyncCreateSetCredentialsProvider.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/create/SyncCreateSetCredentialsProvider.java
index 9e46996538d3..a3ca6dfd209f 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/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
     ConversationsSettings conversationsSettings =
         ConversationsSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/create/SyncCreateSetCredentialsProvider1.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/create/SyncCreateSetCredentialsProvider1.java
index b6bb87837ccb..1aa9466d2d6d 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/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
     ConversationsSettings conversationsSettings =
         ConversationsSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/create/SyncCreateSetEndpoint.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/create/SyncCreateSetEndpoint.java
index 62b5c8a41361..22925834a21c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/create/SyncCreateSetEndpoint.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/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
     ConversationsSettings conversationsSettings =
         ConversationsSettings.newBuilder().setEndpoint(myEndpoint).build();
     ConversationsClient conversationsClient = ConversationsClient.create(conversationsSettings);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/createconversation/AsyncCreateConversation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/createconversation/AsyncCreateConversation.java
index eec956381796..715ae8918837 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/createconversation/AsyncCreateConversation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/createconversation/AsyncCreateConversation.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateConversation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       CreateConversationRequest request =
           CreateConversationRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/createconversation/SyncCreateConversation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/createconversation/SyncCreateConversation.java
index 8667ffcd0b07..a847f92a5591 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/createconversation/SyncCreateConversation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/createconversation/SyncCreateConversation.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateConversation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       CreateConversationRequest request =
           CreateConversationRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/createconversation/SyncCreateConversationLocationnameConversation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/createconversation/SyncCreateConversationLocationnameConversation.java
index d3ac641fbb22..0c587177dc3f 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/createconversation/SyncCreateConversationLocationnameConversation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/createconversation/SyncCreateConversationLocationnameConversation.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateConversationLocationnameConversation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       Conversation conversation = Conversation.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/createconversation/SyncCreateConversationProjectnameConversation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/createconversation/SyncCreateConversationProjectnameConversation.java
index 4990a5ab8021..59f3a8c8f3bf 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/createconversation/SyncCreateConversationProjectnameConversation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/createconversation/SyncCreateConversationProjectnameConversation.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateConversationProjectnameConversation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       ProjectName parent = ProjectName.of("[PROJECT]");
       Conversation conversation = Conversation.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/createconversation/SyncCreateConversationStringConversation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/createconversation/SyncCreateConversationStringConversation.java
index 9c7997f20da1..05a20b243f1a 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/createconversation/SyncCreateConversationStringConversation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/createconversation/SyncCreateConversationStringConversation.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateConversationStringConversation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       String parent = ProjectName.of("[PROJECT]").toString();
       Conversation conversation = Conversation.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/getconversation/AsyncGetConversation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/getconversation/AsyncGetConversation.java
index b66ed71a7a73..b3f819aed858 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/getconversation/AsyncGetConversation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/getconversation/AsyncGetConversation.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetConversation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       GetConversationRequest request =
           GetConversationRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/getconversation/SyncGetConversation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/getconversation/SyncGetConversation.java
index e89ea99d05c2..a3241133d858 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/getconversation/SyncGetConversation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/getconversation/SyncGetConversation.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetConversation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       GetConversationRequest request =
           GetConversationRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/getconversation/SyncGetConversationConversationname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/getconversation/SyncGetConversationConversationname.java
index b304930badd1..c7bbab89fee1 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/getconversation/SyncGetConversationConversationname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/getconversation/SyncGetConversationConversationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetConversationConversationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       ConversationName name =
           ConversationName.ofProjectConversationName("[PROJECT]", "[CONVERSATION]");
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/getconversation/SyncGetConversationString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/getconversation/SyncGetConversationString.java
index f157b7bfa120..623b5b66690c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/getconversation/SyncGetConversationString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/getconversation/SyncGetConversationString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetConversationString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       String name =
           ConversationName.ofProjectConversationName("[PROJECT]", "[CONVERSATION]").toString();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/getlocation/AsyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/getlocation/AsyncGetLocation.java
index 2cc798913c80..d71c4b597895 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/getlocation/AsyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/getlocation/AsyncGetLocation.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       ApiFuture future = conversationsClient.getLocationCallable().futureCall(request);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/getlocation/SyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/getlocation/SyncGetLocation.java
index d50263ad0fb3..c558813b440c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/getlocation/SyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/getlocation/SyncGetLocation.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       Location response = conversationsClient.getLocation(request);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/listconversations/AsyncListConversations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/listconversations/AsyncListConversations.java
index 4594ae05385a..8069281ab90e 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/listconversations/AsyncListConversations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/listconversations/AsyncListConversations.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListConversations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       ListConversationsRequest request =
           ListConversationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/listconversations/AsyncListConversationsPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/listconversations/AsyncListConversationsPaged.java
index 9ee6ad4909d2..2ebdd23d6b40 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/listconversations/AsyncListConversationsPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/listconversations/AsyncListConversationsPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListConversationsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       ListConversationsRequest request =
           ListConversationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/listconversations/SyncListConversations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/listconversations/SyncListConversations.java
index 9753b30be1c6..90eb51b7b0a7 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/listconversations/SyncListConversations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/listconversations/SyncListConversations.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListConversations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       ListConversationsRequest request =
           ListConversationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/listconversations/SyncListConversationsLocationname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/listconversations/SyncListConversationsLocationname.java
index 3c5ee8185fef..4505fd337448 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/listconversations/SyncListConversationsLocationname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/listconversations/SyncListConversationsLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListConversationsLocationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       for (Conversation element : conversationsClient.listConversations(parent).iterateAll()) {
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/listconversations/SyncListConversationsProjectname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/listconversations/SyncListConversationsProjectname.java
index 47e77d6560c8..ea691fd17dd7 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/listconversations/SyncListConversationsProjectname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/listconversations/SyncListConversationsProjectname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListConversationsProjectname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       ProjectName parent = ProjectName.of("[PROJECT]");
       for (Conversation element : conversationsClient.listConversations(parent).iterateAll()) {
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/listconversations/SyncListConversationsString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/listconversations/SyncListConversationsString.java
index 8ef3d5f39248..65dd4b6f9ec0 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/listconversations/SyncListConversationsString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/listconversations/SyncListConversationsString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListConversationsString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       String parent = ProjectName.of("[PROJECT]").toString();
       for (Conversation element : conversationsClient.listConversations(parent).iterateAll()) {
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/listlocations/AsyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/listlocations/AsyncListLocations.java
index 457b40f2fa99..886f76d2034c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/listlocations/AsyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/listlocations/AsyncListLocations.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/listlocations/AsyncListLocationsPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/listlocations/AsyncListLocationsPaged.java
index 12c35f6b6690..589d85150f1b 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/listlocations/AsyncListLocationsPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/listlocations/AsyncListLocationsPaged.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocationsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/listlocations/SyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/listlocations/SyncListLocations.java
index c114767c3f4d..6aef0c734306 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/listlocations/SyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/listlocations/SyncListLocations.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/listmessages/AsyncListMessages.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/listmessages/AsyncListMessages.java
index 07d1a35ccfbb..3d88c554bb77 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/listmessages/AsyncListMessages.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/listmessages/AsyncListMessages.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListMessages() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       ListMessagesRequest request =
           ListMessagesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/listmessages/AsyncListMessagesPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/listmessages/AsyncListMessagesPaged.java
index 9f396025e930..75686f5175a7 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/listmessages/AsyncListMessagesPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/listmessages/AsyncListMessagesPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListMessagesPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       ListMessagesRequest request =
           ListMessagesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/listmessages/SyncListMessages.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/listmessages/SyncListMessages.java
index 0acd095dd111..7e4a6e875503 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/listmessages/SyncListMessages.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/listmessages/SyncListMessages.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListMessages() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       ListMessagesRequest request =
           ListMessagesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/listmessages/SyncListMessagesConversationname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/listmessages/SyncListMessagesConversationname.java
index 86ea7dbc3cb0..39dbc8729ec5 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/listmessages/SyncListMessagesConversationname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/listmessages/SyncListMessagesConversationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListMessagesConversationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       ConversationName parent =
           ConversationName.ofProjectConversationName("[PROJECT]", "[CONVERSATION]");
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/listmessages/SyncListMessagesString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/listmessages/SyncListMessagesString.java
index 5a8b34e669c7..786447a36f31 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/listmessages/SyncListMessagesString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationsclient/listmessages/SyncListMessagesString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListMessagesString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       String parent =
           ConversationName.ofProjectConversationName("[PROJECT]", "[CONVERSATION]").toString();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationssettings/createconversation/SyncCreateConversation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationssettings/createconversation/SyncCreateConversation.java
index 00df03b43ac8..e45693c3f028 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationssettings/createconversation/SyncCreateConversation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/conversationssettings/createconversation/SyncCreateConversation.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateConversation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     ConversationsSettings.Builder conversationsSettingsBuilder = ConversationsSettings.newBuilder();
     conversationsSettingsBuilder
         .createConversationSettings()
         .setRetrySettings(
-            conversationsSettingsBuilder
-                .createConversationSettings()
-                .getRetrySettings()
-                .toBuilder()
+            conversationsSettingsBuilder.createConversationSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     ConversationsSettings conversationsSettings = conversationsSettingsBuilder.build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/create/SyncCreateSetCredentialsProvider.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/create/SyncCreateSetCredentialsProvider.java
index b8bb02e51049..36a4530317b3 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/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
     DocumentsSettings documentsSettings =
         DocumentsSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/create/SyncCreateSetCredentialsProvider1.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/create/SyncCreateSetCredentialsProvider1.java
index a1406f35d47c..5eae22a461fa 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/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
     DocumentsSettings documentsSettings =
         DocumentsSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/create/SyncCreateSetEndpoint.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/create/SyncCreateSetEndpoint.java
index dbb39001c82f..cf31073c11d9 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/create/SyncCreateSetEndpoint.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/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
     DocumentsSettings documentsSettings =
         DocumentsSettings.newBuilder().setEndpoint(myEndpoint).build();
     DocumentsClient documentsClient = DocumentsClient.create(documentsSettings);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/createdocument/AsyncCreateDocument.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/createdocument/AsyncCreateDocument.java
index 5525742c1be2..ab2ca998a52a 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/createdocument/AsyncCreateDocument.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/createdocument/AsyncCreateDocument.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateDocument() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       CreateDocumentRequest request =
           CreateDocumentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/createdocument/AsyncCreateDocumentLRO.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/createdocument/AsyncCreateDocumentLRO.java
index e71dfa2de312..667f390c9bf6 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/createdocument/AsyncCreateDocumentLRO.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/createdocument/AsyncCreateDocumentLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateDocumentLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       CreateDocumentRequest request =
           CreateDocumentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/createdocument/SyncCreateDocument.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/createdocument/SyncCreateDocument.java
index 6b903e30522e..ef4d063a5b46 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/createdocument/SyncCreateDocument.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/createdocument/SyncCreateDocument.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateDocument() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       CreateDocumentRequest request =
           CreateDocumentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/createdocument/SyncCreateDocumentKnowledgebasenameDocument.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/createdocument/SyncCreateDocumentKnowledgebasenameDocument.java
index 0be29af01e57..e717ed91304d 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/createdocument/SyncCreateDocumentKnowledgebasenameDocument.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/createdocument/SyncCreateDocumentKnowledgebasenameDocument.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateDocumentKnowledgebasenameDocument() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       KnowledgeBaseName parent =
           KnowledgeBaseName.ofProjectKnowledgeBaseName("[PROJECT]", "[KNOWLEDGE_BASE]");
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/createdocument/SyncCreateDocumentStringDocument.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/createdocument/SyncCreateDocumentStringDocument.java
index 8fcb7f68acc9..ad314676ec0b 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/createdocument/SyncCreateDocumentStringDocument.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/createdocument/SyncCreateDocumentStringDocument.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateDocumentStringDocument() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       String parent =
           KnowledgeBaseName.ofProjectKnowledgeBaseName("[PROJECT]", "[KNOWLEDGE_BASE]").toString();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/deletedocument/AsyncDeleteDocument.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/deletedocument/AsyncDeleteDocument.java
index f12dc46155d1..6afe45269856 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/deletedocument/AsyncDeleteDocument.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/deletedocument/AsyncDeleteDocument.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteDocument() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       DeleteDocumentRequest request =
           DeleteDocumentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/deletedocument/AsyncDeleteDocumentLRO.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/deletedocument/AsyncDeleteDocumentLRO.java
index 23c9b65cdb69..ea8d9fe7ce7f 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/deletedocument/AsyncDeleteDocumentLRO.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/deletedocument/AsyncDeleteDocumentLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteDocumentLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       DeleteDocumentRequest request =
           DeleteDocumentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/deletedocument/SyncDeleteDocument.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/deletedocument/SyncDeleteDocument.java
index 663d2fd3dce4..785e59ed4c37 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/deletedocument/SyncDeleteDocument.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/deletedocument/SyncDeleteDocument.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteDocument() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       DeleteDocumentRequest request =
           DeleteDocumentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/deletedocument/SyncDeleteDocumentDocumentname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/deletedocument/SyncDeleteDocumentDocumentname.java
index c801d8160022..8534dbbb6297 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/deletedocument/SyncDeleteDocumentDocumentname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/deletedocument/SyncDeleteDocumentDocumentname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteDocumentDocumentname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       DocumentName name =
           DocumentName.ofProjectKnowledgeBaseDocumentName(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/deletedocument/SyncDeleteDocumentString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/deletedocument/SyncDeleteDocumentString.java
index bb0b8201f763..aadea4dfdad0 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/deletedocument/SyncDeleteDocumentString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/deletedocument/SyncDeleteDocumentString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteDocumentString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       String name =
           DocumentName.ofProjectKnowledgeBaseDocumentName(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/exportdocument/AsyncExportDocument.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/exportdocument/AsyncExportDocument.java
index 1f9af370e7cf..e77d56a4424e 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/exportdocument/AsyncExportDocument.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/exportdocument/AsyncExportDocument.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncExportDocument() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       ExportDocumentRequest request =
           ExportDocumentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/exportdocument/AsyncExportDocumentLRO.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/exportdocument/AsyncExportDocumentLRO.java
index 595e50526d6b..6bdd6352ee37 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/exportdocument/AsyncExportDocumentLRO.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/exportdocument/AsyncExportDocumentLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncExportDocumentLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       ExportDocumentRequest request =
           ExportDocumentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/exportdocument/SyncExportDocument.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/exportdocument/SyncExportDocument.java
index e666791a4229..9fffd83a4835 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/exportdocument/SyncExportDocument.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/exportdocument/SyncExportDocument.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncExportDocument() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       ExportDocumentRequest request =
           ExportDocumentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/getdocument/AsyncGetDocument.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/getdocument/AsyncGetDocument.java
index ff203182b274..5a564aad797f 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/getdocument/AsyncGetDocument.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/getdocument/AsyncGetDocument.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetDocument() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       GetDocumentRequest request =
           GetDocumentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/getdocument/SyncGetDocument.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/getdocument/SyncGetDocument.java
index 8791e51f645c..c151c747dbe5 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/getdocument/SyncGetDocument.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/getdocument/SyncGetDocument.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetDocument() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       GetDocumentRequest request =
           GetDocumentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/getdocument/SyncGetDocumentDocumentname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/getdocument/SyncGetDocumentDocumentname.java
index 2982f7d59721..f961689bdea6 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/getdocument/SyncGetDocumentDocumentname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/getdocument/SyncGetDocumentDocumentname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetDocumentDocumentname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       DocumentName name =
           DocumentName.ofProjectKnowledgeBaseDocumentName(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/getdocument/SyncGetDocumentString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/getdocument/SyncGetDocumentString.java
index b827a1275d3e..b90c160b7867 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/getdocument/SyncGetDocumentString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/getdocument/SyncGetDocumentString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetDocumentString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       String name =
           DocumentName.ofProjectKnowledgeBaseDocumentName(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/getlocation/AsyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/getlocation/AsyncGetLocation.java
index cbaf3e008b9b..ba028a1a933f 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/getlocation/AsyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/getlocation/AsyncGetLocation.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       ApiFuture future = documentsClient.getLocationCallable().futureCall(request);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/getlocation/SyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/getlocation/SyncGetLocation.java
index 34addabd4dc4..326e7a2b1aa0 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/getlocation/SyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/getlocation/SyncGetLocation.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       Location response = documentsClient.getLocation(request);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/importdocuments/AsyncImportDocuments.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/importdocuments/AsyncImportDocuments.java
index e3bb1c92b62f..d625635907da 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/importdocuments/AsyncImportDocuments.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/importdocuments/AsyncImportDocuments.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncImportDocuments() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       ImportDocumentsRequest request =
           ImportDocumentsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/importdocuments/AsyncImportDocumentsLRO.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/importdocuments/AsyncImportDocumentsLRO.java
index 0936a7a218e6..43f281c61212 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/importdocuments/AsyncImportDocumentsLRO.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/importdocuments/AsyncImportDocumentsLRO.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncImportDocumentsLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       ImportDocumentsRequest request =
           ImportDocumentsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/importdocuments/SyncImportDocuments.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/importdocuments/SyncImportDocuments.java
index e1d41462289b..45112cd3950d 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/importdocuments/SyncImportDocuments.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/importdocuments/SyncImportDocuments.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncImportDocuments() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       ImportDocumentsRequest request =
           ImportDocumentsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/listdocuments/AsyncListDocuments.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/listdocuments/AsyncListDocuments.java
index 7d8f7941b84f..6414d0556e6e 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/listdocuments/AsyncListDocuments.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/listdocuments/AsyncListDocuments.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListDocuments() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       ListDocumentsRequest request =
           ListDocumentsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/listdocuments/AsyncListDocumentsPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/listdocuments/AsyncListDocumentsPaged.java
index 7e43910e57fc..1d9bcbe19add 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/listdocuments/AsyncListDocumentsPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/listdocuments/AsyncListDocumentsPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListDocumentsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       ListDocumentsRequest request =
           ListDocumentsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/listdocuments/SyncListDocuments.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/listdocuments/SyncListDocuments.java
index bd7a626d1f60..5a6972ed9592 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/listdocuments/SyncListDocuments.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/listdocuments/SyncListDocuments.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListDocuments() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       ListDocumentsRequest request =
           ListDocumentsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/listdocuments/SyncListDocumentsKnowledgebasename.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/listdocuments/SyncListDocumentsKnowledgebasename.java
index dd02c8a9bce5..672aa45ead3b 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/listdocuments/SyncListDocumentsKnowledgebasename.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/listdocuments/SyncListDocumentsKnowledgebasename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListDocumentsKnowledgebasename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       KnowledgeBaseName parent =
           KnowledgeBaseName.ofProjectKnowledgeBaseName("[PROJECT]", "[KNOWLEDGE_BASE]");
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/listdocuments/SyncListDocumentsString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/listdocuments/SyncListDocumentsString.java
index e60e000791b4..f0856f859491 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/listdocuments/SyncListDocumentsString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/listdocuments/SyncListDocumentsString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListDocumentsString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       String parent =
           KnowledgeBaseName.ofProjectKnowledgeBaseName("[PROJECT]", "[KNOWLEDGE_BASE]").toString();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/listlocations/AsyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/listlocations/AsyncListLocations.java
index 7dffa67a4cad..b7f023ddfe59 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/listlocations/AsyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/listlocations/AsyncListLocations.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/listlocations/AsyncListLocationsPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/listlocations/AsyncListLocationsPaged.java
index cccaf35fcfe3..6eb4c698317c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/listlocations/AsyncListLocationsPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/listlocations/AsyncListLocationsPaged.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocationsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/listlocations/SyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/listlocations/SyncListLocations.java
index 26e93c26d1e4..5ba69c0e75fd 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/listlocations/SyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/listlocations/SyncListLocations.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/reloaddocument/AsyncReloadDocument.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/reloaddocument/AsyncReloadDocument.java
index f92353f084d9..a20d846e2fa7 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/reloaddocument/AsyncReloadDocument.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/reloaddocument/AsyncReloadDocument.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncReloadDocument() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       ReloadDocumentRequest request =
           ReloadDocumentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/reloaddocument/AsyncReloadDocumentLRO.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/reloaddocument/AsyncReloadDocumentLRO.java
index d52196c1875f..6c39e7a0c4df 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/reloaddocument/AsyncReloadDocumentLRO.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/reloaddocument/AsyncReloadDocumentLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncReloadDocumentLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       ReloadDocumentRequest request =
           ReloadDocumentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/reloaddocument/SyncReloadDocument.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/reloaddocument/SyncReloadDocument.java
index a7602ff88248..e20bb31b5116 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/reloaddocument/SyncReloadDocument.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/reloaddocument/SyncReloadDocument.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncReloadDocument() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       ReloadDocumentRequest request =
           ReloadDocumentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/reloaddocument/SyncReloadDocumentDocumentnameString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/reloaddocument/SyncReloadDocumentDocumentnameString.java
index a1eebe916d32..1529cfa97f06 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/reloaddocument/SyncReloadDocumentDocumentnameString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/reloaddocument/SyncReloadDocumentDocumentnameString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncReloadDocumentDocumentnameString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       DocumentName name =
           DocumentName.ofProjectKnowledgeBaseDocumentName(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/reloaddocument/SyncReloadDocumentStringString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/reloaddocument/SyncReloadDocumentStringString.java
index 8b6fb8adf63b..9997bc53782e 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/reloaddocument/SyncReloadDocumentStringString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/reloaddocument/SyncReloadDocumentStringString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncReloadDocumentStringString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       String name =
           DocumentName.ofProjectKnowledgeBaseDocumentName(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/updatedocument/AsyncUpdateDocument.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/updatedocument/AsyncUpdateDocument.java
index ac116f28398d..6c986f50380d 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/updatedocument/AsyncUpdateDocument.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/updatedocument/AsyncUpdateDocument.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateDocument() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       UpdateDocumentRequest request =
           UpdateDocumentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/updatedocument/AsyncUpdateDocumentLRO.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/updatedocument/AsyncUpdateDocumentLRO.java
index ea53d6e2444f..6382977ac31d 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/updatedocument/AsyncUpdateDocumentLRO.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/updatedocument/AsyncUpdateDocumentLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateDocumentLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       UpdateDocumentRequest request =
           UpdateDocumentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/updatedocument/SyncUpdateDocument.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/updatedocument/SyncUpdateDocument.java
index 8732626b95b6..bf9f70a0a455 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/updatedocument/SyncUpdateDocument.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/updatedocument/SyncUpdateDocument.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateDocument() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       UpdateDocumentRequest request =
           UpdateDocumentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/updatedocument/SyncUpdateDocumentDocumentFieldmask.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/updatedocument/SyncUpdateDocumentDocumentFieldmask.java
index c33de6525c83..a7207dd06dd6 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/updatedocument/SyncUpdateDocumentDocumentFieldmask.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentsclient/updatedocument/SyncUpdateDocumentDocumentFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateDocumentDocumentFieldmask() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       Document document = Document.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentssettings/getdocument/SyncGetDocument.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentssettings/getdocument/SyncGetDocument.java
index 49390e67fff6..04203d369aab 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentssettings/getdocument/SyncGetDocument.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/documentssettings/getdocument/SyncGetDocument.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetDocument() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     DocumentsSettings.Builder documentsSettingsBuilder = DocumentsSettings.newBuilder();
     documentsSettingsBuilder
         .getDocumentSettings()
         .setRetrySettings(
-            documentsSettingsBuilder
-                .getDocumentSettings()
-                .getRetrySettings()
-                .toBuilder()
+            documentsSettingsBuilder.getDocumentSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     DocumentsSettings documentsSettings = documentsSettingsBuilder.build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchcreateentities/AsyncBatchCreateEntities.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchcreateentities/AsyncBatchCreateEntities.java
index 1cbe9ce4c619..fbbeff1fa4b8 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchcreateentities/AsyncBatchCreateEntities.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchcreateentities/AsyncBatchCreateEntities.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncBatchCreateEntities() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       BatchCreateEntitiesRequest request =
           BatchCreateEntitiesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchcreateentities/AsyncBatchCreateEntitiesLRO.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchcreateentities/AsyncBatchCreateEntitiesLRO.java
index 9f3694f88ca7..567c657e607e 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchcreateentities/AsyncBatchCreateEntitiesLRO.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchcreateentities/AsyncBatchCreateEntitiesLRO.java
@@ -33,8 +33,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncBatchCreateEntitiesLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       BatchCreateEntitiesRequest request =
           BatchCreateEntitiesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchcreateentities/SyncBatchCreateEntities.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchcreateentities/SyncBatchCreateEntities.java
index 1634823f1c11..df58dfbb4f17 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchcreateentities/SyncBatchCreateEntities.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchcreateentities/SyncBatchCreateEntities.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchCreateEntities() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       BatchCreateEntitiesRequest request =
           BatchCreateEntitiesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchcreateentities/SyncBatchCreateEntitiesEntitytypenameListentitytypeentity.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchcreateentities/SyncBatchCreateEntitiesEntitytypenameListentitytypeentity.java
index 0f2c7a808eea..bf5595f13e9d 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchcreateentities/SyncBatchCreateEntitiesEntitytypenameListentitytypeentity.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchcreateentities/SyncBatchCreateEntitiesEntitytypenameListentitytypeentity.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchCreateEntitiesEntitytypenameListentitytypeentity() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       EntityTypeName parent = EntityTypeName.ofProjectEntityTypeName("[PROJECT]", "[ENTITY_TYPE]");
       List entities = new ArrayList<>();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchcreateentities/SyncBatchCreateEntitiesEntitytypenameListentitytypeentityString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchcreateentities/SyncBatchCreateEntitiesEntitytypenameListentitytypeentityString.java
index d205512b3df7..51e13c0026ec 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchcreateentities/SyncBatchCreateEntitiesEntitytypenameListentitytypeentityString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchcreateentities/SyncBatchCreateEntitiesEntitytypenameListentitytypeentityString.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
 
   public static void syncBatchCreateEntitiesEntitytypenameListentitytypeentityString()
       throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       EntityTypeName parent = EntityTypeName.ofProjectEntityTypeName("[PROJECT]", "[ENTITY_TYPE]");
       List entities = new ArrayList<>();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchcreateentities/SyncBatchCreateEntitiesStringListentitytypeentity.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchcreateentities/SyncBatchCreateEntitiesStringListentitytypeentity.java
index aa53c0ac48ec..a277b40fb8be 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchcreateentities/SyncBatchCreateEntitiesStringListentitytypeentity.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchcreateentities/SyncBatchCreateEntitiesStringListentitytypeentity.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchCreateEntitiesStringListentitytypeentity() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       String parent =
           EntityTypeName.ofProjectEntityTypeName("[PROJECT]", "[ENTITY_TYPE]").toString();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchcreateentities/SyncBatchCreateEntitiesStringListentitytypeentityString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchcreateentities/SyncBatchCreateEntitiesStringListentitytypeentityString.java
index f49b54a9aecc..53f2b7ad19a3 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchcreateentities/SyncBatchCreateEntitiesStringListentitytypeentityString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchcreateentities/SyncBatchCreateEntitiesStringListentitytypeentityString.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchCreateEntitiesStringListentitytypeentityString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       String parent =
           EntityTypeName.ofProjectEntityTypeName("[PROJECT]", "[ENTITY_TYPE]").toString();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchdeleteentities/AsyncBatchDeleteEntities.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchdeleteentities/AsyncBatchDeleteEntities.java
index a78c6ecbe164..c03f1774c689 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchdeleteentities/AsyncBatchDeleteEntities.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchdeleteentities/AsyncBatchDeleteEntities.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncBatchDeleteEntities() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       BatchDeleteEntitiesRequest request =
           BatchDeleteEntitiesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchdeleteentities/AsyncBatchDeleteEntitiesLRO.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchdeleteentities/AsyncBatchDeleteEntitiesLRO.java
index b88896f8f212..abbe59ae5496 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchdeleteentities/AsyncBatchDeleteEntitiesLRO.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchdeleteentities/AsyncBatchDeleteEntitiesLRO.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncBatchDeleteEntitiesLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       BatchDeleteEntitiesRequest request =
           BatchDeleteEntitiesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchdeleteentities/SyncBatchDeleteEntities.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchdeleteentities/SyncBatchDeleteEntities.java
index 2cdc1b0e4220..a246adc0a896 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchdeleteentities/SyncBatchDeleteEntities.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchdeleteentities/SyncBatchDeleteEntities.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchDeleteEntities() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       BatchDeleteEntitiesRequest request =
           BatchDeleteEntitiesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchdeleteentities/SyncBatchDeleteEntitiesEntitytypenameListstring.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchdeleteentities/SyncBatchDeleteEntitiesEntitytypenameListstring.java
index b686c9646216..3cef3ab6ff97 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchdeleteentities/SyncBatchDeleteEntitiesEntitytypenameListstring.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchdeleteentities/SyncBatchDeleteEntitiesEntitytypenameListstring.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchDeleteEntitiesEntitytypenameListstring() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       EntityTypeName parent = EntityTypeName.ofProjectEntityTypeName("[PROJECT]", "[ENTITY_TYPE]");
       List entityValues = new ArrayList<>();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchdeleteentities/SyncBatchDeleteEntitiesEntitytypenameListstringString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchdeleteentities/SyncBatchDeleteEntitiesEntitytypenameListstringString.java
index 677010d4e30d..96f600d0d524 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchdeleteentities/SyncBatchDeleteEntitiesEntitytypenameListstringString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchdeleteentities/SyncBatchDeleteEntitiesEntitytypenameListstringString.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchDeleteEntitiesEntitytypenameListstringString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       EntityTypeName parent = EntityTypeName.ofProjectEntityTypeName("[PROJECT]", "[ENTITY_TYPE]");
       List entityValues = new ArrayList<>();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchdeleteentities/SyncBatchDeleteEntitiesStringListstring.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchdeleteentities/SyncBatchDeleteEntitiesStringListstring.java
index 0ec85616089d..025d4e10b4d4 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchdeleteentities/SyncBatchDeleteEntitiesStringListstring.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchdeleteentities/SyncBatchDeleteEntitiesStringListstring.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchDeleteEntitiesStringListstring() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       String parent =
           EntityTypeName.ofProjectEntityTypeName("[PROJECT]", "[ENTITY_TYPE]").toString();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchdeleteentities/SyncBatchDeleteEntitiesStringListstringString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchdeleteentities/SyncBatchDeleteEntitiesStringListstringString.java
index 2f106cc2b346..f917cfa28b28 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchdeleteentities/SyncBatchDeleteEntitiesStringListstringString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchdeleteentities/SyncBatchDeleteEntitiesStringListstringString.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchDeleteEntitiesStringListstringString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       String parent =
           EntityTypeName.ofProjectEntityTypeName("[PROJECT]", "[ENTITY_TYPE]").toString();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchdeleteentitytypes/AsyncBatchDeleteEntityTypes.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchdeleteentitytypes/AsyncBatchDeleteEntityTypes.java
index 858502e95d2a..8281ec6b987b 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchdeleteentitytypes/AsyncBatchDeleteEntityTypes.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchdeleteentitytypes/AsyncBatchDeleteEntityTypes.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncBatchDeleteEntityTypes() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       BatchDeleteEntityTypesRequest request =
           BatchDeleteEntityTypesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchdeleteentitytypes/AsyncBatchDeleteEntityTypesLRO.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchdeleteentitytypes/AsyncBatchDeleteEntityTypesLRO.java
index 3e23fbcd4c9e..44854f52ad87 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchdeleteentitytypes/AsyncBatchDeleteEntityTypesLRO.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchdeleteentitytypes/AsyncBatchDeleteEntityTypesLRO.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncBatchDeleteEntityTypesLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       BatchDeleteEntityTypesRequest request =
           BatchDeleteEntityTypesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchdeleteentitytypes/SyncBatchDeleteEntityTypes.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchdeleteentitytypes/SyncBatchDeleteEntityTypes.java
index 9960021b75b5..ba27f34042b8 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchdeleteentitytypes/SyncBatchDeleteEntityTypes.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchdeleteentitytypes/SyncBatchDeleteEntityTypes.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchDeleteEntityTypes() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       BatchDeleteEntityTypesRequest request =
           BatchDeleteEntityTypesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchdeleteentitytypes/SyncBatchDeleteEntityTypesAgentnameListstring.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchdeleteentitytypes/SyncBatchDeleteEntityTypesAgentnameListstring.java
index 03dacebfd262..c09a9cb8cf53 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchdeleteentitytypes/SyncBatchDeleteEntityTypesAgentnameListstring.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchdeleteentitytypes/SyncBatchDeleteEntityTypesAgentnameListstring.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchDeleteEntityTypesAgentnameListstring() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       AgentName parent = AgentName.ofProjectName("[PROJECT]");
       List entityTypeNames = new ArrayList<>();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchdeleteentitytypes/SyncBatchDeleteEntityTypesStringListstring.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchdeleteentitytypes/SyncBatchDeleteEntityTypesStringListstring.java
index 82817c3328b9..d560bf2b8b96 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchdeleteentitytypes/SyncBatchDeleteEntityTypesStringListstring.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchdeleteentitytypes/SyncBatchDeleteEntityTypesStringListstring.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchDeleteEntityTypesStringListstring() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       String parent = AgentName.ofProjectName("[PROJECT]").toString();
       List entityTypeNames = new ArrayList<>();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchupdateentities/AsyncBatchUpdateEntities.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchupdateentities/AsyncBatchUpdateEntities.java
index bb8941b756f7..9d48065492a9 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchupdateentities/AsyncBatchUpdateEntities.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchupdateentities/AsyncBatchUpdateEntities.java
@@ -33,8 +33,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncBatchUpdateEntities() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       BatchUpdateEntitiesRequest request =
           BatchUpdateEntitiesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchupdateentities/AsyncBatchUpdateEntitiesLRO.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchupdateentities/AsyncBatchUpdateEntitiesLRO.java
index bad2bd82f0e5..d2e88fbfb0f1 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchupdateentities/AsyncBatchUpdateEntitiesLRO.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchupdateentities/AsyncBatchUpdateEntitiesLRO.java
@@ -34,8 +34,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncBatchUpdateEntitiesLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       BatchUpdateEntitiesRequest request =
           BatchUpdateEntitiesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchupdateentities/SyncBatchUpdateEntities.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchupdateentities/SyncBatchUpdateEntities.java
index 5fa2c42359f9..1c0f05a2c765 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchupdateentities/SyncBatchUpdateEntities.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchupdateentities/SyncBatchUpdateEntities.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchUpdateEntities() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       BatchUpdateEntitiesRequest request =
           BatchUpdateEntitiesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchupdateentities/SyncBatchUpdateEntitiesEntitytypenameListentitytypeentity.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchupdateentities/SyncBatchUpdateEntitiesEntitytypenameListentitytypeentity.java
index 14837bece61e..c630892e160f 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchupdateentities/SyncBatchUpdateEntitiesEntitytypenameListentitytypeentity.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchupdateentities/SyncBatchUpdateEntitiesEntitytypenameListentitytypeentity.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchUpdateEntitiesEntitytypenameListentitytypeentity() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       EntityTypeName parent = EntityTypeName.ofProjectEntityTypeName("[PROJECT]", "[ENTITY_TYPE]");
       List entities = new ArrayList<>();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchupdateentities/SyncBatchUpdateEntitiesEntitytypenameListentitytypeentityString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchupdateentities/SyncBatchUpdateEntitiesEntitytypenameListentitytypeentityString.java
index b8de1d829111..8b94eb7f4bdd 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchupdateentities/SyncBatchUpdateEntitiesEntitytypenameListentitytypeentityString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchupdateentities/SyncBatchUpdateEntitiesEntitytypenameListentitytypeentityString.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
 
   public static void syncBatchUpdateEntitiesEntitytypenameListentitytypeentityString()
       throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       EntityTypeName parent = EntityTypeName.ofProjectEntityTypeName("[PROJECT]", "[ENTITY_TYPE]");
       List entities = new ArrayList<>();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchupdateentities/SyncBatchUpdateEntitiesStringListentitytypeentity.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchupdateentities/SyncBatchUpdateEntitiesStringListentitytypeentity.java
index 40ab00c43ea6..378541438e4c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchupdateentities/SyncBatchUpdateEntitiesStringListentitytypeentity.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchupdateentities/SyncBatchUpdateEntitiesStringListentitytypeentity.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchUpdateEntitiesStringListentitytypeentity() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       String parent =
           EntityTypeName.ofProjectEntityTypeName("[PROJECT]", "[ENTITY_TYPE]").toString();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchupdateentities/SyncBatchUpdateEntitiesStringListentitytypeentityString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchupdateentities/SyncBatchUpdateEntitiesStringListentitytypeentityString.java
index 472229113c69..aa344082efa6 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchupdateentities/SyncBatchUpdateEntitiesStringListentitytypeentityString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchupdateentities/SyncBatchUpdateEntitiesStringListentitytypeentityString.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchUpdateEntitiesStringListentitytypeentityString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       String parent =
           EntityTypeName.ofProjectEntityTypeName("[PROJECT]", "[ENTITY_TYPE]").toString();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchupdateentitytypes/AsyncBatchUpdateEntityTypes.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchupdateentitytypes/AsyncBatchUpdateEntityTypes.java
index be6eaaaa3c92..e04d72cfc660 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchupdateentitytypes/AsyncBatchUpdateEntityTypes.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchupdateentitytypes/AsyncBatchUpdateEntityTypes.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncBatchUpdateEntityTypes() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       BatchUpdateEntityTypesRequest request =
           BatchUpdateEntityTypesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchupdateentitytypes/AsyncBatchUpdateEntityTypesLRO.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchupdateentitytypes/AsyncBatchUpdateEntityTypesLRO.java
index ade02d52bdbc..c4a553aa312a 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchupdateentitytypes/AsyncBatchUpdateEntityTypesLRO.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchupdateentitytypes/AsyncBatchUpdateEntityTypesLRO.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncBatchUpdateEntityTypesLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       BatchUpdateEntityTypesRequest request =
           BatchUpdateEntityTypesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchupdateentitytypes/SyncBatchUpdateEntityTypes.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchupdateentitytypes/SyncBatchUpdateEntityTypes.java
index 987d5325dd3b..b5857322798c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchupdateentitytypes/SyncBatchUpdateEntityTypes.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/batchupdateentitytypes/SyncBatchUpdateEntityTypes.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchUpdateEntityTypes() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       BatchUpdateEntityTypesRequest request =
           BatchUpdateEntityTypesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/create/SyncCreateSetCredentialsProvider.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/create/SyncCreateSetCredentialsProvider.java
index ccb7cd0e3e37..c4d35e3b50e2 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/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
     EntityTypesSettings entityTypesSettings =
         EntityTypesSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/create/SyncCreateSetCredentialsProvider1.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/create/SyncCreateSetCredentialsProvider1.java
index 829ce0b69765..def09b7c3745 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/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
     EntityTypesSettings entityTypesSettings =
         EntityTypesSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/create/SyncCreateSetEndpoint.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/create/SyncCreateSetEndpoint.java
index fb6214934bff..0b5dc513feb8 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/create/SyncCreateSetEndpoint.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/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
     EntityTypesSettings entityTypesSettings =
         EntityTypesSettings.newBuilder().setEndpoint(myEndpoint).build();
     EntityTypesClient entityTypesClient = EntityTypesClient.create(entityTypesSettings);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/createentitytype/AsyncCreateEntityType.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/createentitytype/AsyncCreateEntityType.java
index 815a113f69bb..646f9978350e 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/createentitytype/AsyncCreateEntityType.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/createentitytype/AsyncCreateEntityType.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateEntityType() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       CreateEntityTypeRequest request =
           CreateEntityTypeRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/createentitytype/SyncCreateEntityType.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/createentitytype/SyncCreateEntityType.java
index 9fe3515267e9..7e5f5d113fe9 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/createentitytype/SyncCreateEntityType.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/createentitytype/SyncCreateEntityType.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateEntityType() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       CreateEntityTypeRequest request =
           CreateEntityTypeRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/createentitytype/SyncCreateEntityTypeAgentnameEntitytype.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/createentitytype/SyncCreateEntityTypeAgentnameEntitytype.java
index cad7460b1241..49e25cc73437 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/createentitytype/SyncCreateEntityTypeAgentnameEntitytype.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/createentitytype/SyncCreateEntityTypeAgentnameEntitytype.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateEntityTypeAgentnameEntitytype() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       AgentName parent = AgentName.ofProjectName("[PROJECT]");
       EntityType entityType = EntityType.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/createentitytype/SyncCreateEntityTypeAgentnameEntitytypeString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/createentitytype/SyncCreateEntityTypeAgentnameEntitytypeString.java
index 546b27c6926f..3b6a9196841e 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/createentitytype/SyncCreateEntityTypeAgentnameEntitytypeString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/createentitytype/SyncCreateEntityTypeAgentnameEntitytypeString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateEntityTypeAgentnameEntitytypeString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       AgentName parent = AgentName.ofProjectName("[PROJECT]");
       EntityType entityType = EntityType.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/createentitytype/SyncCreateEntityTypeStringEntitytype.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/createentitytype/SyncCreateEntityTypeStringEntitytype.java
index 59fe9121eff8..9e3c00526b76 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/createentitytype/SyncCreateEntityTypeStringEntitytype.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/createentitytype/SyncCreateEntityTypeStringEntitytype.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateEntityTypeStringEntitytype() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       String parent = AgentName.ofProjectName("[PROJECT]").toString();
       EntityType entityType = EntityType.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/createentitytype/SyncCreateEntityTypeStringEntitytypeString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/createentitytype/SyncCreateEntityTypeStringEntitytypeString.java
index 5461ba8dfd94..af199565cd5a 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/createentitytype/SyncCreateEntityTypeStringEntitytypeString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/createentitytype/SyncCreateEntityTypeStringEntitytypeString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateEntityTypeStringEntitytypeString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       String parent = AgentName.ofProjectName("[PROJECT]").toString();
       EntityType entityType = EntityType.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/deleteentitytype/AsyncDeleteEntityType.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/deleteentitytype/AsyncDeleteEntityType.java
index 066c248e4f28..9fe188011081 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/deleteentitytype/AsyncDeleteEntityType.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/deleteentitytype/AsyncDeleteEntityType.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteEntityType() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       DeleteEntityTypeRequest request =
           DeleteEntityTypeRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/deleteentitytype/SyncDeleteEntityType.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/deleteentitytype/SyncDeleteEntityType.java
index 501ff4b0a28b..5bf7e33e811e 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/deleteentitytype/SyncDeleteEntityType.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/deleteentitytype/SyncDeleteEntityType.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteEntityType() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       DeleteEntityTypeRequest request =
           DeleteEntityTypeRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/deleteentitytype/SyncDeleteEntityTypeEntitytypename.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/deleteentitytype/SyncDeleteEntityTypeEntitytypename.java
index 9f63aa9f887a..a3285e2db5c0 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/deleteentitytype/SyncDeleteEntityTypeEntitytypename.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/deleteentitytype/SyncDeleteEntityTypeEntitytypename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteEntityTypeEntitytypename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       EntityTypeName name = EntityTypeName.ofProjectEntityTypeName("[PROJECT]", "[ENTITY_TYPE]");
       entityTypesClient.deleteEntityType(name);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/deleteentitytype/SyncDeleteEntityTypeString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/deleteentitytype/SyncDeleteEntityTypeString.java
index 144a9b225389..3c6fcaadf392 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/deleteentitytype/SyncDeleteEntityTypeString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/deleteentitytype/SyncDeleteEntityTypeString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteEntityTypeString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       String name = EntityTypeName.ofProjectEntityTypeName("[PROJECT]", "[ENTITY_TYPE]").toString();
       entityTypesClient.deleteEntityType(name);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/getentitytype/AsyncGetEntityType.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/getentitytype/AsyncGetEntityType.java
index e65874839fe5..c09bf2d8eb30 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/getentitytype/AsyncGetEntityType.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/getentitytype/AsyncGetEntityType.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetEntityType() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       GetEntityTypeRequest request =
           GetEntityTypeRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/getentitytype/SyncGetEntityType.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/getentitytype/SyncGetEntityType.java
index 11a2db60f1b5..b8642c790ae7 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/getentitytype/SyncGetEntityType.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/getentitytype/SyncGetEntityType.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetEntityType() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       GetEntityTypeRequest request =
           GetEntityTypeRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/getentitytype/SyncGetEntityTypeEntitytypename.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/getentitytype/SyncGetEntityTypeEntitytypename.java
index 5cc9b8c479ac..72aa57ea29f2 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/getentitytype/SyncGetEntityTypeEntitytypename.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/getentitytype/SyncGetEntityTypeEntitytypename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetEntityTypeEntitytypename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       EntityTypeName name = EntityTypeName.ofProjectEntityTypeName("[PROJECT]", "[ENTITY_TYPE]");
       EntityType response = entityTypesClient.getEntityType(name);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/getentitytype/SyncGetEntityTypeEntitytypenameString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/getentitytype/SyncGetEntityTypeEntitytypenameString.java
index 1d1686d89d6d..fa38cfbd592e 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/getentitytype/SyncGetEntityTypeEntitytypenameString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/getentitytype/SyncGetEntityTypeEntitytypenameString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetEntityTypeEntitytypenameString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       EntityTypeName name = EntityTypeName.ofProjectEntityTypeName("[PROJECT]", "[ENTITY_TYPE]");
       String languageCode = "languageCode-2092349083";
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/getentitytype/SyncGetEntityTypeString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/getentitytype/SyncGetEntityTypeString.java
index 1d22abe2fead..cd03c6c9ac07 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/getentitytype/SyncGetEntityTypeString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/getentitytype/SyncGetEntityTypeString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetEntityTypeString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       String name = EntityTypeName.ofProjectEntityTypeName("[PROJECT]", "[ENTITY_TYPE]").toString();
       EntityType response = entityTypesClient.getEntityType(name);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/getentitytype/SyncGetEntityTypeStringString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/getentitytype/SyncGetEntityTypeStringString.java
index a705710bb3c6..18528dc68c06 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/getentitytype/SyncGetEntityTypeStringString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/getentitytype/SyncGetEntityTypeStringString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetEntityTypeStringString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       String name = EntityTypeName.ofProjectEntityTypeName("[PROJECT]", "[ENTITY_TYPE]").toString();
       String languageCode = "languageCode-2092349083";
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/getlocation/AsyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/getlocation/AsyncGetLocation.java
index d410b503084b..5b1a7ee8a0c0 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/getlocation/AsyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/getlocation/AsyncGetLocation.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       ApiFuture future = entityTypesClient.getLocationCallable().futureCall(request);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/getlocation/SyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/getlocation/SyncGetLocation.java
index 7bb4f399deaa..2bb111be1762 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/getlocation/SyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/getlocation/SyncGetLocation.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       Location response = entityTypesClient.getLocation(request);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/listentitytypes/AsyncListEntityTypes.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/listentitytypes/AsyncListEntityTypes.java
index 7cf37d723308..2f4856ff4d08 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/listentitytypes/AsyncListEntityTypes.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/listentitytypes/AsyncListEntityTypes.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListEntityTypes() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       ListEntityTypesRequest request =
           ListEntityTypesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/listentitytypes/AsyncListEntityTypesPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/listentitytypes/AsyncListEntityTypesPaged.java
index 5eaa7db6d406..3fb1db5567c7 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/listentitytypes/AsyncListEntityTypesPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/listentitytypes/AsyncListEntityTypesPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListEntityTypesPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       ListEntityTypesRequest request =
           ListEntityTypesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/listentitytypes/SyncListEntityTypes.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/listentitytypes/SyncListEntityTypes.java
index ddcaefa56c5b..1af3bec640b6 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/listentitytypes/SyncListEntityTypes.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/listentitytypes/SyncListEntityTypes.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListEntityTypes() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       ListEntityTypesRequest request =
           ListEntityTypesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/listentitytypes/SyncListEntityTypesAgentname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/listentitytypes/SyncListEntityTypesAgentname.java
index c6ab599f7820..4b57cbfadd6e 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/listentitytypes/SyncListEntityTypesAgentname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/listentitytypes/SyncListEntityTypesAgentname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListEntityTypesAgentname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       AgentName parent = AgentName.ofProjectName("[PROJECT]");
       for (EntityType element : entityTypesClient.listEntityTypes(parent).iterateAll()) {
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/listentitytypes/SyncListEntityTypesAgentnameString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/listentitytypes/SyncListEntityTypesAgentnameString.java
index a1f8adc55a65..e5fb40d50689 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/listentitytypes/SyncListEntityTypesAgentnameString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/listentitytypes/SyncListEntityTypesAgentnameString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListEntityTypesAgentnameString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       AgentName parent = AgentName.ofProjectName("[PROJECT]");
       String languageCode = "languageCode-2092349083";
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/listentitytypes/SyncListEntityTypesString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/listentitytypes/SyncListEntityTypesString.java
index ce985428c21f..8a34a09303f7 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/listentitytypes/SyncListEntityTypesString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/listentitytypes/SyncListEntityTypesString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListEntityTypesString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       String parent = AgentName.ofProjectName("[PROJECT]").toString();
       for (EntityType element : entityTypesClient.listEntityTypes(parent).iterateAll()) {
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/listentitytypes/SyncListEntityTypesStringString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/listentitytypes/SyncListEntityTypesStringString.java
index d8d35472fdef..dca0b072000e 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/listentitytypes/SyncListEntityTypesStringString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/listentitytypes/SyncListEntityTypesStringString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListEntityTypesStringString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       String parent = AgentName.ofProjectName("[PROJECT]").toString();
       String languageCode = "languageCode-2092349083";
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/listlocations/AsyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/listlocations/AsyncListLocations.java
index 3abc72880685..6927406d8a8d 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/listlocations/AsyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/listlocations/AsyncListLocations.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/listlocations/AsyncListLocationsPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/listlocations/AsyncListLocationsPaged.java
index 926ccc36063a..f03407a0a879 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/listlocations/AsyncListLocationsPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/listlocations/AsyncListLocationsPaged.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocationsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/listlocations/SyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/listlocations/SyncListLocations.java
index a77bcf9658f0..45d4cde8255b 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/listlocations/SyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/listlocations/SyncListLocations.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/updateentitytype/AsyncUpdateEntityType.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/updateentitytype/AsyncUpdateEntityType.java
index a305ee07d096..4df7d248b32a 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/updateentitytype/AsyncUpdateEntityType.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/updateentitytype/AsyncUpdateEntityType.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateEntityType() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       UpdateEntityTypeRequest request =
           UpdateEntityTypeRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/updateentitytype/SyncUpdateEntityType.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/updateentitytype/SyncUpdateEntityType.java
index ed90e112c2fc..68baf71717b0 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/updateentitytype/SyncUpdateEntityType.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/updateentitytype/SyncUpdateEntityType.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateEntityType() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       UpdateEntityTypeRequest request =
           UpdateEntityTypeRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/updateentitytype/SyncUpdateEntityTypeEntitytype.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/updateentitytype/SyncUpdateEntityTypeEntitytype.java
index 1ccd78867b18..e49c717c5fc0 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/updateentitytype/SyncUpdateEntityTypeEntitytype.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/updateentitytype/SyncUpdateEntityTypeEntitytype.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateEntityTypeEntitytype() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       EntityType entityType = EntityType.newBuilder().build();
       EntityType response = entityTypesClient.updateEntityType(entityType);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/updateentitytype/SyncUpdateEntityTypeEntitytypeString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/updateentitytype/SyncUpdateEntityTypeEntitytypeString.java
index cf8a0f24a9c1..10d161625569 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/updateentitytype/SyncUpdateEntityTypeEntitytypeString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypesclient/updateentitytype/SyncUpdateEntityTypeEntitytypeString.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateEntityTypeEntitytypeString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       EntityType entityType = EntityType.newBuilder().build();
       String languageCode = "languageCode-2092349083";
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypessettings/getentitytype/SyncGetEntityType.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypessettings/getentitytype/SyncGetEntityType.java
index 1194df5e992c..051d6cb56993 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypessettings/getentitytype/SyncGetEntityType.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/entitytypessettings/getentitytype/SyncGetEntityType.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetEntityType() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     EntityTypesSettings.Builder entityTypesSettingsBuilder = EntityTypesSettings.newBuilder();
     entityTypesSettingsBuilder
         .getEntityTypeSettings()
         .setRetrySettings(
-            entityTypesSettingsBuilder
-                .getEntityTypeSettings()
-                .getRetrySettings()
-                .toBuilder()
+            entityTypesSettingsBuilder.getEntityTypeSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     EntityTypesSettings entityTypesSettings = entityTypesSettingsBuilder.build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/create/SyncCreateSetCredentialsProvider.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/create/SyncCreateSetCredentialsProvider.java
index 0355dc149239..18c876ec3217 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/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-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/create/SyncCreateSetCredentialsProvider1.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/create/SyncCreateSetCredentialsProvider1.java
index 64c745bf6630..29904f016780 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/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-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/create/SyncCreateSetEndpoint.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/create/SyncCreateSetEndpoint.java
index 00bd2bd94526..98177d3119e5 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/create/SyncCreateSetEndpoint.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/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-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/createenvironment/AsyncCreateEnvironment.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/createenvironment/AsyncCreateEnvironment.java
index 7fffa49f6eae..93d24694a37f 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/createenvironment/AsyncCreateEnvironment.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/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-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/createenvironment/SyncCreateEnvironment.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/createenvironment/SyncCreateEnvironment.java
index 2ba0ad4125a7..3b6f9fe26695 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/createenvironment/SyncCreateEnvironment.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/createenvironment/SyncCreateEnvironment.java
@@ -29,8 +29,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-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/deleteenvironment/AsyncDeleteEnvironment.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/deleteenvironment/AsyncDeleteEnvironment.java
index eaf503c01eea..8dc0fd2d3c7e 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/deleteenvironment/AsyncDeleteEnvironment.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/deleteenvironment/AsyncDeleteEnvironment.java
@@ -30,8 +30,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()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/deleteenvironment/SyncDeleteEnvironment.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/deleteenvironment/SyncDeleteEnvironment.java
index d3144f478498..37842ae7ff16 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/deleteenvironment/SyncDeleteEnvironment.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/deleteenvironment/SyncDeleteEnvironment.java
@@ -29,8 +29,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()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/getenvironment/AsyncGetEnvironment.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/getenvironment/AsyncGetEnvironment.java
index 0ecfdd6ea0bb..132496e12a52 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/getenvironment/AsyncGetEnvironment.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/getenvironment/AsyncGetEnvironment.java
@@ -30,8 +30,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()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/getenvironment/SyncGetEnvironment.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/getenvironment/SyncGetEnvironment.java
index 64efeb551bae..5da1ed4b8d61 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/getenvironment/SyncGetEnvironment.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/getenvironment/SyncGetEnvironment.java
@@ -29,8 +29,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()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/getenvironmenthistory/AsyncGetEnvironmentHistory.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/getenvironmenthistory/AsyncGetEnvironmentHistory.java
index f09a98b0b963..c2d6bb7ff386 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/getenvironmenthistory/AsyncGetEnvironmentHistory.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/getenvironmenthistory/AsyncGetEnvironmentHistory.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetEnvironmentHistory() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying 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()) {
       GetEnvironmentHistoryRequest request =
           GetEnvironmentHistoryRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/getenvironmenthistory/AsyncGetEnvironmentHistoryPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/getenvironmenthistory/AsyncGetEnvironmentHistoryPaged.java
index ebef1202ebd5..285e1a735c8a 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/getenvironmenthistory/AsyncGetEnvironmentHistoryPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/getenvironmenthistory/AsyncGetEnvironmentHistoryPaged.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetEnvironmentHistoryPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying 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()) {
       GetEnvironmentHistoryRequest request =
           GetEnvironmentHistoryRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/getenvironmenthistory/SyncGetEnvironmentHistory.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/getenvironmenthistory/SyncGetEnvironmentHistory.java
index ca57a72ae7cc..159f9eef170b 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/getenvironmenthistory/SyncGetEnvironmentHistory.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/getenvironmenthistory/SyncGetEnvironmentHistory.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetEnvironmentHistory() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying 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()) {
       GetEnvironmentHistoryRequest request =
           GetEnvironmentHistoryRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/getlocation/AsyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/getlocation/AsyncGetLocation.java
index b613518ae933..b7fbb0ef5db8 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/getlocation/AsyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/getlocation/AsyncGetLocation.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       ApiFuture future = environmentsClient.getLocationCallable().futureCall(request);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/getlocation/SyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/getlocation/SyncGetLocation.java
index a19e6de710af..4276bcfe90b8 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/getlocation/SyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/getlocation/SyncGetLocation.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       Location response = environmentsClient.getLocation(request);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/listenvironments/AsyncListEnvironments.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/listenvironments/AsyncListEnvironments.java
index 880ebc8d19b1..eb361d6164fd 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/listenvironments/AsyncListEnvironments.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/listenvironments/AsyncListEnvironments.java
@@ -30,8 +30,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-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/listenvironments/AsyncListEnvironmentsPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/listenvironments/AsyncListEnvironmentsPaged.java
index ca7ccd147e8c..4a1965a88f98 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/listenvironments/AsyncListEnvironmentsPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/listenvironments/AsyncListEnvironmentsPaged.java
@@ -31,8 +31,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-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/listenvironments/SyncListEnvironments.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/listenvironments/SyncListEnvironments.java
index 19f5354ed6da..32944f9c7ae5 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/listenvironments/SyncListEnvironments.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/listenvironments/SyncListEnvironments.java
@@ -29,8 +29,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-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/listenvironments/SyncListEnvironmentsAgentname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/listenvironments/SyncListEnvironmentsAgentname.java
index c2400cb157d5..759469eff946 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/listenvironments/SyncListEnvironmentsAgentname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/listenvironments/SyncListEnvironmentsAgentname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListEnvironmentsAgentname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying 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()) {
       AgentName parent = AgentName.ofProjectName("[PROJECT]");
       for (Environment element : environmentsClient.listEnvironments(parent).iterateAll()) {
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/listenvironments/SyncListEnvironmentsString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/listenvironments/SyncListEnvironmentsString.java
index c42b3679c0e1..0609c021f8d9 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/listenvironments/SyncListEnvironmentsString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/listenvironments/SyncListEnvironmentsString.java
@@ -28,8 +28,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 = AgentName.ofProjectName("[PROJECT]").toString();
       for (Environment element : environmentsClient.listEnvironments(parent).iterateAll()) {
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/listlocations/AsyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/listlocations/AsyncListLocations.java
index 77cf6e19ad6e..049fd81d69a6 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/listlocations/AsyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/listlocations/AsyncListLocations.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/listlocations/AsyncListLocationsPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/listlocations/AsyncListLocationsPaged.java
index 6788a52d5f2d..f9aff561de78 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/listlocations/AsyncListLocationsPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/listlocations/AsyncListLocationsPaged.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocationsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/listlocations/SyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/listlocations/SyncListLocations.java
index 4449c7d960f2..905dd49856ba 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/listlocations/SyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/listlocations/SyncListLocations.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/updateenvironment/AsyncUpdateEnvironment.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/updateenvironment/AsyncUpdateEnvironment.java
index ce014173654c..e2636abe9405 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/updateenvironment/AsyncUpdateEnvironment.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/updateenvironment/AsyncUpdateEnvironment.java
@@ -30,8 +30,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-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/updateenvironment/SyncUpdateEnvironment.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/updateenvironment/SyncUpdateEnvironment.java
index ae63dca0ddac..2eed28e5e3c6 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentsclient/updateenvironment/SyncUpdateEnvironment.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/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-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentssettings/getenvironment/SyncGetEnvironment.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentssettings/getenvironment/SyncGetEnvironment.java
index 5b7969f6d49f..c4c4582f0373 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/environmentssettings/getenvironment/SyncGetEnvironment.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/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-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/create/SyncCreateSetCredentialsProvider.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/create/SyncCreateSetCredentialsProvider.java
index de36d6cdca0b..b4f3690a5cb8 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/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
     FulfillmentsSettings fulfillmentsSettings =
         FulfillmentsSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/create/SyncCreateSetCredentialsProvider1.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/create/SyncCreateSetCredentialsProvider1.java
index 6c3eb9bca1e4..b805b1840631 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/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
     FulfillmentsSettings fulfillmentsSettings =
         FulfillmentsSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/create/SyncCreateSetEndpoint.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/create/SyncCreateSetEndpoint.java
index f11035583163..8a56f5075d64 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/create/SyncCreateSetEndpoint.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/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
     FulfillmentsSettings fulfillmentsSettings =
         FulfillmentsSettings.newBuilder().setEndpoint(myEndpoint).build();
     FulfillmentsClient fulfillmentsClient = FulfillmentsClient.create(fulfillmentsSettings);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/getfulfillment/AsyncGetFulfillment.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/getfulfillment/AsyncGetFulfillment.java
index 1c8ea5a5bc31..d721a3ea8fde 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/getfulfillment/AsyncGetFulfillment.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/getfulfillment/AsyncGetFulfillment.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetFulfillment() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FulfillmentsClient fulfillmentsClient = FulfillmentsClient.create()) {
       GetFulfillmentRequest request =
           GetFulfillmentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/getfulfillment/SyncGetFulfillment.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/getfulfillment/SyncGetFulfillment.java
index 6c663eebefab..f2e22f4cc5ba 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/getfulfillment/SyncGetFulfillment.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/getfulfillment/SyncGetFulfillment.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetFulfillment() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FulfillmentsClient fulfillmentsClient = FulfillmentsClient.create()) {
       GetFulfillmentRequest request =
           GetFulfillmentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/getfulfillment/SyncGetFulfillmentFulfillmentname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/getfulfillment/SyncGetFulfillmentFulfillmentname.java
index 43366dd601ee..5b90214a6ce5 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/getfulfillment/SyncGetFulfillmentFulfillmentname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/getfulfillment/SyncGetFulfillmentFulfillmentname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetFulfillmentFulfillmentname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FulfillmentsClient fulfillmentsClient = FulfillmentsClient.create()) {
       FulfillmentName name = FulfillmentName.ofProjectName("[PROJECT]");
       Fulfillment response = fulfillmentsClient.getFulfillment(name);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/getfulfillment/SyncGetFulfillmentString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/getfulfillment/SyncGetFulfillmentString.java
index e83a51e33d67..b8a65fcac6fe 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/getfulfillment/SyncGetFulfillmentString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/getfulfillment/SyncGetFulfillmentString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetFulfillmentString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FulfillmentsClient fulfillmentsClient = FulfillmentsClient.create()) {
       String name = FulfillmentName.ofProjectName("[PROJECT]").toString();
       Fulfillment response = fulfillmentsClient.getFulfillment(name);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/getlocation/AsyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/getlocation/AsyncGetLocation.java
index b51ae307e57c..3b4f8d5ee7cf 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/getlocation/AsyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/getlocation/AsyncGetLocation.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FulfillmentsClient fulfillmentsClient = FulfillmentsClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       ApiFuture future = fulfillmentsClient.getLocationCallable().futureCall(request);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/getlocation/SyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/getlocation/SyncGetLocation.java
index 7acf46cf5ec6..df27cacaa23b 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/getlocation/SyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/getlocation/SyncGetLocation.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FulfillmentsClient fulfillmentsClient = FulfillmentsClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       Location response = fulfillmentsClient.getLocation(request);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/listlocations/AsyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/listlocations/AsyncListLocations.java
index 24d799d40716..e2a7bc3df24c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/listlocations/AsyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/listlocations/AsyncListLocations.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FulfillmentsClient fulfillmentsClient = FulfillmentsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/listlocations/AsyncListLocationsPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/listlocations/AsyncListLocationsPaged.java
index 2439f4fdc8c6..4de222e72e67 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/listlocations/AsyncListLocationsPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/listlocations/AsyncListLocationsPaged.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocationsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FulfillmentsClient fulfillmentsClient = FulfillmentsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/listlocations/SyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/listlocations/SyncListLocations.java
index 8673dcc3b9c5..2a105b5ebf1c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/listlocations/SyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/listlocations/SyncListLocations.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FulfillmentsClient fulfillmentsClient = FulfillmentsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/updatefulfillment/AsyncUpdateFulfillment.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/updatefulfillment/AsyncUpdateFulfillment.java
index 8527b5cbee1a..d93f407de8b3 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/updatefulfillment/AsyncUpdateFulfillment.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/updatefulfillment/AsyncUpdateFulfillment.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateFulfillment() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FulfillmentsClient fulfillmentsClient = FulfillmentsClient.create()) {
       UpdateFulfillmentRequest request =
           UpdateFulfillmentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/updatefulfillment/SyncUpdateFulfillment.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/updatefulfillment/SyncUpdateFulfillment.java
index 782f5f649cfe..82034acd3d69 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/updatefulfillment/SyncUpdateFulfillment.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/updatefulfillment/SyncUpdateFulfillment.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateFulfillment() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FulfillmentsClient fulfillmentsClient = FulfillmentsClient.create()) {
       UpdateFulfillmentRequest request =
           UpdateFulfillmentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/updatefulfillment/SyncUpdateFulfillmentFulfillmentFieldmask.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/updatefulfillment/SyncUpdateFulfillmentFulfillmentFieldmask.java
index b58f1f9ca838..766706711559 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/updatefulfillment/SyncUpdateFulfillmentFulfillmentFieldmask.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentsclient/updatefulfillment/SyncUpdateFulfillmentFulfillmentFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateFulfillmentFulfillmentFieldmask() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FulfillmentsClient fulfillmentsClient = FulfillmentsClient.create()) {
       Fulfillment fulfillment = Fulfillment.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentssettings/getfulfillment/SyncGetFulfillment.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentssettings/getfulfillment/SyncGetFulfillment.java
index 9ba60883c117..2916f70ae54c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentssettings/getfulfillment/SyncGetFulfillment.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/fulfillmentssettings/getfulfillment/SyncGetFulfillment.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetFulfillment() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     FulfillmentsSettings.Builder fulfillmentsSettingsBuilder = FulfillmentsSettings.newBuilder();
     fulfillmentsSettingsBuilder
         .getFulfillmentSettings()
         .setRetrySettings(
-            fulfillmentsSettingsBuilder
-                .getFulfillmentSettings()
-                .getRetrySettings()
-                .toBuilder()
+            fulfillmentsSettingsBuilder.getFulfillmentSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     FulfillmentsSettings fulfillmentsSettings = fulfillmentsSettingsBuilder.build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/batchdeleteintents/AsyncBatchDeleteIntents.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/batchdeleteintents/AsyncBatchDeleteIntents.java
index 631dac9213d2..285299e71212 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/batchdeleteintents/AsyncBatchDeleteIntents.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/batchdeleteintents/AsyncBatchDeleteIntents.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncBatchDeleteIntents() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       BatchDeleteIntentsRequest request =
           BatchDeleteIntentsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/batchdeleteintents/AsyncBatchDeleteIntentsLRO.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/batchdeleteintents/AsyncBatchDeleteIntentsLRO.java
index 4245c5877a74..b3bedaddb01a 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/batchdeleteintents/AsyncBatchDeleteIntentsLRO.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/batchdeleteintents/AsyncBatchDeleteIntentsLRO.java
@@ -33,8 +33,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncBatchDeleteIntentsLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       BatchDeleteIntentsRequest request =
           BatchDeleteIntentsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/batchdeleteintents/SyncBatchDeleteIntents.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/batchdeleteintents/SyncBatchDeleteIntents.java
index 74b4cb3a9279..192affe27fb6 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/batchdeleteintents/SyncBatchDeleteIntents.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/batchdeleteintents/SyncBatchDeleteIntents.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchDeleteIntents() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       BatchDeleteIntentsRequest request =
           BatchDeleteIntentsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/batchdeleteintents/SyncBatchDeleteIntentsAgentnameListintent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/batchdeleteintents/SyncBatchDeleteIntentsAgentnameListintent.java
index 100d782a0be2..1a382c83ef42 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/batchdeleteintents/SyncBatchDeleteIntentsAgentnameListintent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/batchdeleteintents/SyncBatchDeleteIntentsAgentnameListintent.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchDeleteIntentsAgentnameListintent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       AgentName parent = AgentName.ofProjectName("[PROJECT]");
       List intents = new ArrayList<>();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/batchdeleteintents/SyncBatchDeleteIntentsStringListintent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/batchdeleteintents/SyncBatchDeleteIntentsStringListintent.java
index 95109f7321a4..9c3569f6eb9b 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/batchdeleteintents/SyncBatchDeleteIntentsStringListintent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/batchdeleteintents/SyncBatchDeleteIntentsStringListintent.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchDeleteIntentsStringListintent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       String parent = AgentName.ofProjectName("[PROJECT]").toString();
       List intents = new ArrayList<>();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/batchupdateintents/AsyncBatchUpdateIntents.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/batchupdateintents/AsyncBatchUpdateIntents.java
index 115d6569d27a..66456ac16da3 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/batchupdateintents/AsyncBatchUpdateIntents.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/batchupdateintents/AsyncBatchUpdateIntents.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncBatchUpdateIntents() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       BatchUpdateIntentsRequest request =
           BatchUpdateIntentsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/batchupdateintents/AsyncBatchUpdateIntentsLRO.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/batchupdateintents/AsyncBatchUpdateIntentsLRO.java
index 5cfa2c484ba0..86cfc258d860 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/batchupdateintents/AsyncBatchUpdateIntentsLRO.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/batchupdateintents/AsyncBatchUpdateIntentsLRO.java
@@ -33,8 +33,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncBatchUpdateIntentsLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       BatchUpdateIntentsRequest request =
           BatchUpdateIntentsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/batchupdateintents/SyncBatchUpdateIntents.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/batchupdateintents/SyncBatchUpdateIntents.java
index b165d1c785e3..6685c1547bc7 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/batchupdateintents/SyncBatchUpdateIntents.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/batchupdateintents/SyncBatchUpdateIntents.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchUpdateIntents() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       BatchUpdateIntentsRequest request =
           BatchUpdateIntentsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/batchupdateintents/SyncBatchUpdateIntentsAgentnameIntentbatch.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/batchupdateintents/SyncBatchUpdateIntentsAgentnameIntentbatch.java
index 3eccd86935a1..d13f0a2c9857 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/batchupdateintents/SyncBatchUpdateIntentsAgentnameIntentbatch.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/batchupdateintents/SyncBatchUpdateIntentsAgentnameIntentbatch.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchUpdateIntentsAgentnameIntentbatch() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       AgentName parent = AgentName.ofProjectName("[PROJECT]");
       IntentBatch intentBatchInline = IntentBatch.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/batchupdateintents/SyncBatchUpdateIntentsAgentnameString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/batchupdateintents/SyncBatchUpdateIntentsAgentnameString.java
index 384f127cd30b..d324a757e5d3 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/batchupdateintents/SyncBatchUpdateIntentsAgentnameString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/batchupdateintents/SyncBatchUpdateIntentsAgentnameString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchUpdateIntentsAgentnameString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       AgentName parent = AgentName.ofProjectName("[PROJECT]");
       String intentBatchUri = "intentBatchUri544125582";
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/batchupdateintents/SyncBatchUpdateIntentsStringIntentbatch.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/batchupdateintents/SyncBatchUpdateIntentsStringIntentbatch.java
index 456d3f7f4792..06c5709acea5 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/batchupdateintents/SyncBatchUpdateIntentsStringIntentbatch.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/batchupdateintents/SyncBatchUpdateIntentsStringIntentbatch.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchUpdateIntentsStringIntentbatch() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       String parent = AgentName.ofProjectName("[PROJECT]").toString();
       IntentBatch intentBatchInline = IntentBatch.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/batchupdateintents/SyncBatchUpdateIntentsStringString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/batchupdateintents/SyncBatchUpdateIntentsStringString.java
index 19f3af2077c8..b47e242cc50f 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/batchupdateintents/SyncBatchUpdateIntentsStringString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/batchupdateintents/SyncBatchUpdateIntentsStringString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchUpdateIntentsStringString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       String parent = AgentName.ofProjectName("[PROJECT]").toString();
       String intentBatchUri = "intentBatchUri544125582";
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/create/SyncCreateSetCredentialsProvider.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/create/SyncCreateSetCredentialsProvider.java
index f9ef85fb3887..8290e1926b4c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/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
     IntentsSettings intentsSettings =
         IntentsSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/create/SyncCreateSetCredentialsProvider1.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/create/SyncCreateSetCredentialsProvider1.java
index 7239ac112a18..c590acb74427 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/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
     IntentsSettings intentsSettings =
         IntentsSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/create/SyncCreateSetEndpoint.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/create/SyncCreateSetEndpoint.java
index a18840b517cb..4c7dfbecbf8c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/create/SyncCreateSetEndpoint.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/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
     IntentsSettings intentsSettings = IntentsSettings.newBuilder().setEndpoint(myEndpoint).build();
     IntentsClient intentsClient = IntentsClient.create(intentsSettings);
   }
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/createintent/AsyncCreateIntent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/createintent/AsyncCreateIntent.java
index 3e8cb9f07e5e..cc569fb05110 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/createintent/AsyncCreateIntent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/createintent/AsyncCreateIntent.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateIntent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       CreateIntentRequest request =
           CreateIntentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/createintent/SyncCreateIntent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/createintent/SyncCreateIntent.java
index 68c5424ddae6..b397875928be 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/createintent/SyncCreateIntent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/createintent/SyncCreateIntent.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateIntent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       CreateIntentRequest request =
           CreateIntentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/createintent/SyncCreateIntentAgentnameIntent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/createintent/SyncCreateIntentAgentnameIntent.java
index ccd0dbc0fa79..ab26711bd857 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/createintent/SyncCreateIntentAgentnameIntent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/createintent/SyncCreateIntentAgentnameIntent.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateIntentAgentnameIntent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       AgentName parent = AgentName.ofProjectName("[PROJECT]");
       Intent intent = Intent.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/createintent/SyncCreateIntentAgentnameIntentString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/createintent/SyncCreateIntentAgentnameIntentString.java
index 2bf921cb0bfc..fd137859157f 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/createintent/SyncCreateIntentAgentnameIntentString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/createintent/SyncCreateIntentAgentnameIntentString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateIntentAgentnameIntentString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       AgentName parent = AgentName.ofProjectName("[PROJECT]");
       Intent intent = Intent.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/createintent/SyncCreateIntentStringIntent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/createintent/SyncCreateIntentStringIntent.java
index ba3e518fb88e..36705f54a7d1 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/createintent/SyncCreateIntentStringIntent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/createintent/SyncCreateIntentStringIntent.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateIntentStringIntent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       String parent = AgentName.ofProjectName("[PROJECT]").toString();
       Intent intent = Intent.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/createintent/SyncCreateIntentStringIntentString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/createintent/SyncCreateIntentStringIntentString.java
index da236383cf8d..c419fb8e8467 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/createintent/SyncCreateIntentStringIntentString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/createintent/SyncCreateIntentStringIntentString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateIntentStringIntentString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       String parent = AgentName.ofProjectName("[PROJECT]").toString();
       Intent intent = Intent.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/deleteintent/AsyncDeleteIntent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/deleteintent/AsyncDeleteIntent.java
index bc9c2ef290fb..8dda71b8cff6 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/deleteintent/AsyncDeleteIntent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/deleteintent/AsyncDeleteIntent.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteIntent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       DeleteIntentRequest request =
           DeleteIntentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/deleteintent/SyncDeleteIntent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/deleteintent/SyncDeleteIntent.java
index ae2830a2ccd7..3b0f2a5109c6 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/deleteintent/SyncDeleteIntent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/deleteintent/SyncDeleteIntent.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteIntent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       DeleteIntentRequest request =
           DeleteIntentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/deleteintent/SyncDeleteIntentIntentname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/deleteintent/SyncDeleteIntentIntentname.java
index 341ea92e6f59..142af05ef5b1 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/deleteintent/SyncDeleteIntentIntentname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/deleteintent/SyncDeleteIntentIntentname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteIntentIntentname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       IntentName name = IntentName.ofProjectIntentName("[PROJECT]", "[INTENT]");
       intentsClient.deleteIntent(name);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/deleteintent/SyncDeleteIntentString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/deleteintent/SyncDeleteIntentString.java
index ae2c8ce68b74..ccda0a38c927 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/deleteintent/SyncDeleteIntentString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/deleteintent/SyncDeleteIntentString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteIntentString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       String name = IntentName.ofProjectIntentName("[PROJECT]", "[INTENT]").toString();
       intentsClient.deleteIntent(name);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/getintent/AsyncGetIntent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/getintent/AsyncGetIntent.java
index 1408422dff63..01eef5ffe363 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/getintent/AsyncGetIntent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/getintent/AsyncGetIntent.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetIntent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       GetIntentRequest request =
           GetIntentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/getintent/SyncGetIntent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/getintent/SyncGetIntent.java
index b74e3ee709f6..1b2ba5c9a0f2 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/getintent/SyncGetIntent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/getintent/SyncGetIntent.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetIntent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       GetIntentRequest request =
           GetIntentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/getintent/SyncGetIntentIntentname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/getintent/SyncGetIntentIntentname.java
index 465c9e2f7d07..651d4488dca6 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/getintent/SyncGetIntentIntentname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/getintent/SyncGetIntentIntentname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetIntentIntentname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       IntentName name = IntentName.ofProjectIntentName("[PROJECT]", "[INTENT]");
       Intent response = intentsClient.getIntent(name);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/getintent/SyncGetIntentIntentnameString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/getintent/SyncGetIntentIntentnameString.java
index 64f84d6e7077..4e8a94646df5 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/getintent/SyncGetIntentIntentnameString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/getintent/SyncGetIntentIntentnameString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetIntentIntentnameString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       IntentName name = IntentName.ofProjectIntentName("[PROJECT]", "[INTENT]");
       String languageCode = "languageCode-2092349083";
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/getintent/SyncGetIntentString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/getintent/SyncGetIntentString.java
index 9f5f086470ca..1b20d5917e29 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/getintent/SyncGetIntentString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/getintent/SyncGetIntentString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetIntentString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       String name = IntentName.ofProjectIntentName("[PROJECT]", "[INTENT]").toString();
       Intent response = intentsClient.getIntent(name);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/getintent/SyncGetIntentStringString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/getintent/SyncGetIntentStringString.java
index dd9d048e4229..959704fd1080 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/getintent/SyncGetIntentStringString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/getintent/SyncGetIntentStringString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetIntentStringString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       String name = IntentName.ofProjectIntentName("[PROJECT]", "[INTENT]").toString();
       String languageCode = "languageCode-2092349083";
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/getlocation/AsyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/getlocation/AsyncGetLocation.java
index 66147f33399a..78f3e27792a5 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/getlocation/AsyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/getlocation/AsyncGetLocation.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       ApiFuture future = intentsClient.getLocationCallable().futureCall(request);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/getlocation/SyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/getlocation/SyncGetLocation.java
index 03117a9cba52..0071af6dd196 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/getlocation/SyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/getlocation/SyncGetLocation.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       Location response = intentsClient.getLocation(request);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/listintents/AsyncListIntents.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/listintents/AsyncListIntents.java
index f3603499dc33..0bb0c2c04562 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/listintents/AsyncListIntents.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/listintents/AsyncListIntents.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListIntents() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       ListIntentsRequest request =
           ListIntentsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/listintents/AsyncListIntentsPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/listintents/AsyncListIntentsPaged.java
index 6c00d25da7ab..84098a895991 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/listintents/AsyncListIntentsPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/listintents/AsyncListIntentsPaged.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListIntentsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       ListIntentsRequest request =
           ListIntentsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/listintents/SyncListIntents.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/listintents/SyncListIntents.java
index 3f7135402314..57b3174667b7 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/listintents/SyncListIntents.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/listintents/SyncListIntents.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListIntents() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       ListIntentsRequest request =
           ListIntentsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/listintents/SyncListIntentsAgentname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/listintents/SyncListIntentsAgentname.java
index 2618139e5d15..f9e39f3223c8 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/listintents/SyncListIntentsAgentname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/listintents/SyncListIntentsAgentname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListIntentsAgentname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       AgentName parent = AgentName.ofProjectName("[PROJECT]");
       for (Intent element : intentsClient.listIntents(parent).iterateAll()) {
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/listintents/SyncListIntentsAgentnameString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/listintents/SyncListIntentsAgentnameString.java
index dc3b4921ba1c..aa00c3e2b74e 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/listintents/SyncListIntentsAgentnameString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/listintents/SyncListIntentsAgentnameString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListIntentsAgentnameString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       AgentName parent = AgentName.ofProjectName("[PROJECT]");
       String languageCode = "languageCode-2092349083";
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/listintents/SyncListIntentsString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/listintents/SyncListIntentsString.java
index 17a012fd33be..de38dd5bc236 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/listintents/SyncListIntentsString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/listintents/SyncListIntentsString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListIntentsString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       String parent = AgentName.ofProjectName("[PROJECT]").toString();
       for (Intent element : intentsClient.listIntents(parent).iterateAll()) {
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/listintents/SyncListIntentsStringString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/listintents/SyncListIntentsStringString.java
index cd6145ce92c0..e572b69d9d25 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/listintents/SyncListIntentsStringString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/listintents/SyncListIntentsStringString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListIntentsStringString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       String parent = AgentName.ofProjectName("[PROJECT]").toString();
       String languageCode = "languageCode-2092349083";
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/listlocations/AsyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/listlocations/AsyncListLocations.java
index fcc7757d7766..c96811fdeb15 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/listlocations/AsyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/listlocations/AsyncListLocations.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/listlocations/AsyncListLocationsPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/listlocations/AsyncListLocationsPaged.java
index 40c08f2eadc3..cdbfbb67d5f2 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/listlocations/AsyncListLocationsPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/listlocations/AsyncListLocationsPaged.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocationsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/listlocations/SyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/listlocations/SyncListLocations.java
index ea4d23409637..1c17c1bdc637 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/listlocations/SyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/listlocations/SyncListLocations.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/updateintent/AsyncUpdateIntent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/updateintent/AsyncUpdateIntent.java
index cb27bb1dab06..5dce16210531 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/updateintent/AsyncUpdateIntent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/updateintent/AsyncUpdateIntent.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateIntent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       UpdateIntentRequest request =
           UpdateIntentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/updateintent/SyncUpdateIntent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/updateintent/SyncUpdateIntent.java
index 22dc72616e52..79cf40337550 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/updateintent/SyncUpdateIntent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/updateintent/SyncUpdateIntent.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateIntent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       UpdateIntentRequest request =
           UpdateIntentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/updateintent/SyncUpdateIntentIntentString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/updateintent/SyncUpdateIntentIntentString.java
index f7ad67734471..5170b6e337d4 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/updateintent/SyncUpdateIntentIntentString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/updateintent/SyncUpdateIntentIntentString.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateIntentIntentString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       Intent intent = Intent.newBuilder().build();
       String languageCode = "languageCode-2092349083";
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/updateintent/SyncUpdateIntentIntentStringFieldmask.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/updateintent/SyncUpdateIntentIntentStringFieldmask.java
index 9f7649e43286..96faab2d487e 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/updateintent/SyncUpdateIntentIntentStringFieldmask.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentsclient/updateintent/SyncUpdateIntentIntentStringFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateIntentIntentStringFieldmask() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       Intent intent = Intent.newBuilder().build();
       String languageCode = "languageCode-2092349083";
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentssettings/getintent/SyncGetIntent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentssettings/getintent/SyncGetIntent.java
index f361ca85a07f..b0f08207f745 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentssettings/getintent/SyncGetIntent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/intentssettings/getintent/SyncGetIntent.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetIntent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     IntentsSettings.Builder intentsSettingsBuilder = IntentsSettings.newBuilder();
     intentsSettingsBuilder
         .getIntentSettings()
         .setRetrySettings(
-            intentsSettingsBuilder
-                .getIntentSettings()
-                .getRetrySettings()
-                .toBuilder()
+            intentsSettingsBuilder.getIntentSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     IntentsSettings intentsSettings = intentsSettingsBuilder.build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/create/SyncCreateSetCredentialsProvider.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/create/SyncCreateSetCredentialsProvider.java
index ef120c7ca808..a39d342e3a6e 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/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
     KnowledgeBasesSettings knowledgeBasesSettings =
         KnowledgeBasesSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/create/SyncCreateSetCredentialsProvider1.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/create/SyncCreateSetCredentialsProvider1.java
index 380994c56c04..04d957c219cd 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/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
     KnowledgeBasesSettings knowledgeBasesSettings =
         KnowledgeBasesSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/create/SyncCreateSetEndpoint.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/create/SyncCreateSetEndpoint.java
index fdb4f7359f95..fb841be130b4 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/create/SyncCreateSetEndpoint.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/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
     KnowledgeBasesSettings knowledgeBasesSettings =
         KnowledgeBasesSettings.newBuilder().setEndpoint(myEndpoint).build();
     KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create(knowledgeBasesSettings);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/createknowledgebase/AsyncCreateKnowledgeBase.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/createknowledgebase/AsyncCreateKnowledgeBase.java
index 22c6d71e7bb5..df52cfa5b14a 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/createknowledgebase/AsyncCreateKnowledgeBase.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/createknowledgebase/AsyncCreateKnowledgeBase.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateKnowledgeBase() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
       CreateKnowledgeBaseRequest request =
           CreateKnowledgeBaseRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/createknowledgebase/SyncCreateKnowledgeBase.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/createknowledgebase/SyncCreateKnowledgeBase.java
index 6bc1863ea1a0..1c4ebe31bfc1 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/createknowledgebase/SyncCreateKnowledgeBase.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/createknowledgebase/SyncCreateKnowledgeBase.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateKnowledgeBase() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
       CreateKnowledgeBaseRequest request =
           CreateKnowledgeBaseRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/createknowledgebase/SyncCreateKnowledgeBaseLocationnameKnowledgebase.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/createknowledgebase/SyncCreateKnowledgeBaseLocationnameKnowledgebase.java
index 6aa0f5c622b3..5e1b3d3fbd2f 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/createknowledgebase/SyncCreateKnowledgeBaseLocationnameKnowledgebase.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/createknowledgebase/SyncCreateKnowledgeBaseLocationnameKnowledgebase.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateKnowledgeBaseLocationnameKnowledgebase() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       KnowledgeBase knowledgeBase = KnowledgeBase.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/createknowledgebase/SyncCreateKnowledgeBaseProjectnameKnowledgebase.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/createknowledgebase/SyncCreateKnowledgeBaseProjectnameKnowledgebase.java
index d23d0f6d80e6..79b20c690722 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/createknowledgebase/SyncCreateKnowledgeBaseProjectnameKnowledgebase.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/createknowledgebase/SyncCreateKnowledgeBaseProjectnameKnowledgebase.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateKnowledgeBaseProjectnameKnowledgebase() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
       ProjectName parent = ProjectName.of("[PROJECT]");
       KnowledgeBase knowledgeBase = KnowledgeBase.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/createknowledgebase/SyncCreateKnowledgeBaseStringKnowledgebase.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/createknowledgebase/SyncCreateKnowledgeBaseStringKnowledgebase.java
index 7f717581a727..6ddeb64feb40 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/createknowledgebase/SyncCreateKnowledgeBaseStringKnowledgebase.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/createknowledgebase/SyncCreateKnowledgeBaseStringKnowledgebase.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateKnowledgeBaseStringKnowledgebase() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
       String parent = ProjectName.of("[PROJECT]").toString();
       KnowledgeBase knowledgeBase = KnowledgeBase.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/deleteknowledgebase/AsyncDeleteKnowledgeBase.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/deleteknowledgebase/AsyncDeleteKnowledgeBase.java
index 3a8cd6bd0544..d4093107ae23 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/deleteknowledgebase/AsyncDeleteKnowledgeBase.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/deleteknowledgebase/AsyncDeleteKnowledgeBase.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteKnowledgeBase() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
       DeleteKnowledgeBaseRequest request =
           DeleteKnowledgeBaseRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/deleteknowledgebase/SyncDeleteKnowledgeBase.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/deleteknowledgebase/SyncDeleteKnowledgeBase.java
index 17e31fca5de3..32998766e115 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/deleteknowledgebase/SyncDeleteKnowledgeBase.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/deleteknowledgebase/SyncDeleteKnowledgeBase.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteKnowledgeBase() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
       DeleteKnowledgeBaseRequest request =
           DeleteKnowledgeBaseRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/deleteknowledgebase/SyncDeleteKnowledgeBaseKnowledgebasename.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/deleteknowledgebase/SyncDeleteKnowledgeBaseKnowledgebasename.java
index 0f850298bed9..275b04c125e8 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/deleteknowledgebase/SyncDeleteKnowledgeBaseKnowledgebasename.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/deleteknowledgebase/SyncDeleteKnowledgeBaseKnowledgebasename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteKnowledgeBaseKnowledgebasename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
       KnowledgeBaseName name =
           KnowledgeBaseName.ofProjectKnowledgeBaseName("[PROJECT]", "[KNOWLEDGE_BASE]");
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/deleteknowledgebase/SyncDeleteKnowledgeBaseString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/deleteknowledgebase/SyncDeleteKnowledgeBaseString.java
index 59927c7ed5f4..9bd30b2c2b3d 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/deleteknowledgebase/SyncDeleteKnowledgeBaseString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/deleteknowledgebase/SyncDeleteKnowledgeBaseString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteKnowledgeBaseString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
       String name =
           KnowledgeBaseName.ofProjectKnowledgeBaseName("[PROJECT]", "[KNOWLEDGE_BASE]").toString();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/getknowledgebase/AsyncGetKnowledgeBase.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/getknowledgebase/AsyncGetKnowledgeBase.java
index 69f6d3d1f4c1..94f3eb6bbdbe 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/getknowledgebase/AsyncGetKnowledgeBase.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/getknowledgebase/AsyncGetKnowledgeBase.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetKnowledgeBase() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
       GetKnowledgeBaseRequest request =
           GetKnowledgeBaseRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/getknowledgebase/SyncGetKnowledgeBase.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/getknowledgebase/SyncGetKnowledgeBase.java
index 981b37c0d565..d41332867414 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/getknowledgebase/SyncGetKnowledgeBase.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/getknowledgebase/SyncGetKnowledgeBase.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetKnowledgeBase() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
       GetKnowledgeBaseRequest request =
           GetKnowledgeBaseRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/getknowledgebase/SyncGetKnowledgeBaseKnowledgebasename.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/getknowledgebase/SyncGetKnowledgeBaseKnowledgebasename.java
index 8b1a584bd2d4..02eb43e1393a 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/getknowledgebase/SyncGetKnowledgeBaseKnowledgebasename.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/getknowledgebase/SyncGetKnowledgeBaseKnowledgebasename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetKnowledgeBaseKnowledgebasename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
       KnowledgeBaseName name =
           KnowledgeBaseName.ofProjectKnowledgeBaseName("[PROJECT]", "[KNOWLEDGE_BASE]");
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/getknowledgebase/SyncGetKnowledgeBaseString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/getknowledgebase/SyncGetKnowledgeBaseString.java
index c53cfbe34a48..7c8d543b73a8 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/getknowledgebase/SyncGetKnowledgeBaseString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/getknowledgebase/SyncGetKnowledgeBaseString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetKnowledgeBaseString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
       String name =
           KnowledgeBaseName.ofProjectKnowledgeBaseName("[PROJECT]", "[KNOWLEDGE_BASE]").toString();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/getlocation/AsyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/getlocation/AsyncGetLocation.java
index d65e4a866c2f..8db241c40db8 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/getlocation/AsyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/getlocation/AsyncGetLocation.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       ApiFuture future = knowledgeBasesClient.getLocationCallable().futureCall(request);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/getlocation/SyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/getlocation/SyncGetLocation.java
index 585f055257ba..009140c5eaa8 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/getlocation/SyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/getlocation/SyncGetLocation.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       Location response = knowledgeBasesClient.getLocation(request);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/listknowledgebases/AsyncListKnowledgeBases.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/listknowledgebases/AsyncListKnowledgeBases.java
index a36b341b7d7a..17256b599bce 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/listknowledgebases/AsyncListKnowledgeBases.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/listknowledgebases/AsyncListKnowledgeBases.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListKnowledgeBases() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
       ListKnowledgeBasesRequest request =
           ListKnowledgeBasesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/listknowledgebases/AsyncListKnowledgeBasesPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/listknowledgebases/AsyncListKnowledgeBasesPaged.java
index b9d7455576c0..1db628908bc2 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/listknowledgebases/AsyncListKnowledgeBasesPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/listknowledgebases/AsyncListKnowledgeBasesPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListKnowledgeBasesPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
       ListKnowledgeBasesRequest request =
           ListKnowledgeBasesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/listknowledgebases/SyncListKnowledgeBases.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/listknowledgebases/SyncListKnowledgeBases.java
index 62852bb3797c..d0acea039e0f 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/listknowledgebases/SyncListKnowledgeBases.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/listknowledgebases/SyncListKnowledgeBases.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListKnowledgeBases() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
       ListKnowledgeBasesRequest request =
           ListKnowledgeBasesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/listknowledgebases/SyncListKnowledgeBasesLocationname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/listknowledgebases/SyncListKnowledgeBasesLocationname.java
index 9372cfcd7c4f..e93fd5d6c52a 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/listknowledgebases/SyncListKnowledgeBasesLocationname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/listknowledgebases/SyncListKnowledgeBasesLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListKnowledgeBasesLocationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       for (KnowledgeBase element : knowledgeBasesClient.listKnowledgeBases(parent).iterateAll()) {
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/listknowledgebases/SyncListKnowledgeBasesProjectname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/listknowledgebases/SyncListKnowledgeBasesProjectname.java
index 3603bcde56f6..a18f9059b8ef 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/listknowledgebases/SyncListKnowledgeBasesProjectname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/listknowledgebases/SyncListKnowledgeBasesProjectname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListKnowledgeBasesProjectname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
       ProjectName parent = ProjectName.of("[PROJECT]");
       for (KnowledgeBase element : knowledgeBasesClient.listKnowledgeBases(parent).iterateAll()) {
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/listknowledgebases/SyncListKnowledgeBasesString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/listknowledgebases/SyncListKnowledgeBasesString.java
index 93130b7df12c..ab20ca478af8 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/listknowledgebases/SyncListKnowledgeBasesString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/listknowledgebases/SyncListKnowledgeBasesString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListKnowledgeBasesString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
       String parent = ProjectName.of("[PROJECT]").toString();
       for (KnowledgeBase element : knowledgeBasesClient.listKnowledgeBases(parent).iterateAll()) {
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/listlocations/AsyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/listlocations/AsyncListLocations.java
index 758dc195d805..65a44f3afd79 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/listlocations/AsyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/listlocations/AsyncListLocations.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/listlocations/AsyncListLocationsPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/listlocations/AsyncListLocationsPaged.java
index 549c83b187ce..0883f36ac80d 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/listlocations/AsyncListLocationsPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/listlocations/AsyncListLocationsPaged.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocationsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/listlocations/SyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/listlocations/SyncListLocations.java
index 6989a1a838d7..59cb78f19f8c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/listlocations/SyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/listlocations/SyncListLocations.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/updateknowledgebase/AsyncUpdateKnowledgeBase.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/updateknowledgebase/AsyncUpdateKnowledgeBase.java
index e4a3e5b579b6..6df9932791a5 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/updateknowledgebase/AsyncUpdateKnowledgeBase.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/updateknowledgebase/AsyncUpdateKnowledgeBase.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateKnowledgeBase() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
       UpdateKnowledgeBaseRequest request =
           UpdateKnowledgeBaseRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/updateknowledgebase/SyncUpdateKnowledgeBase.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/updateknowledgebase/SyncUpdateKnowledgeBase.java
index ec63875f26d1..c657f9cb7063 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/updateknowledgebase/SyncUpdateKnowledgeBase.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/updateknowledgebase/SyncUpdateKnowledgeBase.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateKnowledgeBase() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
       UpdateKnowledgeBaseRequest request =
           UpdateKnowledgeBaseRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/updateknowledgebase/SyncUpdateKnowledgeBaseKnowledgebaseFieldmask.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/updateknowledgebase/SyncUpdateKnowledgeBaseKnowledgebaseFieldmask.java
index c4f8063d903d..937851bed062 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/updateknowledgebase/SyncUpdateKnowledgeBaseKnowledgebaseFieldmask.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasesclient/updateknowledgebase/SyncUpdateKnowledgeBaseKnowledgebaseFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateKnowledgeBaseKnowledgebaseFieldmask() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
       KnowledgeBase knowledgeBase = KnowledgeBase.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasessettings/getknowledgebase/SyncGetKnowledgeBase.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasessettings/getknowledgebase/SyncGetKnowledgeBase.java
index f03bf693be62..fb8af7dbb8bd 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasessettings/getknowledgebase/SyncGetKnowledgeBase.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/knowledgebasessettings/getknowledgebase/SyncGetKnowledgeBase.java
@@ -27,17 +27,17 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetKnowledgeBase() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     KnowledgeBasesSettings.Builder knowledgeBasesSettingsBuilder =
         KnowledgeBasesSettings.newBuilder();
     knowledgeBasesSettingsBuilder
         .getKnowledgeBaseSettings()
         .setRetrySettings(
-            knowledgeBasesSettingsBuilder
-                .getKnowledgeBaseSettings()
-                .getRetrySettings()
-                .toBuilder()
+            knowledgeBasesSettingsBuilder.getKnowledgeBaseSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     KnowledgeBasesSettings knowledgeBasesSettings = knowledgeBasesSettingsBuilder.build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/analyzecontent/AsyncAnalyzeContent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/analyzecontent/AsyncAnalyzeContent.java
index 4c1a6742a1c2..a41d0730db74 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/analyzecontent/AsyncAnalyzeContent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/analyzecontent/AsyncAnalyzeContent.java
@@ -34,8 +34,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncAnalyzeContent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       AnalyzeContentRequest request =
           AnalyzeContentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/analyzecontent/SyncAnalyzeContent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/analyzecontent/SyncAnalyzeContent.java
index 55adb372f2be..cd296326f52d 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/analyzecontent/SyncAnalyzeContent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/analyzecontent/SyncAnalyzeContent.java
@@ -33,8 +33,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncAnalyzeContent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       AnalyzeContentRequest request =
           AnalyzeContentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/analyzecontent/SyncAnalyzeContentParticipantnameEventinput.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/analyzecontent/SyncAnalyzeContentParticipantnameEventinput.java
index a17ee257021e..1db22dc372b5 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/analyzecontent/SyncAnalyzeContentParticipantnameEventinput.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/analyzecontent/SyncAnalyzeContentParticipantnameEventinput.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncAnalyzeContentParticipantnameEventinput() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       ParticipantName participant =
           ParticipantName.ofProjectConversationParticipantName(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/analyzecontent/SyncAnalyzeContentParticipantnameTextinput.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/analyzecontent/SyncAnalyzeContentParticipantnameTextinput.java
index b152df06b774..c7ac96de7e80 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/analyzecontent/SyncAnalyzeContentParticipantnameTextinput.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/analyzecontent/SyncAnalyzeContentParticipantnameTextinput.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncAnalyzeContentParticipantnameTextinput() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       ParticipantName participant =
           ParticipantName.ofProjectConversationParticipantName(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/analyzecontent/SyncAnalyzeContentStringEventinput.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/analyzecontent/SyncAnalyzeContentStringEventinput.java
index 198d20fa5ff6..4c9724fe2c05 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/analyzecontent/SyncAnalyzeContentStringEventinput.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/analyzecontent/SyncAnalyzeContentStringEventinput.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncAnalyzeContentStringEventinput() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       String participant =
           ParticipantName.ofProjectConversationParticipantName(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/analyzecontent/SyncAnalyzeContentStringTextinput.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/analyzecontent/SyncAnalyzeContentStringTextinput.java
index 0eba5c2b486c..231f12754d3c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/analyzecontent/SyncAnalyzeContentStringTextinput.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/analyzecontent/SyncAnalyzeContentStringTextinput.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncAnalyzeContentStringTextinput() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       String participant =
           ParticipantName.ofProjectConversationParticipantName(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/create/SyncCreateSetCredentialsProvider.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/create/SyncCreateSetCredentialsProvider.java
index f4f1d6c177af..8f72e3d4a7a4 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/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
     ParticipantsSettings participantsSettings =
         ParticipantsSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/create/SyncCreateSetCredentialsProvider1.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/create/SyncCreateSetCredentialsProvider1.java
index af0df28f540f..09e604d9655f 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/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
     ParticipantsSettings participantsSettings =
         ParticipantsSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/create/SyncCreateSetEndpoint.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/create/SyncCreateSetEndpoint.java
index 00d82e9ec983..d7d98afce8d4 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/create/SyncCreateSetEndpoint.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/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
     ParticipantsSettings participantsSettings =
         ParticipantsSettings.newBuilder().setEndpoint(myEndpoint).build();
     ParticipantsClient participantsClient = ParticipantsClient.create(participantsSettings);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/createparticipant/AsyncCreateParticipant.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/createparticipant/AsyncCreateParticipant.java
index 36a4b5944ebe..eaed23911e82 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/createparticipant/AsyncCreateParticipant.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/createparticipant/AsyncCreateParticipant.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateParticipant() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       CreateParticipantRequest request =
           CreateParticipantRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/createparticipant/SyncCreateParticipant.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/createparticipant/SyncCreateParticipant.java
index cce3f5cee7a5..96e6bf37b208 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/createparticipant/SyncCreateParticipant.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/createparticipant/SyncCreateParticipant.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateParticipant() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       CreateParticipantRequest request =
           CreateParticipantRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/createparticipant/SyncCreateParticipantConversationnameParticipant.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/createparticipant/SyncCreateParticipantConversationnameParticipant.java
index f306db21c9c9..c2ddbe520ca0 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/createparticipant/SyncCreateParticipantConversationnameParticipant.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/createparticipant/SyncCreateParticipantConversationnameParticipant.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateParticipantConversationnameParticipant() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       ConversationName parent =
           ConversationName.ofProjectConversationName("[PROJECT]", "[CONVERSATION]");
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/createparticipant/SyncCreateParticipantStringParticipant.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/createparticipant/SyncCreateParticipantStringParticipant.java
index 813fe07abbc0..89d1d97e2b79 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/createparticipant/SyncCreateParticipantStringParticipant.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/createparticipant/SyncCreateParticipantStringParticipant.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateParticipantStringParticipant() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       String parent =
           ConversationName.ofProjectConversationName("[PROJECT]", "[CONVERSATION]").toString();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/getlocation/AsyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/getlocation/AsyncGetLocation.java
index 3ee613ba7ccd..2ef867712719 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/getlocation/AsyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/getlocation/AsyncGetLocation.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       ApiFuture future = participantsClient.getLocationCallable().futureCall(request);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/getlocation/SyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/getlocation/SyncGetLocation.java
index 7a30a280c23b..8729527df3a2 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/getlocation/SyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/getlocation/SyncGetLocation.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       Location response = participantsClient.getLocation(request);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/getparticipant/AsyncGetParticipant.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/getparticipant/AsyncGetParticipant.java
index 6e695b1147a6..e3d7361ce2df 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/getparticipant/AsyncGetParticipant.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/getparticipant/AsyncGetParticipant.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetParticipant() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       GetParticipantRequest request =
           GetParticipantRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/getparticipant/SyncGetParticipant.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/getparticipant/SyncGetParticipant.java
index be8c3a7bc285..0cdf24aec8a5 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/getparticipant/SyncGetParticipant.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/getparticipant/SyncGetParticipant.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetParticipant() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       GetParticipantRequest request =
           GetParticipantRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/getparticipant/SyncGetParticipantParticipantname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/getparticipant/SyncGetParticipantParticipantname.java
index 9e5064700ce0..dc4583bcf3d9 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/getparticipant/SyncGetParticipantParticipantname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/getparticipant/SyncGetParticipantParticipantname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetParticipantParticipantname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       ParticipantName name =
           ParticipantName.ofProjectConversationParticipantName(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/getparticipant/SyncGetParticipantString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/getparticipant/SyncGetParticipantString.java
index ff066b51e2f0..0250c7c3fc4d 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/getparticipant/SyncGetParticipantString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/getparticipant/SyncGetParticipantString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetParticipantString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       String name =
           ParticipantName.ofProjectConversationParticipantName(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/listlocations/AsyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/listlocations/AsyncListLocations.java
index 63f40203554e..3e4f19f7a3d7 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/listlocations/AsyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/listlocations/AsyncListLocations.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/listlocations/AsyncListLocationsPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/listlocations/AsyncListLocationsPaged.java
index 6b5f13a72862..a89de7e1a50c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/listlocations/AsyncListLocationsPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/listlocations/AsyncListLocationsPaged.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocationsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/listlocations/SyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/listlocations/SyncListLocations.java
index f4c39ec42653..9246af1e8a32 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/listlocations/SyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/listlocations/SyncListLocations.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/listparticipants/AsyncListParticipants.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/listparticipants/AsyncListParticipants.java
index 07d0a26fe03d..86ed7420de64 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/listparticipants/AsyncListParticipants.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/listparticipants/AsyncListParticipants.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListParticipants() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       ListParticipantsRequest request =
           ListParticipantsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/listparticipants/AsyncListParticipantsPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/listparticipants/AsyncListParticipantsPaged.java
index 9915e3a9d74b..b96ef2efe96f 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/listparticipants/AsyncListParticipantsPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/listparticipants/AsyncListParticipantsPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListParticipantsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       ListParticipantsRequest request =
           ListParticipantsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/listparticipants/SyncListParticipants.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/listparticipants/SyncListParticipants.java
index e869fee144bf..ede3a8740525 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/listparticipants/SyncListParticipants.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/listparticipants/SyncListParticipants.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListParticipants() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       ListParticipantsRequest request =
           ListParticipantsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/listparticipants/SyncListParticipantsConversationname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/listparticipants/SyncListParticipantsConversationname.java
index 279dcff67ba2..f8479af29fca 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/listparticipants/SyncListParticipantsConversationname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/listparticipants/SyncListParticipantsConversationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListParticipantsConversationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       ConversationName parent =
           ConversationName.ofProjectConversationName("[PROJECT]", "[CONVERSATION]");
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/listparticipants/SyncListParticipantsString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/listparticipants/SyncListParticipantsString.java
index 85059645ed74..1412d61895a9 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/listparticipants/SyncListParticipantsString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/listparticipants/SyncListParticipantsString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListParticipantsString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       String parent =
           ConversationName.ofProjectConversationName("[PROJECT]", "[CONVERSATION]").toString();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/suggestarticles/AsyncSuggestArticles.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/suggestarticles/AsyncSuggestArticles.java
index bbee8d98460e..f0fb0e1bf98c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/suggestarticles/AsyncSuggestArticles.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/suggestarticles/AsyncSuggestArticles.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncSuggestArticles() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       SuggestArticlesRequest request =
           SuggestArticlesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/suggestarticles/SyncSuggestArticles.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/suggestarticles/SyncSuggestArticles.java
index 3696b4ab7a4d..daf98948f560 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/suggestarticles/SyncSuggestArticles.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/suggestarticles/SyncSuggestArticles.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSuggestArticles() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       SuggestArticlesRequest request =
           SuggestArticlesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/suggestarticles/SyncSuggestArticlesParticipantname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/suggestarticles/SyncSuggestArticlesParticipantname.java
index a82e275321dc..00cdd35afed2 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/suggestarticles/SyncSuggestArticlesParticipantname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/suggestarticles/SyncSuggestArticlesParticipantname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSuggestArticlesParticipantname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       ParticipantName parent =
           ParticipantName.ofProjectConversationParticipantName(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/suggestarticles/SyncSuggestArticlesString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/suggestarticles/SyncSuggestArticlesString.java
index b2099f74e0df..6423cf61d45d 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/suggestarticles/SyncSuggestArticlesString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/suggestarticles/SyncSuggestArticlesString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSuggestArticlesString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       String parent =
           ParticipantName.ofProjectConversationParticipantName(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/suggestfaqanswers/AsyncSuggestFaqAnswers.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/suggestfaqanswers/AsyncSuggestFaqAnswers.java
index 822b0d018556..ace1cbdc8f95 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/suggestfaqanswers/AsyncSuggestFaqAnswers.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/suggestfaqanswers/AsyncSuggestFaqAnswers.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncSuggestFaqAnswers() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       SuggestFaqAnswersRequest request =
           SuggestFaqAnswersRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/suggestfaqanswers/SyncSuggestFaqAnswers.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/suggestfaqanswers/SyncSuggestFaqAnswers.java
index 4eb4a5c657d3..7ccbcced2d1f 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/suggestfaqanswers/SyncSuggestFaqAnswers.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/suggestfaqanswers/SyncSuggestFaqAnswers.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSuggestFaqAnswers() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       SuggestFaqAnswersRequest request =
           SuggestFaqAnswersRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/suggestfaqanswers/SyncSuggestFaqAnswersParticipantname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/suggestfaqanswers/SyncSuggestFaqAnswersParticipantname.java
index 3329abd75f94..8b0092cf3ac5 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/suggestfaqanswers/SyncSuggestFaqAnswersParticipantname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/suggestfaqanswers/SyncSuggestFaqAnswersParticipantname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSuggestFaqAnswersParticipantname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       ParticipantName parent =
           ParticipantName.ofProjectConversationParticipantName(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/suggestfaqanswers/SyncSuggestFaqAnswersString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/suggestfaqanswers/SyncSuggestFaqAnswersString.java
index a12dadfd07e0..894677920e15 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/suggestfaqanswers/SyncSuggestFaqAnswersString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/suggestfaqanswers/SyncSuggestFaqAnswersString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSuggestFaqAnswersString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       String parent =
           ParticipantName.ofProjectConversationParticipantName(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/suggestsmartreplies/AsyncSuggestSmartReplies.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/suggestsmartreplies/AsyncSuggestSmartReplies.java
index 16411849b74a..8b490f3af355 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/suggestsmartreplies/AsyncSuggestSmartReplies.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/suggestsmartreplies/AsyncSuggestSmartReplies.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncSuggestSmartReplies() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       SuggestSmartRepliesRequest request =
           SuggestSmartRepliesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/suggestsmartreplies/SyncSuggestSmartReplies.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/suggestsmartreplies/SyncSuggestSmartReplies.java
index b97f76b9ab7d..abc4876f7c35 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/suggestsmartreplies/SyncSuggestSmartReplies.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/suggestsmartreplies/SyncSuggestSmartReplies.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSuggestSmartReplies() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       SuggestSmartRepliesRequest request =
           SuggestSmartRepliesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/suggestsmartreplies/SyncSuggestSmartRepliesParticipantname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/suggestsmartreplies/SyncSuggestSmartRepliesParticipantname.java
index 5a66edce0b0b..76244c2bc775 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/suggestsmartreplies/SyncSuggestSmartRepliesParticipantname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/suggestsmartreplies/SyncSuggestSmartRepliesParticipantname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSuggestSmartRepliesParticipantname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       ParticipantName parent =
           ParticipantName.ofProjectConversationParticipantName(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/suggestsmartreplies/SyncSuggestSmartRepliesString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/suggestsmartreplies/SyncSuggestSmartRepliesString.java
index 819de3043399..743427bd9033 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/suggestsmartreplies/SyncSuggestSmartRepliesString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/suggestsmartreplies/SyncSuggestSmartRepliesString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSuggestSmartRepliesString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       String parent =
           ParticipantName.ofProjectConversationParticipantName(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/updateparticipant/AsyncUpdateParticipant.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/updateparticipant/AsyncUpdateParticipant.java
index 0cc40ce1cbca..0cc0c2dc6891 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/updateparticipant/AsyncUpdateParticipant.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/updateparticipant/AsyncUpdateParticipant.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateParticipant() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       UpdateParticipantRequest request =
           UpdateParticipantRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/updateparticipant/SyncUpdateParticipant.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/updateparticipant/SyncUpdateParticipant.java
index 10646ac09f1a..1ae24a237375 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/updateparticipant/SyncUpdateParticipant.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/updateparticipant/SyncUpdateParticipant.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateParticipant() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       UpdateParticipantRequest request =
           UpdateParticipantRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/updateparticipant/SyncUpdateParticipantParticipantFieldmask.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/updateparticipant/SyncUpdateParticipantParticipantFieldmask.java
index 3c0784da5c22..a9905bd91200 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/updateparticipant/SyncUpdateParticipantParticipantFieldmask.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantsclient/updateparticipant/SyncUpdateParticipantParticipantFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateParticipantParticipantFieldmask() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       Participant participant = Participant.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantssettings/createparticipant/SyncCreateParticipant.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantssettings/createparticipant/SyncCreateParticipant.java
index 79d38d8fb877..d0b86f1bb72e 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantssettings/createparticipant/SyncCreateParticipant.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/participantssettings/createparticipant/SyncCreateParticipant.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateParticipant() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     ParticipantsSettings.Builder participantsSettingsBuilder = ParticipantsSettings.newBuilder();
     participantsSettingsBuilder
         .createParticipantSettings()
         .setRetrySettings(
-            participantsSettingsBuilder
-                .createParticipantSettings()
-                .getRetrySettings()
-                .toBuilder()
+            participantsSettingsBuilder.createParticipantSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     ParticipantsSettings participantsSettings = participantsSettingsBuilder.build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/create/SyncCreateSetCredentialsProvider.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/create/SyncCreateSetCredentialsProvider.java
index 6b8dbc868349..418a4f71d782 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/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
     SessionEntityTypesSettings sessionEntityTypesSettings =
         SessionEntityTypesSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/create/SyncCreateSetCredentialsProvider1.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/create/SyncCreateSetCredentialsProvider1.java
index 1708b38fc832..ed75f49ca7cd 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/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
     SessionEntityTypesSettings sessionEntityTypesSettings =
         SessionEntityTypesSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/create/SyncCreateSetEndpoint.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/create/SyncCreateSetEndpoint.java
index f94826af340c..cfbe0ee0dbfc 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/create/SyncCreateSetEndpoint.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/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
     SessionEntityTypesSettings sessionEntityTypesSettings =
         SessionEntityTypesSettings.newBuilder().setEndpoint(myEndpoint).build();
     SessionEntityTypesClient sessionEntityTypesClient =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/createsessionentitytype/AsyncCreateSessionEntityType.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/createsessionentitytype/AsyncCreateSessionEntityType.java
index 11f6dcdb63dc..ef7c19791373 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/createsessionentitytype/AsyncCreateSessionEntityType.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/createsessionentitytype/AsyncCreateSessionEntityType.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateSessionEntityType() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
       CreateSessionEntityTypeRequest request =
           CreateSessionEntityTypeRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/createsessionentitytype/SyncCreateSessionEntityType.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/createsessionentitytype/SyncCreateSessionEntityType.java
index e801b96ba11a..4bd364027bdf 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/createsessionentitytype/SyncCreateSessionEntityType.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/createsessionentitytype/SyncCreateSessionEntityType.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSessionEntityType() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
       CreateSessionEntityTypeRequest request =
           CreateSessionEntityTypeRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/createsessionentitytype/SyncCreateSessionEntityTypeSessionnameSessionentitytype.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/createsessionentitytype/SyncCreateSessionEntityTypeSessionnameSessionentitytype.java
index 70635887ebe1..ad3ef37bd629 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/createsessionentitytype/SyncCreateSessionEntityTypeSessionnameSessionentitytype.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/createsessionentitytype/SyncCreateSessionEntityTypeSessionnameSessionentitytype.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSessionEntityTypeSessionnameSessionentitytype() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
       SessionName parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]");
       SessionEntityType sessionEntityType = SessionEntityType.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/createsessionentitytype/SyncCreateSessionEntityTypeStringSessionentitytype.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/createsessionentitytype/SyncCreateSessionEntityTypeStringSessionentitytype.java
index ad835172fb34..9124f64de770 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/createsessionentitytype/SyncCreateSessionEntityTypeStringSessionentitytype.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/createsessionentitytype/SyncCreateSessionEntityTypeStringSessionentitytype.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSessionEntityTypeStringSessionentitytype() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
       String parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]").toString();
       SessionEntityType sessionEntityType = SessionEntityType.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/deletesessionentitytype/AsyncDeleteSessionEntityType.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/deletesessionentitytype/AsyncDeleteSessionEntityType.java
index 051769fc8c6e..0788fa9682e7 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/deletesessionentitytype/AsyncDeleteSessionEntityType.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/deletesessionentitytype/AsyncDeleteSessionEntityType.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteSessionEntityType() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
       DeleteSessionEntityTypeRequest request =
           DeleteSessionEntityTypeRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/deletesessionentitytype/SyncDeleteSessionEntityType.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/deletesessionentitytype/SyncDeleteSessionEntityType.java
index 8f88c37c4a5f..0cbdf6ed02c8 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/deletesessionentitytype/SyncDeleteSessionEntityType.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/deletesessionentitytype/SyncDeleteSessionEntityType.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteSessionEntityType() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
       DeleteSessionEntityTypeRequest request =
           DeleteSessionEntityTypeRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/deletesessionentitytype/SyncDeleteSessionEntityTypeSessionentitytypename.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/deletesessionentitytype/SyncDeleteSessionEntityTypeSessionentitytypename.java
index f05424ad5d48..70773b26dc20 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/deletesessionentitytype/SyncDeleteSessionEntityTypeSessionentitytypename.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/deletesessionentitytype/SyncDeleteSessionEntityTypeSessionentitytypename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteSessionEntityTypeSessionentitytypename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
       SessionEntityTypeName name =
           SessionEntityTypeName.ofProjectSessionEntityTypeName(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/deletesessionentitytype/SyncDeleteSessionEntityTypeString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/deletesessionentitytype/SyncDeleteSessionEntityTypeString.java
index efcd0d9b5995..1c4cccee53e7 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/deletesessionentitytype/SyncDeleteSessionEntityTypeString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/deletesessionentitytype/SyncDeleteSessionEntityTypeString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteSessionEntityTypeString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
       String name =
           SessionEntityTypeName.ofProjectSessionEntityTypeName(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/getlocation/AsyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/getlocation/AsyncGetLocation.java
index 17d7aa6d8cfd..1354a18848fa 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/getlocation/AsyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/getlocation/AsyncGetLocation.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       ApiFuture future =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/getlocation/SyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/getlocation/SyncGetLocation.java
index 14d167ba6e90..5f96cc2a948e 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/getlocation/SyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/getlocation/SyncGetLocation.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       Location response = sessionEntityTypesClient.getLocation(request);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/getsessionentitytype/AsyncGetSessionEntityType.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/getsessionentitytype/AsyncGetSessionEntityType.java
index e2132d589218..93adab72c748 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/getsessionentitytype/AsyncGetSessionEntityType.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/getsessionentitytype/AsyncGetSessionEntityType.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetSessionEntityType() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
       GetSessionEntityTypeRequest request =
           GetSessionEntityTypeRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/getsessionentitytype/SyncGetSessionEntityType.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/getsessionentitytype/SyncGetSessionEntityType.java
index 5b7a01e044b9..856080dab186 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/getsessionentitytype/SyncGetSessionEntityType.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/getsessionentitytype/SyncGetSessionEntityType.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetSessionEntityType() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
       GetSessionEntityTypeRequest request =
           GetSessionEntityTypeRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/getsessionentitytype/SyncGetSessionEntityTypeSessionentitytypename.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/getsessionentitytype/SyncGetSessionEntityTypeSessionentitytypename.java
index ab57eeae44c5..551e5ef877e5 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/getsessionentitytype/SyncGetSessionEntityTypeSessionentitytypename.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/getsessionentitytype/SyncGetSessionEntityTypeSessionentitytypename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetSessionEntityTypeSessionentitytypename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
       SessionEntityTypeName name =
           SessionEntityTypeName.ofProjectSessionEntityTypeName(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/getsessionentitytype/SyncGetSessionEntityTypeString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/getsessionentitytype/SyncGetSessionEntityTypeString.java
index 053e25203f57..28eb292c2a82 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/getsessionentitytype/SyncGetSessionEntityTypeString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/getsessionentitytype/SyncGetSessionEntityTypeString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetSessionEntityTypeString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
       String name =
           SessionEntityTypeName.ofProjectSessionEntityTypeName(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/listlocations/AsyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/listlocations/AsyncListLocations.java
index eaf45752573a..ac62a0ea2b70 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/listlocations/AsyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/listlocations/AsyncListLocations.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/listlocations/AsyncListLocationsPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/listlocations/AsyncListLocationsPaged.java
index 1fe08ec70234..197dd30c2769 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/listlocations/AsyncListLocationsPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/listlocations/AsyncListLocationsPaged.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocationsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/listlocations/SyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/listlocations/SyncListLocations.java
index 766f238f9a3c..0613e32429fb 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/listlocations/SyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/listlocations/SyncListLocations.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/listsessionentitytypes/AsyncListSessionEntityTypes.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/listsessionentitytypes/AsyncListSessionEntityTypes.java
index f438e61c9476..d002aa0f9831 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/listsessionentitytypes/AsyncListSessionEntityTypes.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/listsessionentitytypes/AsyncListSessionEntityTypes.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListSessionEntityTypes() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
       ListSessionEntityTypesRequest request =
           ListSessionEntityTypesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/listsessionentitytypes/AsyncListSessionEntityTypesPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/listsessionentitytypes/AsyncListSessionEntityTypesPaged.java
index 58352b609526..0c81d699b1a7 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/listsessionentitytypes/AsyncListSessionEntityTypesPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/listsessionentitytypes/AsyncListSessionEntityTypesPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListSessionEntityTypesPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
       ListSessionEntityTypesRequest request =
           ListSessionEntityTypesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/listsessionentitytypes/SyncListSessionEntityTypes.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/listsessionentitytypes/SyncListSessionEntityTypes.java
index 9db9025e27c4..b49075b01380 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/listsessionentitytypes/SyncListSessionEntityTypes.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/listsessionentitytypes/SyncListSessionEntityTypes.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListSessionEntityTypes() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
       ListSessionEntityTypesRequest request =
           ListSessionEntityTypesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/listsessionentitytypes/SyncListSessionEntityTypesSessionname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/listsessionentitytypes/SyncListSessionEntityTypesSessionname.java
index 8c7c6dc0e85f..9349d75454c1 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/listsessionentitytypes/SyncListSessionEntityTypesSessionname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/listsessionentitytypes/SyncListSessionEntityTypesSessionname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListSessionEntityTypesSessionname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
       SessionName parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]");
       for (SessionEntityType element :
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/listsessionentitytypes/SyncListSessionEntityTypesString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/listsessionentitytypes/SyncListSessionEntityTypesString.java
index 86f83a34c978..cdd7a939d322 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/listsessionentitytypes/SyncListSessionEntityTypesString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/listsessionentitytypes/SyncListSessionEntityTypesString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListSessionEntityTypesString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
       String parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]").toString();
       for (SessionEntityType element :
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/updatesessionentitytype/AsyncUpdateSessionEntityType.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/updatesessionentitytype/AsyncUpdateSessionEntityType.java
index 9db1e250bc16..d3bfa374ac93 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/updatesessionentitytype/AsyncUpdateSessionEntityType.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/updatesessionentitytype/AsyncUpdateSessionEntityType.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateSessionEntityType() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
       UpdateSessionEntityTypeRequest request =
           UpdateSessionEntityTypeRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/updatesessionentitytype/SyncUpdateSessionEntityType.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/updatesessionentitytype/SyncUpdateSessionEntityType.java
index ad03eb9269eb..a43b2631a97a 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/updatesessionentitytype/SyncUpdateSessionEntityType.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/updatesessionentitytype/SyncUpdateSessionEntityType.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateSessionEntityType() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
       UpdateSessionEntityTypeRequest request =
           UpdateSessionEntityTypeRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/updatesessionentitytype/SyncUpdateSessionEntityTypeSessionentitytype.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/updatesessionentitytype/SyncUpdateSessionEntityTypeSessionentitytype.java
index 355301c0f006..7f584e2a8319 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/updatesessionentitytype/SyncUpdateSessionEntityTypeSessionentitytype.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/updatesessionentitytype/SyncUpdateSessionEntityTypeSessionentitytype.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateSessionEntityTypeSessionentitytype() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
       SessionEntityType sessionEntityType = SessionEntityType.newBuilder().build();
       SessionEntityType response =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/updatesessionentitytype/SyncUpdateSessionEntityTypeSessionentitytypeFieldmask.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/updatesessionentitytype/SyncUpdateSessionEntityTypeSessionentitytypeFieldmask.java
index 90a4f7e35bff..c57f9e92c96f 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/updatesessionentitytype/SyncUpdateSessionEntityTypeSessionentitytypeFieldmask.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypesclient/updatesessionentitytype/SyncUpdateSessionEntityTypeSessionentitytypeFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateSessionEntityTypeSessionentitytypeFieldmask() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
       SessionEntityType sessionEntityType = SessionEntityType.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypessettings/getsessionentitytype/SyncGetSessionEntityType.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypessettings/getsessionentitytype/SyncGetSessionEntityType.java
index 0b5f0c4034b0..d38ea55a01a4 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypessettings/getsessionentitytype/SyncGetSessionEntityType.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionentitytypessettings/getsessionentitytype/SyncGetSessionEntityType.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetSessionEntityType() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     SessionEntityTypesSettings.Builder sessionEntityTypesSettingsBuilder =
         SessionEntityTypesSettings.newBuilder();
     sessionEntityTypesSettingsBuilder
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionsclient/create/SyncCreateSetCredentialsProvider.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionsclient/create/SyncCreateSetCredentialsProvider.java
index 1f906fdf2a9a..2be5dcd0dc12 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionsclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionsclient/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
     SessionsSettings sessionsSettings =
         SessionsSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionsclient/create/SyncCreateSetCredentialsProvider1.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionsclient/create/SyncCreateSetCredentialsProvider1.java
index 38aae9ef7bd6..5ca2e0e61add 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionsclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionsclient/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
     SessionsSettings sessionsSettings =
         SessionsSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionsclient/create/SyncCreateSetEndpoint.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionsclient/create/SyncCreateSetEndpoint.java
index 44a7beb10974..5281e0b8b4c5 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionsclient/create/SyncCreateSetEndpoint.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionsclient/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
     SessionsSettings sessionsSettings =
         SessionsSettings.newBuilder().setEndpoint(myEndpoint).build();
     SessionsClient sessionsClient = SessionsClient.create(sessionsSettings);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionsclient/detectintent/AsyncDetectIntent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionsclient/detectintent/AsyncDetectIntent.java
index f752c9cce56a..26a940a07661 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionsclient/detectintent/AsyncDetectIntent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionsclient/detectintent/AsyncDetectIntent.java
@@ -35,8 +35,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDetectIntent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionsClient sessionsClient = SessionsClient.create()) {
       DetectIntentRequest request =
           DetectIntentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionsclient/detectintent/SyncDetectIntent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionsclient/detectintent/SyncDetectIntent.java
index cd4c4368bae8..2654665e2cda 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionsclient/detectintent/SyncDetectIntent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionsclient/detectintent/SyncDetectIntent.java
@@ -34,8 +34,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDetectIntent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionsClient sessionsClient = SessionsClient.create()) {
       DetectIntentRequest request =
           DetectIntentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionsclient/detectintent/SyncDetectIntentSessionnameQueryinput.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionsclient/detectintent/SyncDetectIntentSessionnameQueryinput.java
index c8044dfa1fa0..5c37924bfe63 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionsclient/detectintent/SyncDetectIntentSessionnameQueryinput.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionsclient/detectintent/SyncDetectIntentSessionnameQueryinput.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDetectIntentSessionnameQueryinput() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionsClient sessionsClient = SessionsClient.create()) {
       SessionName session = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]");
       QueryInput queryInput = QueryInput.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionsclient/detectintent/SyncDetectIntentStringQueryinput.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionsclient/detectintent/SyncDetectIntentStringQueryinput.java
index bd6a14bc3002..42e149aa5766 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionsclient/detectintent/SyncDetectIntentStringQueryinput.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionsclient/detectintent/SyncDetectIntentStringQueryinput.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDetectIntentStringQueryinput() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionsClient sessionsClient = SessionsClient.create()) {
       String session = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]").toString();
       QueryInput queryInput = QueryInput.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionsclient/getlocation/AsyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionsclient/getlocation/AsyncGetLocation.java
index 10548a56f2af..364b37a5e282 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionsclient/getlocation/AsyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionsclient/getlocation/AsyncGetLocation.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionsClient sessionsClient = SessionsClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       ApiFuture future = sessionsClient.getLocationCallable().futureCall(request);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionsclient/getlocation/SyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionsclient/getlocation/SyncGetLocation.java
index 8d5332cbb54d..bc2ffd9ca0a4 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionsclient/getlocation/SyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionsclient/getlocation/SyncGetLocation.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionsClient sessionsClient = SessionsClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       Location response = sessionsClient.getLocation(request);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionsclient/listlocations/AsyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionsclient/listlocations/AsyncListLocations.java
index ecac25f8bca2..e0adbc09d46d 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionsclient/listlocations/AsyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionsclient/listlocations/AsyncListLocations.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionsClient sessionsClient = SessionsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionsclient/listlocations/AsyncListLocationsPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionsclient/listlocations/AsyncListLocationsPaged.java
index 6310e5320b4a..1fdf72cfdec2 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionsclient/listlocations/AsyncListLocationsPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionsclient/listlocations/AsyncListLocationsPaged.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocationsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionsClient sessionsClient = SessionsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionsclient/listlocations/SyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionsclient/listlocations/SyncListLocations.java
index 1486328e5099..ccaaf192009d 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionsclient/listlocations/SyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionsclient/listlocations/SyncListLocations.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionsClient sessionsClient = SessionsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionsclient/streamingdetectintent/AsyncStreamingDetectIntent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionsclient/streamingdetectintent/AsyncStreamingDetectIntent.java
index e807295ce4ee..f4776edef348 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionsclient/streamingdetectintent/AsyncStreamingDetectIntent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionsclient/streamingdetectintent/AsyncStreamingDetectIntent.java
@@ -35,8 +35,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncStreamingDetectIntent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionsClient sessionsClient = SessionsClient.create()) {
       BidiStream bidiStream =
           sessionsClient.streamingDetectIntentCallable().call();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionssettings/detectintent/SyncDetectIntent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionssettings/detectintent/SyncDetectIntent.java
index f1ad732acc81..d30766838495 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionssettings/detectintent/SyncDetectIntent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/sessionssettings/detectintent/SyncDetectIntent.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDetectIntent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     SessionsSettings.Builder sessionsSettingsBuilder = SessionsSettings.newBuilder();
     sessionsSettingsBuilder
         .detectIntentSettings()
         .setRetrySettings(
-            sessionsSettingsBuilder
-                .detectIntentSettings()
-                .getRetrySettings()
-                .toBuilder()
+            sessionsSettingsBuilder.detectIntentSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     SessionsSettings sessionsSettings = sessionsSettingsBuilder.build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/agentsstubsettings/getagent/SyncGetAgent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/agentsstubsettings/getagent/SyncGetAgent.java
index aa208a9806fa..e0c64f2226c7 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/agentsstubsettings/getagent/SyncGetAgent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/agentsstubsettings/getagent/SyncGetAgent.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetAgent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     AgentsStubSettings.Builder agentsSettingsBuilder = AgentsStubSettings.newBuilder();
     agentsSettingsBuilder
         .getAgentSettings()
         .setRetrySettings(
-            agentsSettingsBuilder
-                .getAgentSettings()
-                .getRetrySettings()
-                .toBuilder()
+            agentsSettingsBuilder.getAgentSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     AgentsStubSettings agentsSettings = agentsSettingsBuilder.build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/answerrecordsstubsettings/updateanswerrecord/SyncUpdateAnswerRecord.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/answerrecordsstubsettings/updateanswerrecord/SyncUpdateAnswerRecord.java
index b633221a1ad6..817de62102df 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/answerrecordsstubsettings/updateanswerrecord/SyncUpdateAnswerRecord.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/answerrecordsstubsettings/updateanswerrecord/SyncUpdateAnswerRecord.java
@@ -27,17 +27,17 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateAnswerRecord() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     AnswerRecordsStubSettings.Builder answerRecordsSettingsBuilder =
         AnswerRecordsStubSettings.newBuilder();
     answerRecordsSettingsBuilder
         .updateAnswerRecordSettings()
         .setRetrySettings(
-            answerRecordsSettingsBuilder
-                .updateAnswerRecordSettings()
-                .getRetrySettings()
-                .toBuilder()
+            answerRecordsSettingsBuilder.updateAnswerRecordSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     AnswerRecordsStubSettings answerRecordsSettings = answerRecordsSettingsBuilder.build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/contextsstubsettings/getcontext/SyncGetContext.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/contextsstubsettings/getcontext/SyncGetContext.java
index 04aa80761376..8140ae78afb0 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/contextsstubsettings/getcontext/SyncGetContext.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/contextsstubsettings/getcontext/SyncGetContext.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetContext() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     ContextsStubSettings.Builder contextsSettingsBuilder = ContextsStubSettings.newBuilder();
     contextsSettingsBuilder
         .getContextSettings()
         .setRetrySettings(
-            contextsSettingsBuilder
-                .getContextSettings()
-                .getRetrySettings()
-                .toBuilder()
+            contextsSettingsBuilder.getContextSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     ContextsStubSettings contextsSettings = contextsSettingsBuilder.build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/conversationdatasetsstubsettings/getconversationdataset/SyncGetConversationDataset.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/conversationdatasetsstubsettings/getconversationdataset/SyncGetConversationDataset.java
index e4a8924b6357..d9f103da27da 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/conversationdatasetsstubsettings/getconversationdataset/SyncGetConversationDataset.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/conversationdatasetsstubsettings/getconversationdataset/SyncGetConversationDataset.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetConversationDataset() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     ConversationDatasetsStubSettings.Builder conversationDatasetsSettingsBuilder =
         ConversationDatasetsStubSettings.newBuilder();
     conversationDatasetsSettingsBuilder
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/conversationmodelsstubsettings/getconversationmodel/SyncGetConversationModel.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/conversationmodelsstubsettings/getconversationmodel/SyncGetConversationModel.java
index ae3e1b150ca5..6ccfc3bd0fea 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/conversationmodelsstubsettings/getconversationmodel/SyncGetConversationModel.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/conversationmodelsstubsettings/getconversationmodel/SyncGetConversationModel.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetConversationModel() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     ConversationModelsStubSettings.Builder conversationModelsSettingsBuilder =
         ConversationModelsStubSettings.newBuilder();
     conversationModelsSettingsBuilder
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/conversationprofilesstubsettings/getconversationprofile/SyncGetConversationProfile.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/conversationprofilesstubsettings/getconversationprofile/SyncGetConversationProfile.java
index 2eb32809a19d..6a3f6be23c97 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/conversationprofilesstubsettings/getconversationprofile/SyncGetConversationProfile.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/conversationprofilesstubsettings/getconversationprofile/SyncGetConversationProfile.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetConversationProfile() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     ConversationProfilesStubSettings.Builder conversationProfilesSettingsBuilder =
         ConversationProfilesStubSettings.newBuilder();
     conversationProfilesSettingsBuilder
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/conversationsstubsettings/createconversation/SyncCreateConversation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/conversationsstubsettings/createconversation/SyncCreateConversation.java
index a4c3540bb036..51e7c04f5cce 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/conversationsstubsettings/createconversation/SyncCreateConversation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/conversationsstubsettings/createconversation/SyncCreateConversation.java
@@ -27,17 +27,17 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateConversation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     ConversationsStubSettings.Builder conversationsSettingsBuilder =
         ConversationsStubSettings.newBuilder();
     conversationsSettingsBuilder
         .createConversationSettings()
         .setRetrySettings(
-            conversationsSettingsBuilder
-                .createConversationSettings()
-                .getRetrySettings()
-                .toBuilder()
+            conversationsSettingsBuilder.createConversationSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     ConversationsStubSettings conversationsSettings = conversationsSettingsBuilder.build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/documentsstubsettings/getdocument/SyncGetDocument.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/documentsstubsettings/getdocument/SyncGetDocument.java
index cee7a16cf36e..4c8c7a0eabf3 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/documentsstubsettings/getdocument/SyncGetDocument.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/documentsstubsettings/getdocument/SyncGetDocument.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetDocument() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     DocumentsStubSettings.Builder documentsSettingsBuilder = DocumentsStubSettings.newBuilder();
     documentsSettingsBuilder
         .getDocumentSettings()
         .setRetrySettings(
-            documentsSettingsBuilder
-                .getDocumentSettings()
-                .getRetrySettings()
-                .toBuilder()
+            documentsSettingsBuilder.getDocumentSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     DocumentsStubSettings documentsSettings = documentsSettingsBuilder.build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/entitytypesstubsettings/getentitytype/SyncGetEntityType.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/entitytypesstubsettings/getentitytype/SyncGetEntityType.java
index 5b0617ed3dc9..d9d1df054963 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/entitytypesstubsettings/getentitytype/SyncGetEntityType.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/entitytypesstubsettings/getentitytype/SyncGetEntityType.java
@@ -27,17 +27,17 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetEntityType() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     EntityTypesStubSettings.Builder entityTypesSettingsBuilder =
         EntityTypesStubSettings.newBuilder();
     entityTypesSettingsBuilder
         .getEntityTypeSettings()
         .setRetrySettings(
-            entityTypesSettingsBuilder
-                .getEntityTypeSettings()
-                .getRetrySettings()
-                .toBuilder()
+            entityTypesSettingsBuilder.getEntityTypeSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     EntityTypesStubSettings entityTypesSettings = entityTypesSettingsBuilder.build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/environmentsstubsettings/getenvironment/SyncGetEnvironment.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/environmentsstubsettings/getenvironment/SyncGetEnvironment.java
index aad4ce6515b3..7d82f7fcd81f 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/environmentsstubsettings/getenvironment/SyncGetEnvironment.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/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-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/fulfillmentsstubsettings/getfulfillment/SyncGetFulfillment.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/fulfillmentsstubsettings/getfulfillment/SyncGetFulfillment.java
index ad00d92426f8..876b7fb15e9f 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/fulfillmentsstubsettings/getfulfillment/SyncGetFulfillment.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/fulfillmentsstubsettings/getfulfillment/SyncGetFulfillment.java
@@ -27,17 +27,17 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetFulfillment() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     FulfillmentsStubSettings.Builder fulfillmentsSettingsBuilder =
         FulfillmentsStubSettings.newBuilder();
     fulfillmentsSettingsBuilder
         .getFulfillmentSettings()
         .setRetrySettings(
-            fulfillmentsSettingsBuilder
-                .getFulfillmentSettings()
-                .getRetrySettings()
-                .toBuilder()
+            fulfillmentsSettingsBuilder.getFulfillmentSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     FulfillmentsStubSettings fulfillmentsSettings = fulfillmentsSettingsBuilder.build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/intentsstubsettings/getintent/SyncGetIntent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/intentsstubsettings/getintent/SyncGetIntent.java
index 123fb69b4d1a..06a40eda107c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/intentsstubsettings/getintent/SyncGetIntent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/intentsstubsettings/getintent/SyncGetIntent.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetIntent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     IntentsStubSettings.Builder intentsSettingsBuilder = IntentsStubSettings.newBuilder();
     intentsSettingsBuilder
         .getIntentSettings()
         .setRetrySettings(
-            intentsSettingsBuilder
-                .getIntentSettings()
-                .getRetrySettings()
-                .toBuilder()
+            intentsSettingsBuilder.getIntentSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     IntentsStubSettings intentsSettings = intentsSettingsBuilder.build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/knowledgebasesstubsettings/getknowledgebase/SyncGetKnowledgeBase.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/knowledgebasesstubsettings/getknowledgebase/SyncGetKnowledgeBase.java
index a2f0a36a16a6..5e7385c74609 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/knowledgebasesstubsettings/getknowledgebase/SyncGetKnowledgeBase.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/knowledgebasesstubsettings/getknowledgebase/SyncGetKnowledgeBase.java
@@ -27,17 +27,17 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetKnowledgeBase() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     KnowledgeBasesStubSettings.Builder knowledgeBasesSettingsBuilder =
         KnowledgeBasesStubSettings.newBuilder();
     knowledgeBasesSettingsBuilder
         .getKnowledgeBaseSettings()
         .setRetrySettings(
-            knowledgeBasesSettingsBuilder
-                .getKnowledgeBaseSettings()
-                .getRetrySettings()
-                .toBuilder()
+            knowledgeBasesSettingsBuilder.getKnowledgeBaseSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     KnowledgeBasesStubSettings knowledgeBasesSettings = knowledgeBasesSettingsBuilder.build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/participantsstubsettings/createparticipant/SyncCreateParticipant.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/participantsstubsettings/createparticipant/SyncCreateParticipant.java
index cc31092b03de..b0dcba9d72ce 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/participantsstubsettings/createparticipant/SyncCreateParticipant.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/participantsstubsettings/createparticipant/SyncCreateParticipant.java
@@ -27,17 +27,17 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateParticipant() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     ParticipantsStubSettings.Builder participantsSettingsBuilder =
         ParticipantsStubSettings.newBuilder();
     participantsSettingsBuilder
         .createParticipantSettings()
         .setRetrySettings(
-            participantsSettingsBuilder
-                .createParticipantSettings()
-                .getRetrySettings()
-                .toBuilder()
+            participantsSettingsBuilder.createParticipantSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     ParticipantsStubSettings participantsSettings = participantsSettingsBuilder.build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/sessionentitytypesstubsettings/getsessionentitytype/SyncGetSessionEntityType.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/sessionentitytypesstubsettings/getsessionentitytype/SyncGetSessionEntityType.java
index cd6f112fe144..fb9a376f7f58 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/sessionentitytypesstubsettings/getsessionentitytype/SyncGetSessionEntityType.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/sessionentitytypesstubsettings/getsessionentitytype/SyncGetSessionEntityType.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetSessionEntityType() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     SessionEntityTypesStubSettings.Builder sessionEntityTypesSettingsBuilder =
         SessionEntityTypesStubSettings.newBuilder();
     sessionEntityTypesSettingsBuilder
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/sessionsstubsettings/detectintent/SyncDetectIntent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/sessionsstubsettings/detectintent/SyncDetectIntent.java
index 54a0dc5401d7..877f6d10cc4c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/sessionsstubsettings/detectintent/SyncDetectIntent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/sessionsstubsettings/detectintent/SyncDetectIntent.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDetectIntent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     SessionsStubSettings.Builder sessionsSettingsBuilder = SessionsStubSettings.newBuilder();
     sessionsSettingsBuilder
         .detectIntentSettings()
         .setRetrySettings(
-            sessionsSettingsBuilder
-                .detectIntentSettings()
-                .getRetrySettings()
-                .toBuilder()
+            sessionsSettingsBuilder.detectIntentSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     SessionsStubSettings sessionsSettings = sessionsSettingsBuilder.build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/versionsstubsettings/getversion/SyncGetVersion.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/versionsstubsettings/getversion/SyncGetVersion.java
index a43f2881530c..7c1f7b2d3682 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/versionsstubsettings/getversion/SyncGetVersion.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/stub/versionsstubsettings/getversion/SyncGetVersion.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetVersion() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     VersionsStubSettings.Builder versionsSettingsBuilder = VersionsStubSettings.newBuilder();
     versionsSettingsBuilder
         .getVersionSettings()
         .setRetrySettings(
-            versionsSettingsBuilder
-                .getVersionSettings()
-                .getRetrySettings()
-                .toBuilder()
+            versionsSettingsBuilder.getVersionSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     VersionsStubSettings versionsSettings = versionsSettingsBuilder.build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/create/SyncCreateSetCredentialsProvider.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/create/SyncCreateSetCredentialsProvider.java
index 8d0364390ac0..7bb6f533e3d8 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/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
     VersionsSettings versionsSettings =
         VersionsSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/create/SyncCreateSetCredentialsProvider1.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/create/SyncCreateSetCredentialsProvider1.java
index 9749eb6f5c80..6bdb3645a4a4 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/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
     VersionsSettings versionsSettings =
         VersionsSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/create/SyncCreateSetEndpoint.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/create/SyncCreateSetEndpoint.java
index ffd0036a0aa1..29380fef27cc 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/create/SyncCreateSetEndpoint.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/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
     VersionsSettings versionsSettings =
         VersionsSettings.newBuilder().setEndpoint(myEndpoint).build();
     VersionsClient versionsClient = VersionsClient.create(versionsSettings);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/createversion/AsyncCreateVersion.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/createversion/AsyncCreateVersion.java
index 7f44a1f31c8a..aac20454a14a 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/createversion/AsyncCreateVersion.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/createversion/AsyncCreateVersion.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateVersion() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (VersionsClient versionsClient = VersionsClient.create()) {
       CreateVersionRequest request =
           CreateVersionRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/createversion/SyncCreateVersion.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/createversion/SyncCreateVersion.java
index a98ca1d07eae..c3c68366fdb0 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/createversion/SyncCreateVersion.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/createversion/SyncCreateVersion.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateVersion() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (VersionsClient versionsClient = VersionsClient.create()) {
       CreateVersionRequest request =
           CreateVersionRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/createversion/SyncCreateVersionAgentnameVersion.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/createversion/SyncCreateVersionAgentnameVersion.java
index 962b1d14059f..c003b3806e43 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/createversion/SyncCreateVersionAgentnameVersion.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/createversion/SyncCreateVersionAgentnameVersion.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateVersionAgentnameVersion() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (VersionsClient versionsClient = VersionsClient.create()) {
       AgentName parent = AgentName.ofProjectName("[PROJECT]");
       Version version = Version.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/createversion/SyncCreateVersionStringVersion.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/createversion/SyncCreateVersionStringVersion.java
index 702d50e07d2d..b808ecc34085 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/createversion/SyncCreateVersionStringVersion.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/createversion/SyncCreateVersionStringVersion.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateVersionStringVersion() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (VersionsClient versionsClient = VersionsClient.create()) {
       String parent = AgentName.ofProjectName("[PROJECT]").toString();
       Version version = Version.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/deleteversion/AsyncDeleteVersion.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/deleteversion/AsyncDeleteVersion.java
index 712782967876..97cf2b263a00 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/deleteversion/AsyncDeleteVersion.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/deleteversion/AsyncDeleteVersion.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteVersion() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (VersionsClient versionsClient = VersionsClient.create()) {
       DeleteVersionRequest request =
           DeleteVersionRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/deleteversion/SyncDeleteVersion.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/deleteversion/SyncDeleteVersion.java
index 93101dba82c5..976530af636b 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/deleteversion/SyncDeleteVersion.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/deleteversion/SyncDeleteVersion.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteVersion() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (VersionsClient versionsClient = VersionsClient.create()) {
       DeleteVersionRequest request =
           DeleteVersionRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/deleteversion/SyncDeleteVersionString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/deleteversion/SyncDeleteVersionString.java
index 2201138acaa6..c5824c87ae2f 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/deleteversion/SyncDeleteVersionString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/deleteversion/SyncDeleteVersionString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteVersionString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (VersionsClient versionsClient = VersionsClient.create()) {
       String name = VersionName.ofProjectVersionName("[PROJECT]", "[VERSION]").toString();
       versionsClient.deleteVersion(name);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/deleteversion/SyncDeleteVersionVersionname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/deleteversion/SyncDeleteVersionVersionname.java
index e64a61dbbe28..97e5dfc698f3 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/deleteversion/SyncDeleteVersionVersionname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/deleteversion/SyncDeleteVersionVersionname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteVersionVersionname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (VersionsClient versionsClient = VersionsClient.create()) {
       VersionName name = VersionName.ofProjectVersionName("[PROJECT]", "[VERSION]");
       versionsClient.deleteVersion(name);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/getlocation/AsyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/getlocation/AsyncGetLocation.java
index a68671b466ef..ba3417452219 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/getlocation/AsyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/getlocation/AsyncGetLocation.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (VersionsClient versionsClient = VersionsClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       ApiFuture future = versionsClient.getLocationCallable().futureCall(request);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/getlocation/SyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/getlocation/SyncGetLocation.java
index abd521dc3a28..4215333b2258 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/getlocation/SyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/getlocation/SyncGetLocation.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (VersionsClient versionsClient = VersionsClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       Location response = versionsClient.getLocation(request);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/getversion/AsyncGetVersion.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/getversion/AsyncGetVersion.java
index 41219572b533..7b438852e3cb 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/getversion/AsyncGetVersion.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/getversion/AsyncGetVersion.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetVersion() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (VersionsClient versionsClient = VersionsClient.create()) {
       GetVersionRequest request =
           GetVersionRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/getversion/SyncGetVersion.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/getversion/SyncGetVersion.java
index 54c700c8237e..2decabbca4cd 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/getversion/SyncGetVersion.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/getversion/SyncGetVersion.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetVersion() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (VersionsClient versionsClient = VersionsClient.create()) {
       GetVersionRequest request =
           GetVersionRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/getversion/SyncGetVersionString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/getversion/SyncGetVersionString.java
index 6872911d7827..22374541e5cb 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/getversion/SyncGetVersionString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/getversion/SyncGetVersionString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetVersionString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (VersionsClient versionsClient = VersionsClient.create()) {
       String name = VersionName.ofProjectVersionName("[PROJECT]", "[VERSION]").toString();
       Version response = versionsClient.getVersion(name);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/getversion/SyncGetVersionVersionname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/getversion/SyncGetVersionVersionname.java
index 69f5697e8915..41c81789ce5f 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/getversion/SyncGetVersionVersionname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/getversion/SyncGetVersionVersionname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetVersionVersionname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (VersionsClient versionsClient = VersionsClient.create()) {
       VersionName name = VersionName.ofProjectVersionName("[PROJECT]", "[VERSION]");
       Version response = versionsClient.getVersion(name);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/listlocations/AsyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/listlocations/AsyncListLocations.java
index eacea78070fc..750da81f4579 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/listlocations/AsyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/listlocations/AsyncListLocations.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (VersionsClient versionsClient = VersionsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/listlocations/AsyncListLocationsPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/listlocations/AsyncListLocationsPaged.java
index 7ea5c57adc33..2a0246de5fd0 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/listlocations/AsyncListLocationsPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/listlocations/AsyncListLocationsPaged.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocationsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (VersionsClient versionsClient = VersionsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/listlocations/SyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/listlocations/SyncListLocations.java
index 5d617cb367e5..17b1aa5ed214 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/listlocations/SyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/listlocations/SyncListLocations.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (VersionsClient versionsClient = VersionsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/listversions/AsyncListVersions.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/listversions/AsyncListVersions.java
index 077772b023f6..91ae207f3b18 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/listversions/AsyncListVersions.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/listversions/AsyncListVersions.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListVersions() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (VersionsClient versionsClient = VersionsClient.create()) {
       ListVersionsRequest request =
           ListVersionsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/listversions/AsyncListVersionsPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/listversions/AsyncListVersionsPaged.java
index 7d4fac4c8268..5694b422177b 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/listversions/AsyncListVersionsPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/listversions/AsyncListVersionsPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListVersionsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (VersionsClient versionsClient = VersionsClient.create()) {
       ListVersionsRequest request =
           ListVersionsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/listversions/SyncListVersions.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/listversions/SyncListVersions.java
index 1d660ea97484..9cc57074da4e 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/listversions/SyncListVersions.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/listversions/SyncListVersions.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListVersions() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (VersionsClient versionsClient = VersionsClient.create()) {
       ListVersionsRequest request =
           ListVersionsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/listversions/SyncListVersionsAgentname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/listversions/SyncListVersionsAgentname.java
index a83aea6fcc78..315da4e74eb1 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/listversions/SyncListVersionsAgentname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/listversions/SyncListVersionsAgentname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListVersionsAgentname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (VersionsClient versionsClient = VersionsClient.create()) {
       AgentName parent = AgentName.ofProjectName("[PROJECT]");
       for (Version element : versionsClient.listVersions(parent).iterateAll()) {
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/listversions/SyncListVersionsString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/listversions/SyncListVersionsString.java
index 5732655fc014..ac98d8b9b6f2 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/listversions/SyncListVersionsString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/listversions/SyncListVersionsString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListVersionsString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (VersionsClient versionsClient = VersionsClient.create()) {
       String parent = AgentName.ofProjectName("[PROJECT]").toString();
       for (Version element : versionsClient.listVersions(parent).iterateAll()) {
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/updateversion/AsyncUpdateVersion.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/updateversion/AsyncUpdateVersion.java
index 3ca79a402a1d..511e4b539327 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/updateversion/AsyncUpdateVersion.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/updateversion/AsyncUpdateVersion.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateVersion() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (VersionsClient versionsClient = VersionsClient.create()) {
       UpdateVersionRequest request =
           UpdateVersionRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/updateversion/SyncUpdateVersion.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/updateversion/SyncUpdateVersion.java
index 43a4b33e814a..2d8e162fa7a5 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/updateversion/SyncUpdateVersion.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/updateversion/SyncUpdateVersion.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateVersion() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (VersionsClient versionsClient = VersionsClient.create()) {
       UpdateVersionRequest request =
           UpdateVersionRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/updateversion/SyncUpdateVersionVersionFieldmask.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/updateversion/SyncUpdateVersionVersionFieldmask.java
index f459525a687f..2dd6afbd9ccf 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/updateversion/SyncUpdateVersionVersionFieldmask.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionsclient/updateversion/SyncUpdateVersionVersionFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateVersionVersionFieldmask() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (VersionsClient versionsClient = VersionsClient.create()) {
       Version version = Version.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionssettings/getversion/SyncGetVersion.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionssettings/getversion/SyncGetVersion.java
index 8c8f01d3229c..c927718e0eea 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionssettings/getversion/SyncGetVersion.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2/versionssettings/getversion/SyncGetVersion.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetVersion() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     VersionsSettings.Builder versionsSettingsBuilder = VersionsSettings.newBuilder();
     versionsSettingsBuilder
         .getVersionSettings()
         .setRetrySettings(
-            versionsSettingsBuilder
-                .getVersionSettings()
-                .getRetrySettings()
-                .toBuilder()
+            versionsSettingsBuilder.getVersionSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     VersionsSettings versionsSettings = versionsSettingsBuilder.build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/create/SyncCreateSetCredentialsProvider.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/create/SyncCreateSetCredentialsProvider.java
index 051175d26f1e..3d7a9fc344db 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/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
     AgentsSettings agentsSettings =
         AgentsSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/create/SyncCreateSetCredentialsProvider1.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/create/SyncCreateSetCredentialsProvider1.java
index 7c53b15356b9..ee47e3b6679c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/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
     AgentsSettings agentsSettings =
         AgentsSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/create/SyncCreateSetEndpoint.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/create/SyncCreateSetEndpoint.java
index 070133e9be3e..ebd702e0083b 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/create/SyncCreateSetEndpoint.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/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
     AgentsSettings agentsSettings = AgentsSettings.newBuilder().setEndpoint(myEndpoint).build();
     AgentsClient agentsClient = AgentsClient.create(agentsSettings);
   }
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/deleteagent/AsyncDeleteAgent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/deleteagent/AsyncDeleteAgent.java
index 46b738b0f03a..67ddc1e37853 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/deleteagent/AsyncDeleteAgent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/deleteagent/AsyncDeleteAgent.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteAgent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       DeleteAgentRequest request =
           DeleteAgentRequest.newBuilder().setParent(ProjectName.of("[PROJECT]").toString()).build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/deleteagent/SyncDeleteAgent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/deleteagent/SyncDeleteAgent.java
index 0a68b9353720..8e6c83ce5273 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/deleteagent/SyncDeleteAgent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/deleteagent/SyncDeleteAgent.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteAgent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       DeleteAgentRequest request =
           DeleteAgentRequest.newBuilder().setParent(ProjectName.of("[PROJECT]").toString()).build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/deleteagent/SyncDeleteAgentLocationname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/deleteagent/SyncDeleteAgentLocationname.java
index ea2917ad47a9..d5eed6f163bb 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/deleteagent/SyncDeleteAgentLocationname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/deleteagent/SyncDeleteAgentLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteAgentLocationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       agentsClient.deleteAgent(parent);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/deleteagent/SyncDeleteAgentProjectname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/deleteagent/SyncDeleteAgentProjectname.java
index 85f9567d1882..3222d2878ce6 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/deleteagent/SyncDeleteAgentProjectname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/deleteagent/SyncDeleteAgentProjectname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteAgentProjectname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       ProjectName parent = ProjectName.of("[PROJECT]");
       agentsClient.deleteAgent(parent);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/deleteagent/SyncDeleteAgentString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/deleteagent/SyncDeleteAgentString.java
index 53d6cf1dede6..f1fc45abc902 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/deleteagent/SyncDeleteAgentString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/deleteagent/SyncDeleteAgentString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteAgentString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       String parent = ProjectName.of("[PROJECT]").toString();
       agentsClient.deleteAgent(parent);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/exportagent/AsyncExportAgent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/exportagent/AsyncExportAgent.java
index 0b3cb9b35876..a05fabd1c272 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/exportagent/AsyncExportAgent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/exportagent/AsyncExportAgent.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncExportAgent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       ExportAgentRequest request =
           ExportAgentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/exportagent/AsyncExportAgentLRO.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/exportagent/AsyncExportAgentLRO.java
index f54ea3b5044b..a48a6b77ea18 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/exportagent/AsyncExportAgentLRO.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/exportagent/AsyncExportAgentLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncExportAgentLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       ExportAgentRequest request =
           ExportAgentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/exportagent/SyncExportAgent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/exportagent/SyncExportAgent.java
index 4bb5ce8c13ab..3bd9cb9d78d7 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/exportagent/SyncExportAgent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/exportagent/SyncExportAgent.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncExportAgent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       ExportAgentRequest request =
           ExportAgentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/exportagent/SyncExportAgentLocationname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/exportagent/SyncExportAgentLocationname.java
index af6f1853f988..e028f98133a1 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/exportagent/SyncExportAgentLocationname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/exportagent/SyncExportAgentLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncExportAgentLocationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       ExportAgentResponse response = agentsClient.exportAgentAsync(parent).get();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/exportagent/SyncExportAgentProjectname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/exportagent/SyncExportAgentProjectname.java
index e357a0677ac9..b4dcd590a205 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/exportagent/SyncExportAgentProjectname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/exportagent/SyncExportAgentProjectname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncExportAgentProjectname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       ProjectName parent = ProjectName.of("[PROJECT]");
       ExportAgentResponse response = agentsClient.exportAgentAsync(parent).get();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/exportagent/SyncExportAgentString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/exportagent/SyncExportAgentString.java
index 5b6992afdfa5..7261c3ba7830 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/exportagent/SyncExportAgentString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/exportagent/SyncExportAgentString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncExportAgentString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       String parent = ProjectName.of("[PROJECT]").toString();
       ExportAgentResponse response = agentsClient.exportAgentAsync(parent).get();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/getagent/AsyncGetAgent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/getagent/AsyncGetAgent.java
index cebf8ddf27ab..d8ef2e6b3c4c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/getagent/AsyncGetAgent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/getagent/AsyncGetAgent.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetAgent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       GetAgentRequest request =
           GetAgentRequest.newBuilder().setParent(ProjectName.of("[PROJECT]").toString()).build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/getagent/SyncGetAgent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/getagent/SyncGetAgent.java
index 27081d957fa9..3077cfb4ec9a 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/getagent/SyncGetAgent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/getagent/SyncGetAgent.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetAgent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       GetAgentRequest request =
           GetAgentRequest.newBuilder().setParent(ProjectName.of("[PROJECT]").toString()).build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/getagent/SyncGetAgentLocationname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/getagent/SyncGetAgentLocationname.java
index 7d9668dace33..919d89b866b5 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/getagent/SyncGetAgentLocationname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/getagent/SyncGetAgentLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetAgentLocationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       Agent response = agentsClient.getAgent(parent);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/getagent/SyncGetAgentProjectname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/getagent/SyncGetAgentProjectname.java
index 351e93cfc46c..634c9d09d6bb 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/getagent/SyncGetAgentProjectname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/getagent/SyncGetAgentProjectname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetAgentProjectname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       ProjectName parent = ProjectName.of("[PROJECT]");
       Agent response = agentsClient.getAgent(parent);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/getagent/SyncGetAgentString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/getagent/SyncGetAgentString.java
index 85e06e221905..f5293463e59c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/getagent/SyncGetAgentString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/getagent/SyncGetAgentString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetAgentString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       String parent = ProjectName.of("[PROJECT]").toString();
       Agent response = agentsClient.getAgent(parent);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/getlocation/AsyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/getlocation/AsyncGetLocation.java
index debc32417dfd..052f8c04cd32 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/getlocation/AsyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/getlocation/AsyncGetLocation.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       ApiFuture future = agentsClient.getLocationCallable().futureCall(request);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/getlocation/SyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/getlocation/SyncGetLocation.java
index 61de93145893..80f945dc0993 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/getlocation/SyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/getlocation/SyncGetLocation.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       Location response = agentsClient.getLocation(request);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/getvalidationresult/AsyncGetValidationResult.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/getvalidationresult/AsyncGetValidationResult.java
index 9065c8e74d7f..bd50a1fa3b77 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/getvalidationresult/AsyncGetValidationResult.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/getvalidationresult/AsyncGetValidationResult.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetValidationResult() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       GetValidationResultRequest request =
           GetValidationResultRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/getvalidationresult/SyncGetValidationResult.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/getvalidationresult/SyncGetValidationResult.java
index 6ad4240fd87c..4d960becb958 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/getvalidationresult/SyncGetValidationResult.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/getvalidationresult/SyncGetValidationResult.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetValidationResult() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       GetValidationResultRequest request =
           GetValidationResultRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/importagent/AsyncImportAgent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/importagent/AsyncImportAgent.java
index 583590775050..8a5dc5c268c5 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/importagent/AsyncImportAgent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/importagent/AsyncImportAgent.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncImportAgent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       ImportAgentRequest request =
           ImportAgentRequest.newBuilder().setParent(ProjectName.of("[PROJECT]").toString()).build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/importagent/AsyncImportAgentLRO.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/importagent/AsyncImportAgentLRO.java
index bea9c3bd418f..27bb202ed10e 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/importagent/AsyncImportAgentLRO.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/importagent/AsyncImportAgentLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncImportAgentLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       ImportAgentRequest request =
           ImportAgentRequest.newBuilder().setParent(ProjectName.of("[PROJECT]").toString()).build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/importagent/SyncImportAgent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/importagent/SyncImportAgent.java
index 6ac7aa6d51ab..575676570b36 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/importagent/SyncImportAgent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/importagent/SyncImportAgent.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncImportAgent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       ImportAgentRequest request =
           ImportAgentRequest.newBuilder().setParent(ProjectName.of("[PROJECT]").toString()).build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/listlocations/AsyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/listlocations/AsyncListLocations.java
index 07ddef1164cc..407bf70c4171 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/listlocations/AsyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/listlocations/AsyncListLocations.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/listlocations/AsyncListLocationsPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/listlocations/AsyncListLocationsPaged.java
index 293bbe2de392..7c7a281ba21c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/listlocations/AsyncListLocationsPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/listlocations/AsyncListLocationsPaged.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocationsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/listlocations/SyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/listlocations/SyncListLocations.java
index 27e391ac6823..d4caa7ef5fdb 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/listlocations/SyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/listlocations/SyncListLocations.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/restoreagent/AsyncRestoreAgent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/restoreagent/AsyncRestoreAgent.java
index eb1c1e6ddada..be8b7cad8ff9 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/restoreagent/AsyncRestoreAgent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/restoreagent/AsyncRestoreAgent.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncRestoreAgent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       RestoreAgentRequest request =
           RestoreAgentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/restoreagent/AsyncRestoreAgentLRO.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/restoreagent/AsyncRestoreAgentLRO.java
index e7068004a897..af16c4ddbef4 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/restoreagent/AsyncRestoreAgentLRO.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/restoreagent/AsyncRestoreAgentLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncRestoreAgentLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       RestoreAgentRequest request =
           RestoreAgentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/restoreagent/SyncRestoreAgent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/restoreagent/SyncRestoreAgent.java
index 05916f0b3ddf..4329e7b06901 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/restoreagent/SyncRestoreAgent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/restoreagent/SyncRestoreAgent.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncRestoreAgent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       RestoreAgentRequest request =
           RestoreAgentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/searchagents/AsyncSearchAgents.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/searchagents/AsyncSearchAgents.java
index bc0e7e97faa3..d3113f133ff9 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/searchagents/AsyncSearchAgents.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/searchagents/AsyncSearchAgents.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncSearchAgents() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       SearchAgentsRequest request =
           SearchAgentsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/searchagents/AsyncSearchAgentsPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/searchagents/AsyncSearchAgentsPaged.java
index 7578e7a84c05..a1701b8e5fff 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/searchagents/AsyncSearchAgentsPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/searchagents/AsyncSearchAgentsPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncSearchAgentsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       SearchAgentsRequest request =
           SearchAgentsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/searchagents/SyncSearchAgents.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/searchagents/SyncSearchAgents.java
index e1096c60b7f6..d04c7e5926f0 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/searchagents/SyncSearchAgents.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/searchagents/SyncSearchAgents.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSearchAgents() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       SearchAgentsRequest request =
           SearchAgentsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/searchagents/SyncSearchAgentsLocationname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/searchagents/SyncSearchAgentsLocationname.java
index a2aed1acfce6..5f8d061177c5 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/searchagents/SyncSearchAgentsLocationname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/searchagents/SyncSearchAgentsLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSearchAgentsLocationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       for (Agent element : agentsClient.searchAgents(parent).iterateAll()) {
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/searchagents/SyncSearchAgentsProjectname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/searchagents/SyncSearchAgentsProjectname.java
index 0f24b1b29e41..771f5d470931 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/searchagents/SyncSearchAgentsProjectname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/searchagents/SyncSearchAgentsProjectname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSearchAgentsProjectname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       ProjectName parent = ProjectName.of("[PROJECT]");
       for (Agent element : agentsClient.searchAgents(parent).iterateAll()) {
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/searchagents/SyncSearchAgentsString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/searchagents/SyncSearchAgentsString.java
index 8e556e725673..b13d12546f68 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/searchagents/SyncSearchAgentsString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/searchagents/SyncSearchAgentsString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSearchAgentsString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       String parent = ProjectName.of("[PROJECT]").toString();
       for (Agent element : agentsClient.searchAgents(parent).iterateAll()) {
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/setagent/AsyncSetAgent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/setagent/AsyncSetAgent.java
index 10c771209fab..ec779a3fb0d7 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/setagent/AsyncSetAgent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/setagent/AsyncSetAgent.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncSetAgent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       SetAgentRequest request =
           SetAgentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/setagent/SyncSetAgent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/setagent/SyncSetAgent.java
index 565d15a90416..e95b81c7981c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/setagent/SyncSetAgent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/setagent/SyncSetAgent.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSetAgent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       SetAgentRequest request =
           SetAgentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/setagent/SyncSetAgentAgent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/setagent/SyncSetAgentAgent.java
index 1d7df9cacb1c..ef6eda05d9e1 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/setagent/SyncSetAgentAgent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/setagent/SyncSetAgentAgent.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSetAgentAgent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       Agent agent = Agent.newBuilder().build();
       Agent response = agentsClient.setAgent(agent);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/trainagent/AsyncTrainAgent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/trainagent/AsyncTrainAgent.java
index 5d13ea95deba..a1eb0ff21cf6 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/trainagent/AsyncTrainAgent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/trainagent/AsyncTrainAgent.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncTrainAgent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       TrainAgentRequest request =
           TrainAgentRequest.newBuilder().setParent(ProjectName.of("[PROJECT]").toString()).build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/trainagent/AsyncTrainAgentLRO.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/trainagent/AsyncTrainAgentLRO.java
index 01b0202d4a80..1173f6f315b0 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/trainagent/AsyncTrainAgentLRO.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/trainagent/AsyncTrainAgentLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncTrainAgentLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       TrainAgentRequest request =
           TrainAgentRequest.newBuilder().setParent(ProjectName.of("[PROJECT]").toString()).build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/trainagent/SyncTrainAgent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/trainagent/SyncTrainAgent.java
index d8620b9d5a0d..acdd680b8982 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/trainagent/SyncTrainAgent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/trainagent/SyncTrainAgent.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncTrainAgent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       TrainAgentRequest request =
           TrainAgentRequest.newBuilder().setParent(ProjectName.of("[PROJECT]").toString()).build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/trainagent/SyncTrainAgentLocationname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/trainagent/SyncTrainAgentLocationname.java
index 5ef358ccbc13..0873a8798b55 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/trainagent/SyncTrainAgentLocationname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/trainagent/SyncTrainAgentLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncTrainAgentLocationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       agentsClient.trainAgentAsync(parent).get();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/trainagent/SyncTrainAgentProjectname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/trainagent/SyncTrainAgentProjectname.java
index 37b37e171093..da11bc6000e0 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/trainagent/SyncTrainAgentProjectname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/trainagent/SyncTrainAgentProjectname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncTrainAgentProjectname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       ProjectName parent = ProjectName.of("[PROJECT]");
       agentsClient.trainAgentAsync(parent).get();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/trainagent/SyncTrainAgentString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/trainagent/SyncTrainAgentString.java
index c4fdbb9f7b36..7a9a8eb07d59 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/trainagent/SyncTrainAgentString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentsclient/trainagent/SyncTrainAgentString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncTrainAgentString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AgentsClient agentsClient = AgentsClient.create()) {
       String parent = ProjectName.of("[PROJECT]").toString();
       agentsClient.trainAgentAsync(parent).get();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentssettings/getagent/SyncGetAgent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentssettings/getagent/SyncGetAgent.java
index f76ff7a068dd..0b11ac7b9fd7 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentssettings/getagent/SyncGetAgent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/agentssettings/getagent/SyncGetAgent.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetAgent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     AgentsSettings.Builder agentsSettingsBuilder = AgentsSettings.newBuilder();
     agentsSettingsBuilder
         .getAgentSettings()
         .setRetrySettings(
-            agentsSettingsBuilder
-                .getAgentSettings()
-                .getRetrySettings()
-                .toBuilder()
+            agentsSettingsBuilder.getAgentSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     AgentsSettings agentsSettings = agentsSettingsBuilder.build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/create/SyncCreateSetCredentialsProvider.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/create/SyncCreateSetCredentialsProvider.java
index 17163598e19a..b9bf25373e24 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/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
     AnswerRecordsSettings answerRecordsSettings =
         AnswerRecordsSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/create/SyncCreateSetCredentialsProvider1.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/create/SyncCreateSetCredentialsProvider1.java
index b9b757d57bea..f510f75dba02 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/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
     AnswerRecordsSettings answerRecordsSettings =
         AnswerRecordsSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/create/SyncCreateSetEndpoint.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/create/SyncCreateSetEndpoint.java
index 08b8e05c0727..b6180753d985 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/create/SyncCreateSetEndpoint.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/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
     AnswerRecordsSettings answerRecordsSettings =
         AnswerRecordsSettings.newBuilder().setEndpoint(myEndpoint).build();
     AnswerRecordsClient answerRecordsClient = AnswerRecordsClient.create(answerRecordsSettings);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/getanswerrecord/AsyncGetAnswerRecord.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/getanswerrecord/AsyncGetAnswerRecord.java
index c46a436c2273..b472b65005c8 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/getanswerrecord/AsyncGetAnswerRecord.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/getanswerrecord/AsyncGetAnswerRecord.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetAnswerRecord() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AnswerRecordsClient answerRecordsClient = AnswerRecordsClient.create()) {
       GetAnswerRecordRequest request =
           GetAnswerRecordRequest.newBuilder().setName("name3373707").build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/getanswerrecord/SyncGetAnswerRecord.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/getanswerrecord/SyncGetAnswerRecord.java
index 9eab4f117a36..991201bdc96a 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/getanswerrecord/SyncGetAnswerRecord.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/getanswerrecord/SyncGetAnswerRecord.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetAnswerRecord() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AnswerRecordsClient answerRecordsClient = AnswerRecordsClient.create()) {
       GetAnswerRecordRequest request =
           GetAnswerRecordRequest.newBuilder().setName("name3373707").build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/getlocation/AsyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/getlocation/AsyncGetLocation.java
index 4ef721341aea..612f22622300 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/getlocation/AsyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/getlocation/AsyncGetLocation.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AnswerRecordsClient answerRecordsClient = AnswerRecordsClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       ApiFuture future = answerRecordsClient.getLocationCallable().futureCall(request);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/getlocation/SyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/getlocation/SyncGetLocation.java
index a18275b822f1..7d1c59408c44 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/getlocation/SyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/getlocation/SyncGetLocation.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AnswerRecordsClient answerRecordsClient = AnswerRecordsClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       Location response = answerRecordsClient.getLocation(request);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/listanswerrecords/AsyncListAnswerRecords.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/listanswerrecords/AsyncListAnswerRecords.java
index 53338a497a76..b1c629beb38a 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/listanswerrecords/AsyncListAnswerRecords.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/listanswerrecords/AsyncListAnswerRecords.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListAnswerRecords() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AnswerRecordsClient answerRecordsClient = AnswerRecordsClient.create()) {
       ListAnswerRecordsRequest request =
           ListAnswerRecordsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/listanswerrecords/AsyncListAnswerRecordsPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/listanswerrecords/AsyncListAnswerRecordsPaged.java
index 112bebeddca9..6dda5296ce56 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/listanswerrecords/AsyncListAnswerRecordsPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/listanswerrecords/AsyncListAnswerRecordsPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListAnswerRecordsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AnswerRecordsClient answerRecordsClient = AnswerRecordsClient.create()) {
       ListAnswerRecordsRequest request =
           ListAnswerRecordsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/listanswerrecords/SyncListAnswerRecords.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/listanswerrecords/SyncListAnswerRecords.java
index 68dcf1933445..ce73303866b1 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/listanswerrecords/SyncListAnswerRecords.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/listanswerrecords/SyncListAnswerRecords.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListAnswerRecords() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AnswerRecordsClient answerRecordsClient = AnswerRecordsClient.create()) {
       ListAnswerRecordsRequest request =
           ListAnswerRecordsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/listanswerrecords/SyncListAnswerRecordsLocationname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/listanswerrecords/SyncListAnswerRecordsLocationname.java
index 1c97e65a2a4f..dd0f6df44c2e 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/listanswerrecords/SyncListAnswerRecordsLocationname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/listanswerrecords/SyncListAnswerRecordsLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListAnswerRecordsLocationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AnswerRecordsClient answerRecordsClient = AnswerRecordsClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       for (AnswerRecord element : answerRecordsClient.listAnswerRecords(parent).iterateAll()) {
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/listanswerrecords/SyncListAnswerRecordsProjectname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/listanswerrecords/SyncListAnswerRecordsProjectname.java
index 3cffd89372dc..e10379d5e8e0 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/listanswerrecords/SyncListAnswerRecordsProjectname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/listanswerrecords/SyncListAnswerRecordsProjectname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListAnswerRecordsProjectname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AnswerRecordsClient answerRecordsClient = AnswerRecordsClient.create()) {
       ProjectName parent = ProjectName.of("[PROJECT]");
       for (AnswerRecord element : answerRecordsClient.listAnswerRecords(parent).iterateAll()) {
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/listanswerrecords/SyncListAnswerRecordsString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/listanswerrecords/SyncListAnswerRecordsString.java
index cedd2af618d9..f30b4877acea 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/listanswerrecords/SyncListAnswerRecordsString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/listanswerrecords/SyncListAnswerRecordsString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListAnswerRecordsString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AnswerRecordsClient answerRecordsClient = AnswerRecordsClient.create()) {
       String parent = ProjectName.of("[PROJECT]").toString();
       for (AnswerRecord element : answerRecordsClient.listAnswerRecords(parent).iterateAll()) {
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/listlocations/AsyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/listlocations/AsyncListLocations.java
index b04ae1e1e470..1d357f4e1302 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/listlocations/AsyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/listlocations/AsyncListLocations.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AnswerRecordsClient answerRecordsClient = AnswerRecordsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/listlocations/AsyncListLocationsPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/listlocations/AsyncListLocationsPaged.java
index f1e03713c880..d3046a0251e1 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/listlocations/AsyncListLocationsPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/listlocations/AsyncListLocationsPaged.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocationsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AnswerRecordsClient answerRecordsClient = AnswerRecordsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/listlocations/SyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/listlocations/SyncListLocations.java
index 6e4a8e911d33..db6eb841ffbf 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/listlocations/SyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/listlocations/SyncListLocations.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AnswerRecordsClient answerRecordsClient = AnswerRecordsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/updateanswerrecord/AsyncUpdateAnswerRecord.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/updateanswerrecord/AsyncUpdateAnswerRecord.java
index c1374cb3b785..a967597a643a 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/updateanswerrecord/AsyncUpdateAnswerRecord.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/updateanswerrecord/AsyncUpdateAnswerRecord.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateAnswerRecord() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AnswerRecordsClient answerRecordsClient = AnswerRecordsClient.create()) {
       UpdateAnswerRecordRequest request =
           UpdateAnswerRecordRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/updateanswerrecord/SyncUpdateAnswerRecord.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/updateanswerrecord/SyncUpdateAnswerRecord.java
index 404a311ca2d2..f09ac39f1bad 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/updateanswerrecord/SyncUpdateAnswerRecord.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/updateanswerrecord/SyncUpdateAnswerRecord.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateAnswerRecord() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AnswerRecordsClient answerRecordsClient = AnswerRecordsClient.create()) {
       UpdateAnswerRecordRequest request =
           UpdateAnswerRecordRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/updateanswerrecord/SyncUpdateAnswerRecordAnswerrecordFieldmask.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/updateanswerrecord/SyncUpdateAnswerRecordAnswerrecordFieldmask.java
index 8794c3ed195a..055725c45cd5 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/updateanswerrecord/SyncUpdateAnswerRecordAnswerrecordFieldmask.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordsclient/updateanswerrecord/SyncUpdateAnswerRecordAnswerrecordFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateAnswerRecordAnswerrecordFieldmask() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AnswerRecordsClient answerRecordsClient = AnswerRecordsClient.create()) {
       AnswerRecord answerRecord = AnswerRecord.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordssettings/getanswerrecord/SyncGetAnswerRecord.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordssettings/getanswerrecord/SyncGetAnswerRecord.java
index 102d5df2bdd0..603f1d7b6030 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordssettings/getanswerrecord/SyncGetAnswerRecord.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/answerrecordssettings/getanswerrecord/SyncGetAnswerRecord.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetAnswerRecord() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     AnswerRecordsSettings.Builder answerRecordsSettingsBuilder = AnswerRecordsSettings.newBuilder();
     answerRecordsSettingsBuilder
         .getAnswerRecordSettings()
         .setRetrySettings(
-            answerRecordsSettingsBuilder
-                .getAnswerRecordSettings()
-                .getRetrySettings()
-                .toBuilder()
+            answerRecordsSettingsBuilder.getAnswerRecordSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     AnswerRecordsSettings answerRecordsSettings = answerRecordsSettingsBuilder.build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/create/SyncCreateSetCredentialsProvider.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/create/SyncCreateSetCredentialsProvider.java
index c1f5362edd19..85138bb821b4 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/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
     ContextsSettings contextsSettings =
         ContextsSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/create/SyncCreateSetCredentialsProvider1.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/create/SyncCreateSetCredentialsProvider1.java
index e8f881ff575c..7f2437a66370 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/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
     ContextsSettings contextsSettings =
         ContextsSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/create/SyncCreateSetEndpoint.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/create/SyncCreateSetEndpoint.java
index 5965540278c9..3d6b7c11c529 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/create/SyncCreateSetEndpoint.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/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
     ContextsSettings contextsSettings =
         ContextsSettings.newBuilder().setEndpoint(myEndpoint).build();
     ContextsClient contextsClient = ContextsClient.create(contextsSettings);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/createcontext/AsyncCreateContext.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/createcontext/AsyncCreateContext.java
index 389cacd2cdf2..03fec3c6713f 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/createcontext/AsyncCreateContext.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/createcontext/AsyncCreateContext.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateContext() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       CreateContextRequest request =
           CreateContextRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/createcontext/SyncCreateContext.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/createcontext/SyncCreateContext.java
index e60fcd5d5853..f62008e132ea 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/createcontext/SyncCreateContext.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/createcontext/SyncCreateContext.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateContext() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       CreateContextRequest request =
           CreateContextRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/createcontext/SyncCreateContextSessionnameContext.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/createcontext/SyncCreateContextSessionnameContext.java
index f2033edef500..017611a2cc43 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/createcontext/SyncCreateContextSessionnameContext.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/createcontext/SyncCreateContextSessionnameContext.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateContextSessionnameContext() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       SessionName parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]");
       Context context = Context.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/createcontext/SyncCreateContextStringContext.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/createcontext/SyncCreateContextStringContext.java
index bef33def353a..4b789720fdd8 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/createcontext/SyncCreateContextStringContext.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/createcontext/SyncCreateContextStringContext.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateContextStringContext() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       String parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]").toString();
       Context context = Context.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/deleteallcontexts/AsyncDeleteAllContexts.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/deleteallcontexts/AsyncDeleteAllContexts.java
index 0f19d1c09edc..f1abdc26c348 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/deleteallcontexts/AsyncDeleteAllContexts.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/deleteallcontexts/AsyncDeleteAllContexts.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteAllContexts() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       DeleteAllContextsRequest request =
           DeleteAllContextsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/deleteallcontexts/SyncDeleteAllContexts.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/deleteallcontexts/SyncDeleteAllContexts.java
index d441f3068908..33a268b9c7e3 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/deleteallcontexts/SyncDeleteAllContexts.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/deleteallcontexts/SyncDeleteAllContexts.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteAllContexts() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       DeleteAllContextsRequest request =
           DeleteAllContextsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/deleteallcontexts/SyncDeleteAllContextsSessionname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/deleteallcontexts/SyncDeleteAllContextsSessionname.java
index 2b580938063e..7469f8eebd32 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/deleteallcontexts/SyncDeleteAllContextsSessionname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/deleteallcontexts/SyncDeleteAllContextsSessionname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteAllContextsSessionname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       SessionName parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]");
       contextsClient.deleteAllContexts(parent);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/deleteallcontexts/SyncDeleteAllContextsString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/deleteallcontexts/SyncDeleteAllContextsString.java
index c9d678d44332..cd927315a84f 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/deleteallcontexts/SyncDeleteAllContextsString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/deleteallcontexts/SyncDeleteAllContextsString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteAllContextsString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       String parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]").toString();
       contextsClient.deleteAllContexts(parent);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/deletecontext/AsyncDeleteContext.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/deletecontext/AsyncDeleteContext.java
index ecb1e47c3287..a3c9a755bebf 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/deletecontext/AsyncDeleteContext.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/deletecontext/AsyncDeleteContext.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteContext() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       DeleteContextRequest request =
           DeleteContextRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/deletecontext/SyncDeleteContext.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/deletecontext/SyncDeleteContext.java
index 68c6662f46bb..73acfe90ae3d 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/deletecontext/SyncDeleteContext.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/deletecontext/SyncDeleteContext.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteContext() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       DeleteContextRequest request =
           DeleteContextRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/deletecontext/SyncDeleteContextContextname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/deletecontext/SyncDeleteContextContextname.java
index 5e3a2bc51582..742974de2a62 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/deletecontext/SyncDeleteContextContextname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/deletecontext/SyncDeleteContextContextname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteContextContextname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       ContextName name =
           ContextName.ofProjectSessionContextName("[PROJECT]", "[SESSION]", "[CONTEXT]");
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/deletecontext/SyncDeleteContextString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/deletecontext/SyncDeleteContextString.java
index afea4eaf530d..02d75ef2aa5b 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/deletecontext/SyncDeleteContextString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/deletecontext/SyncDeleteContextString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteContextString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       String name =
           ContextName.ofProjectSessionContextName("[PROJECT]", "[SESSION]", "[CONTEXT]").toString();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/getcontext/AsyncGetContext.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/getcontext/AsyncGetContext.java
index c06162c035aa..c271d0b69161 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/getcontext/AsyncGetContext.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/getcontext/AsyncGetContext.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetContext() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       GetContextRequest request =
           GetContextRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/getcontext/SyncGetContext.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/getcontext/SyncGetContext.java
index d04ab8934fca..5d29fea3a9d6 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/getcontext/SyncGetContext.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/getcontext/SyncGetContext.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetContext() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       GetContextRequest request =
           GetContextRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/getcontext/SyncGetContextContextname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/getcontext/SyncGetContextContextname.java
index 70cc54b0745e..fdbc33a5ef82 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/getcontext/SyncGetContextContextname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/getcontext/SyncGetContextContextname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetContextContextname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       ContextName name =
           ContextName.ofProjectSessionContextName("[PROJECT]", "[SESSION]", "[CONTEXT]");
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/getcontext/SyncGetContextString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/getcontext/SyncGetContextString.java
index 0c9beee84a6d..67e831fa481f 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/getcontext/SyncGetContextString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/getcontext/SyncGetContextString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetContextString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       String name =
           ContextName.ofProjectSessionContextName("[PROJECT]", "[SESSION]", "[CONTEXT]").toString();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/getlocation/AsyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/getlocation/AsyncGetLocation.java
index eb0df51c3ba9..554f6b55e59d 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/getlocation/AsyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/getlocation/AsyncGetLocation.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       ApiFuture future = contextsClient.getLocationCallable().futureCall(request);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/getlocation/SyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/getlocation/SyncGetLocation.java
index 220a137c7041..2d5a8e990f10 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/getlocation/SyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/getlocation/SyncGetLocation.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       Location response = contextsClient.getLocation(request);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/listcontexts/AsyncListContexts.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/listcontexts/AsyncListContexts.java
index 779d41eae45c..1c8b07d662c6 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/listcontexts/AsyncListContexts.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/listcontexts/AsyncListContexts.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListContexts() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       ListContextsRequest request =
           ListContextsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/listcontexts/AsyncListContextsPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/listcontexts/AsyncListContextsPaged.java
index 5eda50fbf368..ea247797f384 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/listcontexts/AsyncListContextsPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/listcontexts/AsyncListContextsPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListContextsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       ListContextsRequest request =
           ListContextsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/listcontexts/SyncListContexts.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/listcontexts/SyncListContexts.java
index 86dc12cfa737..6dcd0c608da7 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/listcontexts/SyncListContexts.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/listcontexts/SyncListContexts.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListContexts() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       ListContextsRequest request =
           ListContextsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/listcontexts/SyncListContextsSessionname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/listcontexts/SyncListContextsSessionname.java
index a837973ed8b5..6c33836f38c3 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/listcontexts/SyncListContextsSessionname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/listcontexts/SyncListContextsSessionname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListContextsSessionname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       SessionName parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]");
       for (Context element : contextsClient.listContexts(parent).iterateAll()) {
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/listcontexts/SyncListContextsString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/listcontexts/SyncListContextsString.java
index 3e92a778990f..11a31b7a9b1d 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/listcontexts/SyncListContextsString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/listcontexts/SyncListContextsString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListContextsString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       String parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]").toString();
       for (Context element : contextsClient.listContexts(parent).iterateAll()) {
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/listlocations/AsyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/listlocations/AsyncListLocations.java
index 8203eaefb016..a8cde34c7971 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/listlocations/AsyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/listlocations/AsyncListLocations.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/listlocations/AsyncListLocationsPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/listlocations/AsyncListLocationsPaged.java
index c8093ba36406..d5704e90496b 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/listlocations/AsyncListLocationsPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/listlocations/AsyncListLocationsPaged.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocationsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/listlocations/SyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/listlocations/SyncListLocations.java
index 4685d28c2941..8f7409418d99 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/listlocations/SyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/listlocations/SyncListLocations.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/updatecontext/AsyncUpdateContext.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/updatecontext/AsyncUpdateContext.java
index 91ab559c2ff0..3ee9c2415edd 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/updatecontext/AsyncUpdateContext.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/updatecontext/AsyncUpdateContext.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateContext() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       UpdateContextRequest request =
           UpdateContextRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/updatecontext/SyncUpdateContext.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/updatecontext/SyncUpdateContext.java
index 24de663f8338..fb3e8bfbdf44 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/updatecontext/SyncUpdateContext.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/updatecontext/SyncUpdateContext.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateContext() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       UpdateContextRequest request =
           UpdateContextRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/updatecontext/SyncUpdateContextContext.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/updatecontext/SyncUpdateContextContext.java
index fa585da0e9d9..91e501a80694 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/updatecontext/SyncUpdateContextContext.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/updatecontext/SyncUpdateContextContext.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateContextContext() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       Context context = Context.newBuilder().build();
       Context response = contextsClient.updateContext(context);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/updatecontext/SyncUpdateContextContextFieldmask.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/updatecontext/SyncUpdateContextContextFieldmask.java
index be6a57593834..37537582a5b6 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/updatecontext/SyncUpdateContextContextFieldmask.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextsclient/updatecontext/SyncUpdateContextContextFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateContextContextFieldmask() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ContextsClient contextsClient = ContextsClient.create()) {
       Context context = Context.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextssettings/getcontext/SyncGetContext.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextssettings/getcontext/SyncGetContext.java
index 5446eb56d957..7b6f992eae5f 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextssettings/getcontext/SyncGetContext.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/contextssettings/getcontext/SyncGetContext.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetContext() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     ContextsSettings.Builder contextsSettingsBuilder = ContextsSettings.newBuilder();
     contextsSettingsBuilder
         .getContextSettings()
         .setRetrySettings(
-            contextsSettingsBuilder
-                .getContextSettings()
-                .getRetrySettings()
-                .toBuilder()
+            contextsSettingsBuilder.getContextSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     ContextsSettings contextsSettings = contextsSettingsBuilder.build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/clearsuggestionfeatureconfig/AsyncClearSuggestionFeatureConfig.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/clearsuggestionfeatureconfig/AsyncClearSuggestionFeatureConfig.java
index a59931ed1743..4b8b7711e82a 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/clearsuggestionfeatureconfig/AsyncClearSuggestionFeatureConfig.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/clearsuggestionfeatureconfig/AsyncClearSuggestionFeatureConfig.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncClearSuggestionFeatureConfig() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       ClearSuggestionFeatureConfigRequest request =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/clearsuggestionfeatureconfig/AsyncClearSuggestionFeatureConfigLRO.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/clearsuggestionfeatureconfig/AsyncClearSuggestionFeatureConfigLRO.java
index 27413c79af6b..0d36dcbb4679 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/clearsuggestionfeatureconfig/AsyncClearSuggestionFeatureConfigLRO.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/clearsuggestionfeatureconfig/AsyncClearSuggestionFeatureConfigLRO.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncClearSuggestionFeatureConfigLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       ClearSuggestionFeatureConfigRequest request =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/clearsuggestionfeatureconfig/SyncClearSuggestionFeatureConfig.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/clearsuggestionfeatureconfig/SyncClearSuggestionFeatureConfig.java
index 50b93e1f8e66..43dbfe6aedda 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/clearsuggestionfeatureconfig/SyncClearSuggestionFeatureConfig.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/clearsuggestionfeatureconfig/SyncClearSuggestionFeatureConfig.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncClearSuggestionFeatureConfig() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       ClearSuggestionFeatureConfigRequest request =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/clearsuggestionfeatureconfig/SyncClearSuggestionFeatureConfigString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/clearsuggestionfeatureconfig/SyncClearSuggestionFeatureConfigString.java
index 2d6b068209d8..75a5c0bc9f29 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/clearsuggestionfeatureconfig/SyncClearSuggestionFeatureConfigString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/clearsuggestionfeatureconfig/SyncClearSuggestionFeatureConfigString.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncClearSuggestionFeatureConfigString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       String conversationProfile = "conversationProfile1691597734";
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/create/SyncCreateSetCredentialsProvider.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/create/SyncCreateSetCredentialsProvider.java
index 480629767696..7a3b4863af28 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/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
     ConversationProfilesSettings conversationProfilesSettings =
         ConversationProfilesSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/create/SyncCreateSetCredentialsProvider1.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/create/SyncCreateSetCredentialsProvider1.java
index a98168c2fde4..9efc83b80931 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/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
     ConversationProfilesSettings conversationProfilesSettings =
         ConversationProfilesSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/create/SyncCreateSetEndpoint.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/create/SyncCreateSetEndpoint.java
index 51bfa1923b46..e1295546fdac 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/create/SyncCreateSetEndpoint.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/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
     ConversationProfilesSettings conversationProfilesSettings =
         ConversationProfilesSettings.newBuilder().setEndpoint(myEndpoint).build();
     ConversationProfilesClient conversationProfilesClient =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/createconversationprofile/AsyncCreateConversationProfile.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/createconversationprofile/AsyncCreateConversationProfile.java
index 8b52ddbd685b..e5e443993224 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/createconversationprofile/AsyncCreateConversationProfile.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/createconversationprofile/AsyncCreateConversationProfile.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateConversationProfile() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       CreateConversationProfileRequest request =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/createconversationprofile/SyncCreateConversationProfile.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/createconversationprofile/SyncCreateConversationProfile.java
index 3b556199b9d1..99c7bcba62ab 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/createconversationprofile/SyncCreateConversationProfile.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/createconversationprofile/SyncCreateConversationProfile.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateConversationProfile() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       CreateConversationProfileRequest request =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/createconversationprofile/SyncCreateConversationProfileLocationnameConversationprofile.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/createconversationprofile/SyncCreateConversationProfileLocationnameConversationprofile.java
index c05a13743c3e..93ae68563e34 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/createconversationprofile/SyncCreateConversationProfileLocationnameConversationprofile.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/createconversationprofile/SyncCreateConversationProfileLocationnameConversationprofile.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
 
   public static void syncCreateConversationProfileLocationnameConversationprofile()
       throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/createconversationprofile/SyncCreateConversationProfileProjectnameConversationprofile.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/createconversationprofile/SyncCreateConversationProfileProjectnameConversationprofile.java
index 40b8d5d27efb..a97488c1dd38 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/createconversationprofile/SyncCreateConversationProfileProjectnameConversationprofile.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/createconversationprofile/SyncCreateConversationProfileProjectnameConversationprofile.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
 
   public static void syncCreateConversationProfileProjectnameConversationprofile()
       throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       ProjectName parent = ProjectName.of("[PROJECT]");
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/createconversationprofile/SyncCreateConversationProfileStringConversationprofile.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/createconversationprofile/SyncCreateConversationProfileStringConversationprofile.java
index 5705b3761103..8d360093f4a6 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/createconversationprofile/SyncCreateConversationProfileStringConversationprofile.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/createconversationprofile/SyncCreateConversationProfileStringConversationprofile.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateConversationProfileStringConversationprofile() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       String parent = ProjectName.of("[PROJECT]").toString();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/deleteconversationprofile/AsyncDeleteConversationProfile.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/deleteconversationprofile/AsyncDeleteConversationProfile.java
index 20d5fa471ce2..2445d0b31176 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/deleteconversationprofile/AsyncDeleteConversationProfile.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/deleteconversationprofile/AsyncDeleteConversationProfile.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteConversationProfile() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       DeleteConversationProfileRequest request =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/deleteconversationprofile/SyncDeleteConversationProfile.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/deleteconversationprofile/SyncDeleteConversationProfile.java
index 4f99a11b64e9..a43f540a3ca3 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/deleteconversationprofile/SyncDeleteConversationProfile.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/deleteconversationprofile/SyncDeleteConversationProfile.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteConversationProfile() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       DeleteConversationProfileRequest request =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/deleteconversationprofile/SyncDeleteConversationProfileConversationprofilename.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/deleteconversationprofile/SyncDeleteConversationProfileConversationprofilename.java
index 45ce7c4f74be..a00525d13517 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/deleteconversationprofile/SyncDeleteConversationProfileConversationprofilename.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/deleteconversationprofile/SyncDeleteConversationProfileConversationprofilename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteConversationProfileConversationprofilename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       ConversationProfileName name =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/deleteconversationprofile/SyncDeleteConversationProfileString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/deleteconversationprofile/SyncDeleteConversationProfileString.java
index 20ca9d557831..eaa88b836866 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/deleteconversationprofile/SyncDeleteConversationProfileString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/deleteconversationprofile/SyncDeleteConversationProfileString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteConversationProfileString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       String name =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/getconversationprofile/AsyncGetConversationProfile.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/getconversationprofile/AsyncGetConversationProfile.java
index 8763020938e2..c2d796333608 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/getconversationprofile/AsyncGetConversationProfile.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/getconversationprofile/AsyncGetConversationProfile.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetConversationProfile() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       GetConversationProfileRequest request =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/getconversationprofile/SyncGetConversationProfile.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/getconversationprofile/SyncGetConversationProfile.java
index 8350a115b5b3..80ba9fc40075 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/getconversationprofile/SyncGetConversationProfile.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/getconversationprofile/SyncGetConversationProfile.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetConversationProfile() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       GetConversationProfileRequest request =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/getconversationprofile/SyncGetConversationProfileConversationprofilename.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/getconversationprofile/SyncGetConversationProfileConversationprofilename.java
index 459461758ed3..6647e00162d4 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/getconversationprofile/SyncGetConversationProfileConversationprofilename.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/getconversationprofile/SyncGetConversationProfileConversationprofilename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetConversationProfileConversationprofilename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       ConversationProfileName name =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/getconversationprofile/SyncGetConversationProfileString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/getconversationprofile/SyncGetConversationProfileString.java
index d9748053fa4d..6fad5e40004c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/getconversationprofile/SyncGetConversationProfileString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/getconversationprofile/SyncGetConversationProfileString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetConversationProfileString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       String name =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/getlocation/AsyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/getlocation/AsyncGetLocation.java
index a42cd88972db..6f1c24bcdd66 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/getlocation/AsyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/getlocation/AsyncGetLocation.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/getlocation/SyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/getlocation/SyncGetLocation.java
index a9f35af1613d..d49034972774 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/getlocation/SyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/getlocation/SyncGetLocation.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/listconversationprofiles/AsyncListConversationProfiles.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/listconversationprofiles/AsyncListConversationProfiles.java
index db8902d9e76d..fa1da2311c1f 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/listconversationprofiles/AsyncListConversationProfiles.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/listconversationprofiles/AsyncListConversationProfiles.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListConversationProfiles() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       ListConversationProfilesRequest request =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/listconversationprofiles/AsyncListConversationProfilesPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/listconversationprofiles/AsyncListConversationProfilesPaged.java
index 603b9d0ad2c2..2625756aae6b 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/listconversationprofiles/AsyncListConversationProfilesPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/listconversationprofiles/AsyncListConversationProfilesPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListConversationProfilesPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       ListConversationProfilesRequest request =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/listconversationprofiles/SyncListConversationProfiles.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/listconversationprofiles/SyncListConversationProfiles.java
index fe09b7321852..b536d71a1357 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/listconversationprofiles/SyncListConversationProfiles.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/listconversationprofiles/SyncListConversationProfiles.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListConversationProfiles() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       ListConversationProfilesRequest request =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/listconversationprofiles/SyncListConversationProfilesLocationname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/listconversationprofiles/SyncListConversationProfilesLocationname.java
index 266590520bdf..66947407543e 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/listconversationprofiles/SyncListConversationProfilesLocationname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/listconversationprofiles/SyncListConversationProfilesLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListConversationProfilesLocationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/listconversationprofiles/SyncListConversationProfilesProjectname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/listconversationprofiles/SyncListConversationProfilesProjectname.java
index 10e9613fe0bf..2025d44902ae 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/listconversationprofiles/SyncListConversationProfilesProjectname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/listconversationprofiles/SyncListConversationProfilesProjectname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListConversationProfilesProjectname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       ProjectName parent = ProjectName.of("[PROJECT]");
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/listconversationprofiles/SyncListConversationProfilesString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/listconversationprofiles/SyncListConversationProfilesString.java
index 795164528773..85382460cb37 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/listconversationprofiles/SyncListConversationProfilesString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/listconversationprofiles/SyncListConversationProfilesString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListConversationProfilesString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       String parent = ProjectName.of("[PROJECT]").toString();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/listlocations/AsyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/listlocations/AsyncListLocations.java
index a9be2a0368c3..ec488a853b24 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/listlocations/AsyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/listlocations/AsyncListLocations.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       ListLocationsRequest request =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/listlocations/AsyncListLocationsPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/listlocations/AsyncListLocationsPaged.java
index edb93cc69f21..53d9e58af6f1 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/listlocations/AsyncListLocationsPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/listlocations/AsyncListLocationsPaged.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocationsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       ListLocationsRequest request =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/listlocations/SyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/listlocations/SyncListLocations.java
index 46ba47b273dd..d6cc837658d8 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/listlocations/SyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/listlocations/SyncListLocations.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       ListLocationsRequest request =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/setsuggestionfeatureconfig/AsyncSetSuggestionFeatureConfig.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/setsuggestionfeatureconfig/AsyncSetSuggestionFeatureConfig.java
index f0980c2d7c76..a3b8d36bad37 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/setsuggestionfeatureconfig/AsyncSetSuggestionFeatureConfig.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/setsuggestionfeatureconfig/AsyncSetSuggestionFeatureConfig.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncSetSuggestionFeatureConfig() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       SetSuggestionFeatureConfigRequest request =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/setsuggestionfeatureconfig/AsyncSetSuggestionFeatureConfigLRO.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/setsuggestionfeatureconfig/AsyncSetSuggestionFeatureConfigLRO.java
index 677f1f355b49..b3647f614561 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/setsuggestionfeatureconfig/AsyncSetSuggestionFeatureConfigLRO.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/setsuggestionfeatureconfig/AsyncSetSuggestionFeatureConfigLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncSetSuggestionFeatureConfigLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       SetSuggestionFeatureConfigRequest request =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/setsuggestionfeatureconfig/SyncSetSuggestionFeatureConfig.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/setsuggestionfeatureconfig/SyncSetSuggestionFeatureConfig.java
index f4295fa7171b..54cb8d045d5b 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/setsuggestionfeatureconfig/SyncSetSuggestionFeatureConfig.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/setsuggestionfeatureconfig/SyncSetSuggestionFeatureConfig.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSetSuggestionFeatureConfig() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       SetSuggestionFeatureConfigRequest request =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/setsuggestionfeatureconfig/SyncSetSuggestionFeatureConfigString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/setsuggestionfeatureconfig/SyncSetSuggestionFeatureConfigString.java
index 369fc4202724..5390986dd9c3 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/setsuggestionfeatureconfig/SyncSetSuggestionFeatureConfigString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/setsuggestionfeatureconfig/SyncSetSuggestionFeatureConfigString.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSetSuggestionFeatureConfigString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       String conversationProfile = "conversationProfile1691597734";
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/updateconversationprofile/AsyncUpdateConversationProfile.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/updateconversationprofile/AsyncUpdateConversationProfile.java
index e6a413ac500e..35cc083d8bd1 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/updateconversationprofile/AsyncUpdateConversationProfile.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/updateconversationprofile/AsyncUpdateConversationProfile.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateConversationProfile() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       UpdateConversationProfileRequest request =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/updateconversationprofile/SyncUpdateConversationProfile.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/updateconversationprofile/SyncUpdateConversationProfile.java
index b455a246a9f0..7ac897e84edd 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/updateconversationprofile/SyncUpdateConversationProfile.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/updateconversationprofile/SyncUpdateConversationProfile.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateConversationProfile() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       UpdateConversationProfileRequest request =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/updateconversationprofile/SyncUpdateConversationProfileConversationprofileFieldmask.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/updateconversationprofile/SyncUpdateConversationProfileConversationprofileFieldmask.java
index 9f01e5650748..70b329681cc3 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/updateconversationprofile/SyncUpdateConversationProfileConversationprofileFieldmask.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilesclient/updateconversationprofile/SyncUpdateConversationProfileConversationprofileFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateConversationProfileConversationprofileFieldmask() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationProfilesClient conversationProfilesClient =
         ConversationProfilesClient.create()) {
       ConversationProfile conversationProfile = ConversationProfile.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilessettings/getconversationprofile/SyncGetConversationProfile.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilessettings/getconversationprofile/SyncGetConversationProfile.java
index 3a7221e1a28b..3a68702cbad3 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilessettings/getconversationprofile/SyncGetConversationProfile.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationprofilessettings/getconversationprofile/SyncGetConversationProfile.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetConversationProfile() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     ConversationProfilesSettings.Builder conversationProfilesSettingsBuilder =
         ConversationProfilesSettings.newBuilder();
     conversationProfilesSettingsBuilder
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/batchcreatemessages/AsyncBatchCreateMessages.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/batchcreatemessages/AsyncBatchCreateMessages.java
index 19d8081608ef..e5e8cfe8fe96 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/batchcreatemessages/AsyncBatchCreateMessages.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/batchcreatemessages/AsyncBatchCreateMessages.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncBatchCreateMessages() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       BatchCreateMessagesRequest request =
           BatchCreateMessagesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/batchcreatemessages/SyncBatchCreateMessages.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/batchcreatemessages/SyncBatchCreateMessages.java
index a4f381a83591..f0a0d2402037 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/batchcreatemessages/SyncBatchCreateMessages.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/batchcreatemessages/SyncBatchCreateMessages.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchCreateMessages() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       BatchCreateMessagesRequest request =
           BatchCreateMessagesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/batchcreatemessages/SyncBatchCreateMessagesConversationname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/batchcreatemessages/SyncBatchCreateMessagesConversationname.java
index 2ac1dfb67e7e..3d5d62d648c3 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/batchcreatemessages/SyncBatchCreateMessagesConversationname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/batchcreatemessages/SyncBatchCreateMessagesConversationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchCreateMessagesConversationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       ConversationName parent =
           ConversationName.ofProjectConversationName("[PROJECT]", "[CONVERSATION]");
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/batchcreatemessages/SyncBatchCreateMessagesString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/batchcreatemessages/SyncBatchCreateMessagesString.java
index ba1a7fd76a40..8fefddfb7cf2 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/batchcreatemessages/SyncBatchCreateMessagesString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/batchcreatemessages/SyncBatchCreateMessagesString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchCreateMessagesString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       String parent =
           ConversationName.ofProjectConversationName("[PROJECT]", "[CONVERSATION]").toString();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/completeconversation/AsyncCompleteConversation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/completeconversation/AsyncCompleteConversation.java
index 0a13662631d5..2065f4d42232 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/completeconversation/AsyncCompleteConversation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/completeconversation/AsyncCompleteConversation.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCompleteConversation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       CompleteConversationRequest request =
           CompleteConversationRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/completeconversation/SyncCompleteConversation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/completeconversation/SyncCompleteConversation.java
index 127fb4e7fa1b..746b7addb9bd 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/completeconversation/SyncCompleteConversation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/completeconversation/SyncCompleteConversation.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCompleteConversation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       CompleteConversationRequest request =
           CompleteConversationRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/completeconversation/SyncCompleteConversationConversationname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/completeconversation/SyncCompleteConversationConversationname.java
index 280128a360bd..1cefb91d71cc 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/completeconversation/SyncCompleteConversationConversationname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/completeconversation/SyncCompleteConversationConversationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCompleteConversationConversationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       ConversationName name =
           ConversationName.ofProjectConversationName("[PROJECT]", "[CONVERSATION]");
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/completeconversation/SyncCompleteConversationString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/completeconversation/SyncCompleteConversationString.java
index 81efb1ff6760..4ddc222ca835 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/completeconversation/SyncCompleteConversationString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/completeconversation/SyncCompleteConversationString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCompleteConversationString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       String name =
           ConversationName.ofProjectConversationName("[PROJECT]", "[CONVERSATION]").toString();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/create/SyncCreateSetCredentialsProvider.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/create/SyncCreateSetCredentialsProvider.java
index 3636572cdf86..345fff10a200 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/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
     ConversationsSettings conversationsSettings =
         ConversationsSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/create/SyncCreateSetCredentialsProvider1.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/create/SyncCreateSetCredentialsProvider1.java
index 63387490dd8c..c3fc654dd4d7 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/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
     ConversationsSettings conversationsSettings =
         ConversationsSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/create/SyncCreateSetEndpoint.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/create/SyncCreateSetEndpoint.java
index f734500692c7..850f2e6b02c9 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/create/SyncCreateSetEndpoint.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/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
     ConversationsSettings conversationsSettings =
         ConversationsSettings.newBuilder().setEndpoint(myEndpoint).build();
     ConversationsClient conversationsClient = ConversationsClient.create(conversationsSettings);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/createconversation/AsyncCreateConversation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/createconversation/AsyncCreateConversation.java
index fc23b99ddef9..b2eee707f6a1 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/createconversation/AsyncCreateConversation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/createconversation/AsyncCreateConversation.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateConversation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       CreateConversationRequest request =
           CreateConversationRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/createconversation/SyncCreateConversation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/createconversation/SyncCreateConversation.java
index 9dba653c9ea1..5f2f62cd1168 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/createconversation/SyncCreateConversation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/createconversation/SyncCreateConversation.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateConversation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       CreateConversationRequest request =
           CreateConversationRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/createconversation/SyncCreateConversationLocationnameConversation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/createconversation/SyncCreateConversationLocationnameConversation.java
index 6fc89d7e6916..dd5fe42cd4c2 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/createconversation/SyncCreateConversationLocationnameConversation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/createconversation/SyncCreateConversationLocationnameConversation.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateConversationLocationnameConversation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       Conversation conversation = Conversation.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/createconversation/SyncCreateConversationProjectnameConversation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/createconversation/SyncCreateConversationProjectnameConversation.java
index b9e4374b306f..3bc74a3da58f 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/createconversation/SyncCreateConversationProjectnameConversation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/createconversation/SyncCreateConversationProjectnameConversation.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateConversationProjectnameConversation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       ProjectName parent = ProjectName.of("[PROJECT]");
       Conversation conversation = Conversation.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/createconversation/SyncCreateConversationStringConversation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/createconversation/SyncCreateConversationStringConversation.java
index a5b40abb4ed9..b3a8cbd11f16 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/createconversation/SyncCreateConversationStringConversation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/createconversation/SyncCreateConversationStringConversation.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateConversationStringConversation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       String parent = ProjectName.of("[PROJECT]").toString();
       Conversation conversation = Conversation.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/getconversation/AsyncGetConversation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/getconversation/AsyncGetConversation.java
index 34ce68faaf46..a3b576f0feca 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/getconversation/AsyncGetConversation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/getconversation/AsyncGetConversation.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetConversation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       GetConversationRequest request =
           GetConversationRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/getconversation/SyncGetConversation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/getconversation/SyncGetConversation.java
index 26a663334745..0691175f332c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/getconversation/SyncGetConversation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/getconversation/SyncGetConversation.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetConversation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       GetConversationRequest request =
           GetConversationRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/getconversation/SyncGetConversationConversationname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/getconversation/SyncGetConversationConversationname.java
index 559d6d13d472..29a48f2c51b8 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/getconversation/SyncGetConversationConversationname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/getconversation/SyncGetConversationConversationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetConversationConversationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       ConversationName name =
           ConversationName.ofProjectConversationName("[PROJECT]", "[CONVERSATION]");
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/getconversation/SyncGetConversationString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/getconversation/SyncGetConversationString.java
index 9254dc0bec44..2c89890dc822 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/getconversation/SyncGetConversationString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/getconversation/SyncGetConversationString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetConversationString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       String name =
           ConversationName.ofProjectConversationName("[PROJECT]", "[CONVERSATION]").toString();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/getlocation/AsyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/getlocation/AsyncGetLocation.java
index b897f5555a77..13f512725051 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/getlocation/AsyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/getlocation/AsyncGetLocation.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       ApiFuture future = conversationsClient.getLocationCallable().futureCall(request);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/getlocation/SyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/getlocation/SyncGetLocation.java
index 7c94b12ce804..aaa9ca711b2c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/getlocation/SyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/getlocation/SyncGetLocation.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       Location response = conversationsClient.getLocation(request);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/listconversations/AsyncListConversations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/listconversations/AsyncListConversations.java
index c26869917dd0..1adf691a2539 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/listconversations/AsyncListConversations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/listconversations/AsyncListConversations.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListConversations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       ListConversationsRequest request =
           ListConversationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/listconversations/AsyncListConversationsPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/listconversations/AsyncListConversationsPaged.java
index bff4312a4027..36d7a5ea00e7 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/listconversations/AsyncListConversationsPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/listconversations/AsyncListConversationsPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListConversationsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       ListConversationsRequest request =
           ListConversationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/listconversations/SyncListConversations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/listconversations/SyncListConversations.java
index 064c00fbf652..cec8a2d54ab6 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/listconversations/SyncListConversations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/listconversations/SyncListConversations.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListConversations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       ListConversationsRequest request =
           ListConversationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/listconversations/SyncListConversationsLocationname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/listconversations/SyncListConversationsLocationname.java
index f6a0ec2027c5..7c80cf989b0c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/listconversations/SyncListConversationsLocationname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/listconversations/SyncListConversationsLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListConversationsLocationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       for (Conversation element : conversationsClient.listConversations(parent).iterateAll()) {
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/listconversations/SyncListConversationsProjectname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/listconversations/SyncListConversationsProjectname.java
index c97b50aab950..6dddd189a303 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/listconversations/SyncListConversationsProjectname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/listconversations/SyncListConversationsProjectname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListConversationsProjectname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       ProjectName parent = ProjectName.of("[PROJECT]");
       for (Conversation element : conversationsClient.listConversations(parent).iterateAll()) {
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/listconversations/SyncListConversationsString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/listconversations/SyncListConversationsString.java
index 0430639bb515..699cc735ee81 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/listconversations/SyncListConversationsString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/listconversations/SyncListConversationsString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListConversationsString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       String parent = ProjectName.of("[PROJECT]").toString();
       for (Conversation element : conversationsClient.listConversations(parent).iterateAll()) {
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/listlocations/AsyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/listlocations/AsyncListLocations.java
index 2b6e237a506d..60a5548743e2 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/listlocations/AsyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/listlocations/AsyncListLocations.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/listlocations/AsyncListLocationsPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/listlocations/AsyncListLocationsPaged.java
index 2f4ac999d948..355eb1fd2cf3 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/listlocations/AsyncListLocationsPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/listlocations/AsyncListLocationsPaged.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocationsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/listlocations/SyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/listlocations/SyncListLocations.java
index d4958ecbf5a8..ada94f928858 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/listlocations/SyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/listlocations/SyncListLocations.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/listmessages/AsyncListMessages.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/listmessages/AsyncListMessages.java
index 6e9115b25462..0e914decf613 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/listmessages/AsyncListMessages.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/listmessages/AsyncListMessages.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListMessages() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       ListMessagesRequest request =
           ListMessagesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/listmessages/AsyncListMessagesPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/listmessages/AsyncListMessagesPaged.java
index 1e5cd6b86a41..a635520fdadd 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/listmessages/AsyncListMessagesPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/listmessages/AsyncListMessagesPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListMessagesPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       ListMessagesRequest request =
           ListMessagesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/listmessages/SyncListMessages.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/listmessages/SyncListMessages.java
index b197812d3f73..614d6a57ab73 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/listmessages/SyncListMessages.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/listmessages/SyncListMessages.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListMessages() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       ListMessagesRequest request =
           ListMessagesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/listmessages/SyncListMessagesConversationname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/listmessages/SyncListMessagesConversationname.java
index 5e7866a30353..c984f4f4a0b1 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/listmessages/SyncListMessagesConversationname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/listmessages/SyncListMessagesConversationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListMessagesConversationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       ConversationName parent =
           ConversationName.ofProjectConversationName("[PROJECT]", "[CONVERSATION]");
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/listmessages/SyncListMessagesString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/listmessages/SyncListMessagesString.java
index f7dedf7c66a7..5643ee267e1e 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/listmessages/SyncListMessagesString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationsclient/listmessages/SyncListMessagesString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListMessagesString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ConversationsClient conversationsClient = ConversationsClient.create()) {
       String parent =
           ConversationName.ofProjectConversationName("[PROJECT]", "[CONVERSATION]").toString();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationssettings/createconversation/SyncCreateConversation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationssettings/createconversation/SyncCreateConversation.java
index e4d3e012dc67..48919b960770 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationssettings/createconversation/SyncCreateConversation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/conversationssettings/createconversation/SyncCreateConversation.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateConversation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     ConversationsSettings.Builder conversationsSettingsBuilder = ConversationsSettings.newBuilder();
     conversationsSettingsBuilder
         .createConversationSettings()
         .setRetrySettings(
-            conversationsSettingsBuilder
-                .createConversationSettings()
-                .getRetrySettings()
-                .toBuilder()
+            conversationsSettingsBuilder.createConversationSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     ConversationsSettings conversationsSettings = conversationsSettingsBuilder.build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/create/SyncCreateSetCredentialsProvider.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/create/SyncCreateSetCredentialsProvider.java
index c5ee89187a97..b81aa1875089 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/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
     DocumentsSettings documentsSettings =
         DocumentsSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/create/SyncCreateSetCredentialsProvider1.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/create/SyncCreateSetCredentialsProvider1.java
index 3728091cc224..6c05282ec934 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/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
     DocumentsSettings documentsSettings =
         DocumentsSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/create/SyncCreateSetEndpoint.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/create/SyncCreateSetEndpoint.java
index 8d7a66d3bb89..d69929e71fc2 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/create/SyncCreateSetEndpoint.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/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
     DocumentsSettings documentsSettings =
         DocumentsSettings.newBuilder().setEndpoint(myEndpoint).build();
     DocumentsClient documentsClient = DocumentsClient.create(documentsSettings);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/createdocument/AsyncCreateDocument.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/createdocument/AsyncCreateDocument.java
index 3e2b3b416a9a..cecc033014e1 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/createdocument/AsyncCreateDocument.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/createdocument/AsyncCreateDocument.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateDocument() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       CreateDocumentRequest request =
           CreateDocumentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/createdocument/AsyncCreateDocumentLRO.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/createdocument/AsyncCreateDocumentLRO.java
index a39f89d4eeaa..8e30d1a52de6 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/createdocument/AsyncCreateDocumentLRO.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/createdocument/AsyncCreateDocumentLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateDocumentLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       CreateDocumentRequest request =
           CreateDocumentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/createdocument/SyncCreateDocument.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/createdocument/SyncCreateDocument.java
index bafb97f06308..4b767f2beac2 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/createdocument/SyncCreateDocument.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/createdocument/SyncCreateDocument.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateDocument() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       CreateDocumentRequest request =
           CreateDocumentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/createdocument/SyncCreateDocumentKnowledgebasenameDocument.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/createdocument/SyncCreateDocumentKnowledgebasenameDocument.java
index c6d5ac590ac7..7f5b5f4630fb 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/createdocument/SyncCreateDocumentKnowledgebasenameDocument.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/createdocument/SyncCreateDocumentKnowledgebasenameDocument.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateDocumentKnowledgebasenameDocument() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       KnowledgeBaseName parent =
           KnowledgeBaseName.ofProjectKnowledgeBaseName("[PROJECT]", "[KNOWLEDGE_BASE]");
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/createdocument/SyncCreateDocumentStringDocument.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/createdocument/SyncCreateDocumentStringDocument.java
index 66bc88b947de..01975d1129b0 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/createdocument/SyncCreateDocumentStringDocument.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/createdocument/SyncCreateDocumentStringDocument.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateDocumentStringDocument() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       String parent =
           KnowledgeBaseName.ofProjectKnowledgeBaseName("[PROJECT]", "[KNOWLEDGE_BASE]").toString();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/deletedocument/AsyncDeleteDocument.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/deletedocument/AsyncDeleteDocument.java
index 866b6fa9b77f..12810534e693 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/deletedocument/AsyncDeleteDocument.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/deletedocument/AsyncDeleteDocument.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteDocument() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       DeleteDocumentRequest request =
           DeleteDocumentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/deletedocument/AsyncDeleteDocumentLRO.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/deletedocument/AsyncDeleteDocumentLRO.java
index 379652d678c0..276e4488df2c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/deletedocument/AsyncDeleteDocumentLRO.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/deletedocument/AsyncDeleteDocumentLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteDocumentLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       DeleteDocumentRequest request =
           DeleteDocumentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/deletedocument/SyncDeleteDocument.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/deletedocument/SyncDeleteDocument.java
index c9de69b61f84..22be7cd32375 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/deletedocument/SyncDeleteDocument.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/deletedocument/SyncDeleteDocument.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteDocument() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       DeleteDocumentRequest request =
           DeleteDocumentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/deletedocument/SyncDeleteDocumentDocumentname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/deletedocument/SyncDeleteDocumentDocumentname.java
index c800bb676b36..7479fd878900 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/deletedocument/SyncDeleteDocumentDocumentname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/deletedocument/SyncDeleteDocumentDocumentname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteDocumentDocumentname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       DocumentName name =
           DocumentName.ofProjectKnowledgeBaseDocumentName(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/deletedocument/SyncDeleteDocumentString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/deletedocument/SyncDeleteDocumentString.java
index afb0f569db24..0178cf82633f 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/deletedocument/SyncDeleteDocumentString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/deletedocument/SyncDeleteDocumentString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteDocumentString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       String name =
           DocumentName.ofProjectKnowledgeBaseDocumentName(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/getdocument/AsyncGetDocument.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/getdocument/AsyncGetDocument.java
index 850caa9319db..9a0335646676 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/getdocument/AsyncGetDocument.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/getdocument/AsyncGetDocument.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetDocument() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       GetDocumentRequest request =
           GetDocumentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/getdocument/SyncGetDocument.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/getdocument/SyncGetDocument.java
index 459b1a8d2297..53d7298478ca 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/getdocument/SyncGetDocument.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/getdocument/SyncGetDocument.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetDocument() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       GetDocumentRequest request =
           GetDocumentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/getdocument/SyncGetDocumentDocumentname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/getdocument/SyncGetDocumentDocumentname.java
index c0a8f1c267cb..8277d23b55d7 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/getdocument/SyncGetDocumentDocumentname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/getdocument/SyncGetDocumentDocumentname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetDocumentDocumentname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       DocumentName name =
           DocumentName.ofProjectKnowledgeBaseDocumentName(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/getdocument/SyncGetDocumentString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/getdocument/SyncGetDocumentString.java
index 9d4490618e4d..b236b4c34433 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/getdocument/SyncGetDocumentString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/getdocument/SyncGetDocumentString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetDocumentString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       String name =
           DocumentName.ofProjectKnowledgeBaseDocumentName(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/getlocation/AsyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/getlocation/AsyncGetLocation.java
index 7ed45665ac64..dcc997ea96db 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/getlocation/AsyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/getlocation/AsyncGetLocation.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       ApiFuture future = documentsClient.getLocationCallable().futureCall(request);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/getlocation/SyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/getlocation/SyncGetLocation.java
index dfcb19aeff53..3c8ad1804a78 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/getlocation/SyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/getlocation/SyncGetLocation.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       Location response = documentsClient.getLocation(request);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/importdocuments/AsyncImportDocuments.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/importdocuments/AsyncImportDocuments.java
index 770dcf911ed8..de39070430ec 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/importdocuments/AsyncImportDocuments.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/importdocuments/AsyncImportDocuments.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncImportDocuments() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       ImportDocumentsRequest request =
           ImportDocumentsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/importdocuments/AsyncImportDocumentsLRO.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/importdocuments/AsyncImportDocumentsLRO.java
index 34e1cf03c5ba..6ed72da96242 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/importdocuments/AsyncImportDocumentsLRO.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/importdocuments/AsyncImportDocumentsLRO.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncImportDocumentsLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       ImportDocumentsRequest request =
           ImportDocumentsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/importdocuments/SyncImportDocuments.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/importdocuments/SyncImportDocuments.java
index 49b2aca8b0e5..5ad6bbcb8800 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/importdocuments/SyncImportDocuments.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/importdocuments/SyncImportDocuments.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncImportDocuments() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       ImportDocumentsRequest request =
           ImportDocumentsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/listdocuments/AsyncListDocuments.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/listdocuments/AsyncListDocuments.java
index a58d456f6eec..4691890170ea 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/listdocuments/AsyncListDocuments.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/listdocuments/AsyncListDocuments.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListDocuments() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       ListDocumentsRequest request =
           ListDocumentsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/listdocuments/AsyncListDocumentsPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/listdocuments/AsyncListDocumentsPaged.java
index 2d329f78adb4..1d7f3e413304 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/listdocuments/AsyncListDocumentsPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/listdocuments/AsyncListDocumentsPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListDocumentsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       ListDocumentsRequest request =
           ListDocumentsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/listdocuments/SyncListDocuments.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/listdocuments/SyncListDocuments.java
index 6bba9b390f78..c7cce9a7fca7 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/listdocuments/SyncListDocuments.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/listdocuments/SyncListDocuments.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListDocuments() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       ListDocumentsRequest request =
           ListDocumentsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/listdocuments/SyncListDocumentsKnowledgebasename.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/listdocuments/SyncListDocumentsKnowledgebasename.java
index 9d430c8ecc27..d822d8ef6596 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/listdocuments/SyncListDocumentsKnowledgebasename.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/listdocuments/SyncListDocumentsKnowledgebasename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListDocumentsKnowledgebasename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       KnowledgeBaseName parent =
           KnowledgeBaseName.ofProjectKnowledgeBaseName("[PROJECT]", "[KNOWLEDGE_BASE]");
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/listdocuments/SyncListDocumentsString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/listdocuments/SyncListDocumentsString.java
index c2abfb697a61..4c2009e5c055 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/listdocuments/SyncListDocumentsString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/listdocuments/SyncListDocumentsString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListDocumentsString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       String parent =
           KnowledgeBaseName.ofProjectKnowledgeBaseName("[PROJECT]", "[KNOWLEDGE_BASE]").toString();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/listlocations/AsyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/listlocations/AsyncListLocations.java
index f039259ccef1..d50e6f769314 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/listlocations/AsyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/listlocations/AsyncListLocations.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/listlocations/AsyncListLocationsPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/listlocations/AsyncListLocationsPaged.java
index 9057c19e6569..9bf96b7c782b 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/listlocations/AsyncListLocationsPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/listlocations/AsyncListLocationsPaged.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocationsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/listlocations/SyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/listlocations/SyncListLocations.java
index f1aea9e79617..4a24f546619f 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/listlocations/SyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/listlocations/SyncListLocations.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/reloaddocument/AsyncReloadDocument.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/reloaddocument/AsyncReloadDocument.java
index ddf427bb5c02..3a97f548a267 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/reloaddocument/AsyncReloadDocument.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/reloaddocument/AsyncReloadDocument.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncReloadDocument() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       ReloadDocumentRequest request =
           ReloadDocumentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/reloaddocument/AsyncReloadDocumentLRO.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/reloaddocument/AsyncReloadDocumentLRO.java
index 3b17a7039434..728af2e76d8c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/reloaddocument/AsyncReloadDocumentLRO.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/reloaddocument/AsyncReloadDocumentLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncReloadDocumentLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       ReloadDocumentRequest request =
           ReloadDocumentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/reloaddocument/SyncReloadDocument.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/reloaddocument/SyncReloadDocument.java
index 75236d7faa14..62a07df50bd1 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/reloaddocument/SyncReloadDocument.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/reloaddocument/SyncReloadDocument.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncReloadDocument() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       ReloadDocumentRequest request =
           ReloadDocumentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/reloaddocument/SyncReloadDocumentDocumentnameGcssource.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/reloaddocument/SyncReloadDocumentDocumentnameGcssource.java
index 7a9d699d3a75..59c0fbc41814 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/reloaddocument/SyncReloadDocumentDocumentnameGcssource.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/reloaddocument/SyncReloadDocumentDocumentnameGcssource.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncReloadDocumentDocumentnameGcssource() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       DocumentName name =
           DocumentName.ofProjectKnowledgeBaseDocumentName(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/reloaddocument/SyncReloadDocumentStringGcssource.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/reloaddocument/SyncReloadDocumentStringGcssource.java
index 4548332b1780..5559a220140c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/reloaddocument/SyncReloadDocumentStringGcssource.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/reloaddocument/SyncReloadDocumentStringGcssource.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncReloadDocumentStringGcssource() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       String name =
           DocumentName.ofProjectKnowledgeBaseDocumentName(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/updatedocument/AsyncUpdateDocument.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/updatedocument/AsyncUpdateDocument.java
index 8b26acc98064..b9da8acea026 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/updatedocument/AsyncUpdateDocument.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/updatedocument/AsyncUpdateDocument.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateDocument() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       UpdateDocumentRequest request =
           UpdateDocumentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/updatedocument/AsyncUpdateDocumentLRO.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/updatedocument/AsyncUpdateDocumentLRO.java
index 4a4f54176e7e..79b75bc46efc 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/updatedocument/AsyncUpdateDocumentLRO.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/updatedocument/AsyncUpdateDocumentLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateDocumentLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       UpdateDocumentRequest request =
           UpdateDocumentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/updatedocument/SyncUpdateDocument.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/updatedocument/SyncUpdateDocument.java
index 7ff8b383ddf2..9d8c332e38b2 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/updatedocument/SyncUpdateDocument.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/updatedocument/SyncUpdateDocument.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateDocument() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       UpdateDocumentRequest request =
           UpdateDocumentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/updatedocument/SyncUpdateDocumentDocument.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/updatedocument/SyncUpdateDocumentDocument.java
index 23941f0d4112..2ee6de75324d 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/updatedocument/SyncUpdateDocumentDocument.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/updatedocument/SyncUpdateDocumentDocument.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateDocumentDocument() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       Document document = Document.newBuilder().build();
       Document response = documentsClient.updateDocumentAsync(document).get();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/updatedocument/SyncUpdateDocumentDocumentFieldmask.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/updatedocument/SyncUpdateDocumentDocumentFieldmask.java
index 1316d7988eb8..df79fcc3dd22 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/updatedocument/SyncUpdateDocumentDocumentFieldmask.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentsclient/updatedocument/SyncUpdateDocumentDocumentFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateDocumentDocumentFieldmask() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DocumentsClient documentsClient = DocumentsClient.create()) {
       Document document = Document.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentssettings/getdocument/SyncGetDocument.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentssettings/getdocument/SyncGetDocument.java
index fbb36b1beaaa..4fd0d6999cd5 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentssettings/getdocument/SyncGetDocument.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/documentssettings/getdocument/SyncGetDocument.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetDocument() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     DocumentsSettings.Builder documentsSettingsBuilder = DocumentsSettings.newBuilder();
     documentsSettingsBuilder
         .getDocumentSettings()
         .setRetrySettings(
-            documentsSettingsBuilder
-                .getDocumentSettings()
-                .getRetrySettings()
-                .toBuilder()
+            documentsSettingsBuilder.getDocumentSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     DocumentsSettings documentsSettings = documentsSettingsBuilder.build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchcreateentities/AsyncBatchCreateEntities.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchcreateentities/AsyncBatchCreateEntities.java
index eed4a6b24b6b..c932d6ed046d 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchcreateentities/AsyncBatchCreateEntities.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchcreateentities/AsyncBatchCreateEntities.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncBatchCreateEntities() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       BatchCreateEntitiesRequest request =
           BatchCreateEntitiesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchcreateentities/AsyncBatchCreateEntitiesLRO.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchcreateentities/AsyncBatchCreateEntitiesLRO.java
index dd65e1b33f92..ca893662561a 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchcreateentities/AsyncBatchCreateEntitiesLRO.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchcreateentities/AsyncBatchCreateEntitiesLRO.java
@@ -33,8 +33,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncBatchCreateEntitiesLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       BatchCreateEntitiesRequest request =
           BatchCreateEntitiesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchcreateentities/SyncBatchCreateEntities.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchcreateentities/SyncBatchCreateEntities.java
index 19f7e9d8f0b4..611dc422e954 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchcreateentities/SyncBatchCreateEntities.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchcreateentities/SyncBatchCreateEntities.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchCreateEntities() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       BatchCreateEntitiesRequest request =
           BatchCreateEntitiesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchcreateentities/SyncBatchCreateEntitiesEntitytypenameListentitytypeentity.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchcreateentities/SyncBatchCreateEntitiesEntitytypenameListentitytypeentity.java
index b68cddd54e7d..42defb4cc317 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchcreateentities/SyncBatchCreateEntitiesEntitytypenameListentitytypeentity.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchcreateentities/SyncBatchCreateEntitiesEntitytypenameListentitytypeentity.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchCreateEntitiesEntitytypenameListentitytypeentity() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       EntityTypeName parent = EntityTypeName.ofProjectEntityTypeName("[PROJECT]", "[ENTITY_TYPE]");
       List entities = new ArrayList<>();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchcreateentities/SyncBatchCreateEntitiesEntitytypenameListentitytypeentityString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchcreateentities/SyncBatchCreateEntitiesEntitytypenameListentitytypeentityString.java
index 120d2341720e..d4abc29c5dea 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchcreateentities/SyncBatchCreateEntitiesEntitytypenameListentitytypeentityString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchcreateentities/SyncBatchCreateEntitiesEntitytypenameListentitytypeentityString.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
 
   public static void syncBatchCreateEntitiesEntitytypenameListentitytypeentityString()
       throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       EntityTypeName parent = EntityTypeName.ofProjectEntityTypeName("[PROJECT]", "[ENTITY_TYPE]");
       List entities = new ArrayList<>();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchcreateentities/SyncBatchCreateEntitiesStringListentitytypeentity.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchcreateentities/SyncBatchCreateEntitiesStringListentitytypeentity.java
index 38af2d0dc5a0..e6a932f5cc88 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchcreateentities/SyncBatchCreateEntitiesStringListentitytypeentity.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchcreateentities/SyncBatchCreateEntitiesStringListentitytypeentity.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchCreateEntitiesStringListentitytypeentity() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       String parent =
           EntityTypeName.ofProjectEntityTypeName("[PROJECT]", "[ENTITY_TYPE]").toString();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchcreateentities/SyncBatchCreateEntitiesStringListentitytypeentityString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchcreateentities/SyncBatchCreateEntitiesStringListentitytypeentityString.java
index 87cc2a9159cd..beae9802767b 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchcreateentities/SyncBatchCreateEntitiesStringListentitytypeentityString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchcreateentities/SyncBatchCreateEntitiesStringListentitytypeentityString.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchCreateEntitiesStringListentitytypeentityString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       String parent =
           EntityTypeName.ofProjectEntityTypeName("[PROJECT]", "[ENTITY_TYPE]").toString();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchdeleteentities/AsyncBatchDeleteEntities.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchdeleteentities/AsyncBatchDeleteEntities.java
index 621ab0483e37..b21ab11f75d0 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchdeleteentities/AsyncBatchDeleteEntities.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchdeleteentities/AsyncBatchDeleteEntities.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncBatchDeleteEntities() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       BatchDeleteEntitiesRequest request =
           BatchDeleteEntitiesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchdeleteentities/AsyncBatchDeleteEntitiesLRO.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchdeleteentities/AsyncBatchDeleteEntitiesLRO.java
index 2f64ebdf68a6..4e2a9237c86c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchdeleteentities/AsyncBatchDeleteEntitiesLRO.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchdeleteentities/AsyncBatchDeleteEntitiesLRO.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncBatchDeleteEntitiesLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       BatchDeleteEntitiesRequest request =
           BatchDeleteEntitiesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchdeleteentities/SyncBatchDeleteEntities.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchdeleteentities/SyncBatchDeleteEntities.java
index a52d2ae22530..d5384eee096e 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchdeleteentities/SyncBatchDeleteEntities.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchdeleteentities/SyncBatchDeleteEntities.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchDeleteEntities() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       BatchDeleteEntitiesRequest request =
           BatchDeleteEntitiesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchdeleteentities/SyncBatchDeleteEntitiesEntitytypenameListstring.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchdeleteentities/SyncBatchDeleteEntitiesEntitytypenameListstring.java
index 1bdbfddbb7bc..2765d6c0e67f 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchdeleteentities/SyncBatchDeleteEntitiesEntitytypenameListstring.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchdeleteentities/SyncBatchDeleteEntitiesEntitytypenameListstring.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchDeleteEntitiesEntitytypenameListstring() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       EntityTypeName parent = EntityTypeName.ofProjectEntityTypeName("[PROJECT]", "[ENTITY_TYPE]");
       List entityValues = new ArrayList<>();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchdeleteentities/SyncBatchDeleteEntitiesEntitytypenameListstringString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchdeleteentities/SyncBatchDeleteEntitiesEntitytypenameListstringString.java
index 5c58eaa9e8b3..774a49164267 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchdeleteentities/SyncBatchDeleteEntitiesEntitytypenameListstringString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchdeleteentities/SyncBatchDeleteEntitiesEntitytypenameListstringString.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchDeleteEntitiesEntitytypenameListstringString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       EntityTypeName parent = EntityTypeName.ofProjectEntityTypeName("[PROJECT]", "[ENTITY_TYPE]");
       List entityValues = new ArrayList<>();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchdeleteentities/SyncBatchDeleteEntitiesStringListstring.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchdeleteentities/SyncBatchDeleteEntitiesStringListstring.java
index 485e3eab2656..dbf636d773d9 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchdeleteentities/SyncBatchDeleteEntitiesStringListstring.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchdeleteentities/SyncBatchDeleteEntitiesStringListstring.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchDeleteEntitiesStringListstring() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       String parent =
           EntityTypeName.ofProjectEntityTypeName("[PROJECT]", "[ENTITY_TYPE]").toString();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchdeleteentities/SyncBatchDeleteEntitiesStringListstringString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchdeleteentities/SyncBatchDeleteEntitiesStringListstringString.java
index 7d7308545a28..865088ce8452 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchdeleteentities/SyncBatchDeleteEntitiesStringListstringString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchdeleteentities/SyncBatchDeleteEntitiesStringListstringString.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchDeleteEntitiesStringListstringString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       String parent =
           EntityTypeName.ofProjectEntityTypeName("[PROJECT]", "[ENTITY_TYPE]").toString();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchdeleteentitytypes/AsyncBatchDeleteEntityTypes.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchdeleteentitytypes/AsyncBatchDeleteEntityTypes.java
index aa1998d25043..6c41df91faef 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchdeleteentitytypes/AsyncBatchDeleteEntityTypes.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchdeleteentitytypes/AsyncBatchDeleteEntityTypes.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncBatchDeleteEntityTypes() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       BatchDeleteEntityTypesRequest request =
           BatchDeleteEntityTypesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchdeleteentitytypes/AsyncBatchDeleteEntityTypesLRO.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchdeleteentitytypes/AsyncBatchDeleteEntityTypesLRO.java
index c247d0d60eb3..26558c074e6a 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchdeleteentitytypes/AsyncBatchDeleteEntityTypesLRO.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchdeleteentitytypes/AsyncBatchDeleteEntityTypesLRO.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncBatchDeleteEntityTypesLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       BatchDeleteEntityTypesRequest request =
           BatchDeleteEntityTypesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchdeleteentitytypes/SyncBatchDeleteEntityTypes.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchdeleteentitytypes/SyncBatchDeleteEntityTypes.java
index 2b57afc53c26..c0d42ebcb71a 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchdeleteentitytypes/SyncBatchDeleteEntityTypes.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchdeleteentitytypes/SyncBatchDeleteEntityTypes.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchDeleteEntityTypes() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       BatchDeleteEntityTypesRequest request =
           BatchDeleteEntityTypesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchdeleteentitytypes/SyncBatchDeleteEntityTypesAgentnameListstring.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchdeleteentitytypes/SyncBatchDeleteEntityTypesAgentnameListstring.java
index debeb587aa48..97ce31fe0eb9 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchdeleteentitytypes/SyncBatchDeleteEntityTypesAgentnameListstring.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchdeleteentitytypes/SyncBatchDeleteEntityTypesAgentnameListstring.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchDeleteEntityTypesAgentnameListstring() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       AgentName parent = AgentName.ofProjectName("[PROJECT]");
       List entityTypeNames = new ArrayList<>();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchdeleteentitytypes/SyncBatchDeleteEntityTypesStringListstring.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchdeleteentitytypes/SyncBatchDeleteEntityTypesStringListstring.java
index f23360410268..3dd426b008a7 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchdeleteentitytypes/SyncBatchDeleteEntityTypesStringListstring.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchdeleteentitytypes/SyncBatchDeleteEntityTypesStringListstring.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchDeleteEntityTypesStringListstring() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       String parent = AgentName.ofProjectName("[PROJECT]").toString();
       List entityTypeNames = new ArrayList<>();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchupdateentities/AsyncBatchUpdateEntities.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchupdateentities/AsyncBatchUpdateEntities.java
index 1903b38b5d69..b6d9dd5f3145 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchupdateentities/AsyncBatchUpdateEntities.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchupdateentities/AsyncBatchUpdateEntities.java
@@ -33,8 +33,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncBatchUpdateEntities() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       BatchUpdateEntitiesRequest request =
           BatchUpdateEntitiesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchupdateentities/AsyncBatchUpdateEntitiesLRO.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchupdateentities/AsyncBatchUpdateEntitiesLRO.java
index 5541b9a60ae3..a4d088526a8f 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchupdateentities/AsyncBatchUpdateEntitiesLRO.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchupdateentities/AsyncBatchUpdateEntitiesLRO.java
@@ -34,8 +34,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncBatchUpdateEntitiesLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       BatchUpdateEntitiesRequest request =
           BatchUpdateEntitiesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchupdateentities/SyncBatchUpdateEntities.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchupdateentities/SyncBatchUpdateEntities.java
index a996d72b521e..fde1e624c1db 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchupdateentities/SyncBatchUpdateEntities.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchupdateentities/SyncBatchUpdateEntities.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchUpdateEntities() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       BatchUpdateEntitiesRequest request =
           BatchUpdateEntitiesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchupdateentities/SyncBatchUpdateEntitiesEntitytypenameListentitytypeentity.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchupdateentities/SyncBatchUpdateEntitiesEntitytypenameListentitytypeentity.java
index 7a252fb9e16a..350480cb57de 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchupdateentities/SyncBatchUpdateEntitiesEntitytypenameListentitytypeentity.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchupdateentities/SyncBatchUpdateEntitiesEntitytypenameListentitytypeentity.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchUpdateEntitiesEntitytypenameListentitytypeentity() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       EntityTypeName parent = EntityTypeName.ofProjectEntityTypeName("[PROJECT]", "[ENTITY_TYPE]");
       List entities = new ArrayList<>();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchupdateentities/SyncBatchUpdateEntitiesEntitytypenameListentitytypeentityString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchupdateentities/SyncBatchUpdateEntitiesEntitytypenameListentitytypeentityString.java
index 52c66afed6e6..1c0e679dda9c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchupdateentities/SyncBatchUpdateEntitiesEntitytypenameListentitytypeentityString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchupdateentities/SyncBatchUpdateEntitiesEntitytypenameListentitytypeentityString.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
 
   public static void syncBatchUpdateEntitiesEntitytypenameListentitytypeentityString()
       throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       EntityTypeName parent = EntityTypeName.ofProjectEntityTypeName("[PROJECT]", "[ENTITY_TYPE]");
       List entities = new ArrayList<>();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchupdateentities/SyncBatchUpdateEntitiesStringListentitytypeentity.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchupdateentities/SyncBatchUpdateEntitiesStringListentitytypeentity.java
index f6e55ebccdda..f8ab4bd52ee1 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchupdateentities/SyncBatchUpdateEntitiesStringListentitytypeentity.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchupdateentities/SyncBatchUpdateEntitiesStringListentitytypeentity.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchUpdateEntitiesStringListentitytypeentity() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       String parent =
           EntityTypeName.ofProjectEntityTypeName("[PROJECT]", "[ENTITY_TYPE]").toString();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchupdateentities/SyncBatchUpdateEntitiesStringListentitytypeentityString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchupdateentities/SyncBatchUpdateEntitiesStringListentitytypeentityString.java
index dd79a49271f6..bb055de55202 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchupdateentities/SyncBatchUpdateEntitiesStringListentitytypeentityString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchupdateentities/SyncBatchUpdateEntitiesStringListentitytypeentityString.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchUpdateEntitiesStringListentitytypeentityString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       String parent =
           EntityTypeName.ofProjectEntityTypeName("[PROJECT]", "[ENTITY_TYPE]").toString();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchupdateentitytypes/AsyncBatchUpdateEntityTypes.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchupdateentitytypes/AsyncBatchUpdateEntityTypes.java
index 3a1fb742a297..2c530ad5314e 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchupdateentitytypes/AsyncBatchUpdateEntityTypes.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchupdateentitytypes/AsyncBatchUpdateEntityTypes.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncBatchUpdateEntityTypes() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       BatchUpdateEntityTypesRequest request =
           BatchUpdateEntityTypesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchupdateentitytypes/AsyncBatchUpdateEntityTypesLRO.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchupdateentitytypes/AsyncBatchUpdateEntityTypesLRO.java
index 4af338972fc1..1d564fb43a97 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchupdateentitytypes/AsyncBatchUpdateEntityTypesLRO.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchupdateentitytypes/AsyncBatchUpdateEntityTypesLRO.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncBatchUpdateEntityTypesLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       BatchUpdateEntityTypesRequest request =
           BatchUpdateEntityTypesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchupdateentitytypes/SyncBatchUpdateEntityTypes.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchupdateentitytypes/SyncBatchUpdateEntityTypes.java
index d7084537b3f2..a2e831817059 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchupdateentitytypes/SyncBatchUpdateEntityTypes.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/batchupdateentitytypes/SyncBatchUpdateEntityTypes.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchUpdateEntityTypes() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       BatchUpdateEntityTypesRequest request =
           BatchUpdateEntityTypesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/create/SyncCreateSetCredentialsProvider.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/create/SyncCreateSetCredentialsProvider.java
index f2f5409a1c19..7a112ad5390b 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/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
     EntityTypesSettings entityTypesSettings =
         EntityTypesSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/create/SyncCreateSetCredentialsProvider1.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/create/SyncCreateSetCredentialsProvider1.java
index 8322acae6973..9f839d0f03c9 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/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
     EntityTypesSettings entityTypesSettings =
         EntityTypesSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/create/SyncCreateSetEndpoint.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/create/SyncCreateSetEndpoint.java
index 080cdf8464e2..a6984fd6e712 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/create/SyncCreateSetEndpoint.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/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
     EntityTypesSettings entityTypesSettings =
         EntityTypesSettings.newBuilder().setEndpoint(myEndpoint).build();
     EntityTypesClient entityTypesClient = EntityTypesClient.create(entityTypesSettings);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/createentitytype/AsyncCreateEntityType.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/createentitytype/AsyncCreateEntityType.java
index 74ac896fe1ce..6fb6158680e8 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/createentitytype/AsyncCreateEntityType.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/createentitytype/AsyncCreateEntityType.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateEntityType() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       CreateEntityTypeRequest request =
           CreateEntityTypeRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/createentitytype/SyncCreateEntityType.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/createentitytype/SyncCreateEntityType.java
index 0c774a0827a1..5a930bc60053 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/createentitytype/SyncCreateEntityType.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/createentitytype/SyncCreateEntityType.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateEntityType() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       CreateEntityTypeRequest request =
           CreateEntityTypeRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/createentitytype/SyncCreateEntityTypeAgentnameEntitytype.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/createentitytype/SyncCreateEntityTypeAgentnameEntitytype.java
index 7eac54c8a605..1780c66d8060 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/createentitytype/SyncCreateEntityTypeAgentnameEntitytype.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/createentitytype/SyncCreateEntityTypeAgentnameEntitytype.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateEntityTypeAgentnameEntitytype() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       AgentName parent = AgentName.ofProjectName("[PROJECT]");
       EntityType entityType = EntityType.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/createentitytype/SyncCreateEntityTypeAgentnameEntitytypeString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/createentitytype/SyncCreateEntityTypeAgentnameEntitytypeString.java
index 9f12c6680a3f..91927e43e339 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/createentitytype/SyncCreateEntityTypeAgentnameEntitytypeString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/createentitytype/SyncCreateEntityTypeAgentnameEntitytypeString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateEntityTypeAgentnameEntitytypeString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       AgentName parent = AgentName.ofProjectName("[PROJECT]");
       EntityType entityType = EntityType.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/createentitytype/SyncCreateEntityTypeStringEntitytype.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/createentitytype/SyncCreateEntityTypeStringEntitytype.java
index b4df1fc125ea..36a2f245aea2 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/createentitytype/SyncCreateEntityTypeStringEntitytype.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/createentitytype/SyncCreateEntityTypeStringEntitytype.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateEntityTypeStringEntitytype() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       String parent = AgentName.ofProjectName("[PROJECT]").toString();
       EntityType entityType = EntityType.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/createentitytype/SyncCreateEntityTypeStringEntitytypeString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/createentitytype/SyncCreateEntityTypeStringEntitytypeString.java
index 34efecd45d5a..da7f6500b2dc 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/createentitytype/SyncCreateEntityTypeStringEntitytypeString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/createentitytype/SyncCreateEntityTypeStringEntitytypeString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateEntityTypeStringEntitytypeString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       String parent = AgentName.ofProjectName("[PROJECT]").toString();
       EntityType entityType = EntityType.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/deleteentitytype/AsyncDeleteEntityType.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/deleteentitytype/AsyncDeleteEntityType.java
index fc49e73a8322..677489f5a52c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/deleteentitytype/AsyncDeleteEntityType.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/deleteentitytype/AsyncDeleteEntityType.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteEntityType() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       DeleteEntityTypeRequest request =
           DeleteEntityTypeRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/deleteentitytype/SyncDeleteEntityType.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/deleteentitytype/SyncDeleteEntityType.java
index 2e215efcca29..6925f4cb63b9 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/deleteentitytype/SyncDeleteEntityType.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/deleteentitytype/SyncDeleteEntityType.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteEntityType() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       DeleteEntityTypeRequest request =
           DeleteEntityTypeRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/deleteentitytype/SyncDeleteEntityTypeEntitytypename.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/deleteentitytype/SyncDeleteEntityTypeEntitytypename.java
index d7d8687c314f..d3100a90036e 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/deleteentitytype/SyncDeleteEntityTypeEntitytypename.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/deleteentitytype/SyncDeleteEntityTypeEntitytypename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteEntityTypeEntitytypename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       EntityTypeName name = EntityTypeName.ofProjectEntityTypeName("[PROJECT]", "[ENTITY_TYPE]");
       entityTypesClient.deleteEntityType(name);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/deleteentitytype/SyncDeleteEntityTypeString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/deleteentitytype/SyncDeleteEntityTypeString.java
index 378edd02e640..c217b1aacfbb 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/deleteentitytype/SyncDeleteEntityTypeString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/deleteentitytype/SyncDeleteEntityTypeString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteEntityTypeString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       String name = EntityTypeName.ofProjectEntityTypeName("[PROJECT]", "[ENTITY_TYPE]").toString();
       entityTypesClient.deleteEntityType(name);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/getentitytype/AsyncGetEntityType.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/getentitytype/AsyncGetEntityType.java
index 9885b5a97d6c..2563e6c0b5f6 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/getentitytype/AsyncGetEntityType.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/getentitytype/AsyncGetEntityType.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetEntityType() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       GetEntityTypeRequest request =
           GetEntityTypeRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/getentitytype/SyncGetEntityType.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/getentitytype/SyncGetEntityType.java
index 29fc341dd6ac..8b0c6e056856 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/getentitytype/SyncGetEntityType.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/getentitytype/SyncGetEntityType.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetEntityType() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       GetEntityTypeRequest request =
           GetEntityTypeRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/getentitytype/SyncGetEntityTypeEntitytypename.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/getentitytype/SyncGetEntityTypeEntitytypename.java
index 3780fe9553b2..e61bd1a8f595 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/getentitytype/SyncGetEntityTypeEntitytypename.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/getentitytype/SyncGetEntityTypeEntitytypename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetEntityTypeEntitytypename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       EntityTypeName name = EntityTypeName.ofProjectEntityTypeName("[PROJECT]", "[ENTITY_TYPE]");
       EntityType response = entityTypesClient.getEntityType(name);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/getentitytype/SyncGetEntityTypeEntitytypenameString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/getentitytype/SyncGetEntityTypeEntitytypenameString.java
index b656f861e97d..fa25731e7254 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/getentitytype/SyncGetEntityTypeEntitytypenameString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/getentitytype/SyncGetEntityTypeEntitytypenameString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetEntityTypeEntitytypenameString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       EntityTypeName name = EntityTypeName.ofProjectEntityTypeName("[PROJECT]", "[ENTITY_TYPE]");
       String languageCode = "languageCode-2092349083";
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/getentitytype/SyncGetEntityTypeString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/getentitytype/SyncGetEntityTypeString.java
index 5431d88d38e8..f40f019b3616 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/getentitytype/SyncGetEntityTypeString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/getentitytype/SyncGetEntityTypeString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetEntityTypeString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       String name = EntityTypeName.ofProjectEntityTypeName("[PROJECT]", "[ENTITY_TYPE]").toString();
       EntityType response = entityTypesClient.getEntityType(name);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/getentitytype/SyncGetEntityTypeStringString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/getentitytype/SyncGetEntityTypeStringString.java
index fe633e0049f4..312356653677 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/getentitytype/SyncGetEntityTypeStringString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/getentitytype/SyncGetEntityTypeStringString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetEntityTypeStringString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       String name = EntityTypeName.ofProjectEntityTypeName("[PROJECT]", "[ENTITY_TYPE]").toString();
       String languageCode = "languageCode-2092349083";
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/getlocation/AsyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/getlocation/AsyncGetLocation.java
index dcda2c9725de..b8c0b6f41e4f 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/getlocation/AsyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/getlocation/AsyncGetLocation.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       ApiFuture future = entityTypesClient.getLocationCallable().futureCall(request);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/getlocation/SyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/getlocation/SyncGetLocation.java
index dd6b34dc300f..c3d57b07ab00 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/getlocation/SyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/getlocation/SyncGetLocation.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       Location response = entityTypesClient.getLocation(request);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/listentitytypes/AsyncListEntityTypes.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/listentitytypes/AsyncListEntityTypes.java
index e7308bb604ff..60085a01d51a 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/listentitytypes/AsyncListEntityTypes.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/listentitytypes/AsyncListEntityTypes.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListEntityTypes() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       ListEntityTypesRequest request =
           ListEntityTypesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/listentitytypes/AsyncListEntityTypesPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/listentitytypes/AsyncListEntityTypesPaged.java
index 92c74e7489a6..b0472e4b5ebf 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/listentitytypes/AsyncListEntityTypesPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/listentitytypes/AsyncListEntityTypesPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListEntityTypesPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       ListEntityTypesRequest request =
           ListEntityTypesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/listentitytypes/SyncListEntityTypes.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/listentitytypes/SyncListEntityTypes.java
index 618508efb5f5..c712b7ee1f01 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/listentitytypes/SyncListEntityTypes.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/listentitytypes/SyncListEntityTypes.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListEntityTypes() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       ListEntityTypesRequest request =
           ListEntityTypesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/listentitytypes/SyncListEntityTypesAgentname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/listentitytypes/SyncListEntityTypesAgentname.java
index 91082857565a..63c7196a9891 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/listentitytypes/SyncListEntityTypesAgentname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/listentitytypes/SyncListEntityTypesAgentname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListEntityTypesAgentname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       AgentName parent = AgentName.ofProjectName("[PROJECT]");
       for (EntityType element : entityTypesClient.listEntityTypes(parent).iterateAll()) {
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/listentitytypes/SyncListEntityTypesAgentnameString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/listentitytypes/SyncListEntityTypesAgentnameString.java
index ed30e068c037..f708be27851c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/listentitytypes/SyncListEntityTypesAgentnameString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/listentitytypes/SyncListEntityTypesAgentnameString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListEntityTypesAgentnameString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       AgentName parent = AgentName.ofProjectName("[PROJECT]");
       String languageCode = "languageCode-2092349083";
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/listentitytypes/SyncListEntityTypesString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/listentitytypes/SyncListEntityTypesString.java
index cf089574bbe1..2ef834781a67 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/listentitytypes/SyncListEntityTypesString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/listentitytypes/SyncListEntityTypesString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListEntityTypesString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       String parent = AgentName.ofProjectName("[PROJECT]").toString();
       for (EntityType element : entityTypesClient.listEntityTypes(parent).iterateAll()) {
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/listentitytypes/SyncListEntityTypesStringString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/listentitytypes/SyncListEntityTypesStringString.java
index 3618b4943fbd..93b6a77ca34b 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/listentitytypes/SyncListEntityTypesStringString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/listentitytypes/SyncListEntityTypesStringString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListEntityTypesStringString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       String parent = AgentName.ofProjectName("[PROJECT]").toString();
       String languageCode = "languageCode-2092349083";
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/listlocations/AsyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/listlocations/AsyncListLocations.java
index 084a13ed58e2..6da7942bc1ff 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/listlocations/AsyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/listlocations/AsyncListLocations.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/listlocations/AsyncListLocationsPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/listlocations/AsyncListLocationsPaged.java
index 5d9d6c1f4d37..e7265bc0ff01 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/listlocations/AsyncListLocationsPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/listlocations/AsyncListLocationsPaged.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocationsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/listlocations/SyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/listlocations/SyncListLocations.java
index 376ef505a8eb..b750161a8c42 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/listlocations/SyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/listlocations/SyncListLocations.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/updateentitytype/AsyncUpdateEntityType.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/updateentitytype/AsyncUpdateEntityType.java
index fbfa060b4258..8872fe08fdf2 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/updateentitytype/AsyncUpdateEntityType.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/updateentitytype/AsyncUpdateEntityType.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateEntityType() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       UpdateEntityTypeRequest request =
           UpdateEntityTypeRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/updateentitytype/SyncUpdateEntityType.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/updateentitytype/SyncUpdateEntityType.java
index 6178d113a127..912b7393b5fb 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/updateentitytype/SyncUpdateEntityType.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/updateentitytype/SyncUpdateEntityType.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateEntityType() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       UpdateEntityTypeRequest request =
           UpdateEntityTypeRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/updateentitytype/SyncUpdateEntityTypeEntitytype.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/updateentitytype/SyncUpdateEntityTypeEntitytype.java
index f9fca8ea83f7..c38dc0e49886 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/updateentitytype/SyncUpdateEntityTypeEntitytype.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/updateentitytype/SyncUpdateEntityTypeEntitytype.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateEntityTypeEntitytype() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       EntityType entityType = EntityType.newBuilder().build();
       EntityType response = entityTypesClient.updateEntityType(entityType);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/updateentitytype/SyncUpdateEntityTypeEntitytypeString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/updateentitytype/SyncUpdateEntityTypeEntitytypeString.java
index 48c4d5b34e1c..21b4857c9efb 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/updateentitytype/SyncUpdateEntityTypeEntitytypeString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/updateentitytype/SyncUpdateEntityTypeEntitytypeString.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateEntityTypeEntitytypeString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       EntityType entityType = EntityType.newBuilder().build();
       String languageCode = "languageCode-2092349083";
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/updateentitytype/SyncUpdateEntityTypeEntitytypeStringFieldmask.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/updateentitytype/SyncUpdateEntityTypeEntitytypeStringFieldmask.java
index c642d42b53ee..a078b1d3bc48 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/updateentitytype/SyncUpdateEntityTypeEntitytypeStringFieldmask.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypesclient/updateentitytype/SyncUpdateEntityTypeEntitytypeStringFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateEntityTypeEntitytypeStringFieldmask() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
       EntityType entityType = EntityType.newBuilder().build();
       String languageCode = "languageCode-2092349083";
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypessettings/getentitytype/SyncGetEntityType.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypessettings/getentitytype/SyncGetEntityType.java
index 5f1d877a3c81..6921b3bd6cef 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypessettings/getentitytype/SyncGetEntityType.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/entitytypessettings/getentitytype/SyncGetEntityType.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetEntityType() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     EntityTypesSettings.Builder entityTypesSettingsBuilder = EntityTypesSettings.newBuilder();
     entityTypesSettingsBuilder
         .getEntityTypeSettings()
         .setRetrySettings(
-            entityTypesSettingsBuilder
-                .getEntityTypeSettings()
-                .getRetrySettings()
-                .toBuilder()
+            entityTypesSettingsBuilder.getEntityTypeSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     EntityTypesSettings entityTypesSettings = entityTypesSettingsBuilder.build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/create/SyncCreateSetCredentialsProvider.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/create/SyncCreateSetCredentialsProvider.java
index 9f755c7aa981..3100345a32a6 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/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-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/create/SyncCreateSetCredentialsProvider1.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/create/SyncCreateSetCredentialsProvider1.java
index 26146f837732..a3586fa29b8c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/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-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/create/SyncCreateSetEndpoint.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/create/SyncCreateSetEndpoint.java
index 4f55cc030ce9..6f0294b44c3b 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/create/SyncCreateSetEndpoint.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/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-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/createenvironment/AsyncCreateEnvironment.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/createenvironment/AsyncCreateEnvironment.java
index 33f05603bc31..2e72e68eb8a1 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/createenvironment/AsyncCreateEnvironment.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/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-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/createenvironment/SyncCreateEnvironment.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/createenvironment/SyncCreateEnvironment.java
index 21c5652322e0..eed17beeb91a 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/createenvironment/SyncCreateEnvironment.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/createenvironment/SyncCreateEnvironment.java
@@ -29,8 +29,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-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/deleteenvironment/AsyncDeleteEnvironment.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/deleteenvironment/AsyncDeleteEnvironment.java
index 8507855f3ad1..0c2145926a90 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/deleteenvironment/AsyncDeleteEnvironment.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/deleteenvironment/AsyncDeleteEnvironment.java
@@ -30,8 +30,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()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/deleteenvironment/SyncDeleteEnvironment.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/deleteenvironment/SyncDeleteEnvironment.java
index ef94bc75a61c..551927e40515 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/deleteenvironment/SyncDeleteEnvironment.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/deleteenvironment/SyncDeleteEnvironment.java
@@ -29,8 +29,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()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/getenvironment/AsyncGetEnvironment.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/getenvironment/AsyncGetEnvironment.java
index bee90c7211a5..04ccfb158c2e 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/getenvironment/AsyncGetEnvironment.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/getenvironment/AsyncGetEnvironment.java
@@ -30,8 +30,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()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/getenvironment/SyncGetEnvironment.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/getenvironment/SyncGetEnvironment.java
index 136d93817b24..5be47f84551b 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/getenvironment/SyncGetEnvironment.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/getenvironment/SyncGetEnvironment.java
@@ -29,8 +29,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()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/getenvironmenthistory/AsyncGetEnvironmentHistory.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/getenvironmenthistory/AsyncGetEnvironmentHistory.java
index 4861589ec788..37cc0bdc6b20 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/getenvironmenthistory/AsyncGetEnvironmentHistory.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/getenvironmenthistory/AsyncGetEnvironmentHistory.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetEnvironmentHistory() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying 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()) {
       GetEnvironmentHistoryRequest request =
           GetEnvironmentHistoryRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/getenvironmenthistory/AsyncGetEnvironmentHistoryPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/getenvironmenthistory/AsyncGetEnvironmentHistoryPaged.java
index e5983717bde6..a86597d72425 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/getenvironmenthistory/AsyncGetEnvironmentHistoryPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/getenvironmenthistory/AsyncGetEnvironmentHistoryPaged.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetEnvironmentHistoryPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying 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()) {
       GetEnvironmentHistoryRequest request =
           GetEnvironmentHistoryRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/getenvironmenthistory/SyncGetEnvironmentHistory.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/getenvironmenthistory/SyncGetEnvironmentHistory.java
index f30691cad008..478d4ab64a1f 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/getenvironmenthistory/SyncGetEnvironmentHistory.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/getenvironmenthistory/SyncGetEnvironmentHistory.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetEnvironmentHistory() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying 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()) {
       GetEnvironmentHistoryRequest request =
           GetEnvironmentHistoryRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/getlocation/AsyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/getlocation/AsyncGetLocation.java
index 0a78315e57fd..27e87615205c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/getlocation/AsyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/getlocation/AsyncGetLocation.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       ApiFuture future = environmentsClient.getLocationCallable().futureCall(request);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/getlocation/SyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/getlocation/SyncGetLocation.java
index b0b7eff995a0..40a05b52c675 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/getlocation/SyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/getlocation/SyncGetLocation.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       Location response = environmentsClient.getLocation(request);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/listenvironments/AsyncListEnvironments.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/listenvironments/AsyncListEnvironments.java
index 234ee5b50526..94c35e1ddd80 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/listenvironments/AsyncListEnvironments.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/listenvironments/AsyncListEnvironments.java
@@ -30,8 +30,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-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/listenvironments/AsyncListEnvironmentsPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/listenvironments/AsyncListEnvironmentsPaged.java
index fc138b3074a4..802e0933f452 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/listenvironments/AsyncListEnvironmentsPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/listenvironments/AsyncListEnvironmentsPaged.java
@@ -31,8 +31,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-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/listenvironments/SyncListEnvironments.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/listenvironments/SyncListEnvironments.java
index 90332bcd5c13..77f52898eb8d 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/listenvironments/SyncListEnvironments.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/listenvironments/SyncListEnvironments.java
@@ -29,8 +29,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-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/listenvironments/SyncListEnvironmentsAgentname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/listenvironments/SyncListEnvironmentsAgentname.java
index 7619d3bb39da..05aa8991227f 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/listenvironments/SyncListEnvironmentsAgentname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/listenvironments/SyncListEnvironmentsAgentname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListEnvironmentsAgentname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying 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()) {
       AgentName parent = AgentName.ofProjectName("[PROJECT]");
       for (Environment element : environmentsClient.listEnvironments(parent).iterateAll()) {
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/listenvironments/SyncListEnvironmentsString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/listenvironments/SyncListEnvironmentsString.java
index bf4441316f3e..478fc5849883 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/listenvironments/SyncListEnvironmentsString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/listenvironments/SyncListEnvironmentsString.java
@@ -28,8 +28,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 = AgentName.ofProjectName("[PROJECT]").toString();
       for (Environment element : environmentsClient.listEnvironments(parent).iterateAll()) {
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/listlocations/AsyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/listlocations/AsyncListLocations.java
index 1bceb7a9d303..56661e4daedc 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/listlocations/AsyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/listlocations/AsyncListLocations.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/listlocations/AsyncListLocationsPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/listlocations/AsyncListLocationsPaged.java
index 3e74dd10c1b3..748aace19e98 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/listlocations/AsyncListLocationsPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/listlocations/AsyncListLocationsPaged.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocationsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/listlocations/SyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/listlocations/SyncListLocations.java
index 5dfd0a7baaea..4306ed0072c4 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/listlocations/SyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/listlocations/SyncListLocations.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/updateenvironment/AsyncUpdateEnvironment.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/updateenvironment/AsyncUpdateEnvironment.java
index 122d2b024c1a..46dfc65191b4 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/updateenvironment/AsyncUpdateEnvironment.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/updateenvironment/AsyncUpdateEnvironment.java
@@ -30,8 +30,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-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/updateenvironment/SyncUpdateEnvironment.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/updateenvironment/SyncUpdateEnvironment.java
index cc82df00e32b..292bab044b7a 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentsclient/updateenvironment/SyncUpdateEnvironment.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/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-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentssettings/getenvironment/SyncGetEnvironment.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentssettings/getenvironment/SyncGetEnvironment.java
index 6321fdf93523..94271c1effbf 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/environmentssettings/getenvironment/SyncGetEnvironment.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/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-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/create/SyncCreateSetCredentialsProvider.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/create/SyncCreateSetCredentialsProvider.java
index f94b02ce022a..1a44697c823a 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/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
     FulfillmentsSettings fulfillmentsSettings =
         FulfillmentsSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/create/SyncCreateSetCredentialsProvider1.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/create/SyncCreateSetCredentialsProvider1.java
index c4ed7f63ae07..6e54b53cf573 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/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
     FulfillmentsSettings fulfillmentsSettings =
         FulfillmentsSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/create/SyncCreateSetEndpoint.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/create/SyncCreateSetEndpoint.java
index 4f112d0c75b8..212f4b365c79 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/create/SyncCreateSetEndpoint.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/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
     FulfillmentsSettings fulfillmentsSettings =
         FulfillmentsSettings.newBuilder().setEndpoint(myEndpoint).build();
     FulfillmentsClient fulfillmentsClient = FulfillmentsClient.create(fulfillmentsSettings);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/getfulfillment/AsyncGetFulfillment.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/getfulfillment/AsyncGetFulfillment.java
index 1121799384ad..560a6833a2d6 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/getfulfillment/AsyncGetFulfillment.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/getfulfillment/AsyncGetFulfillment.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetFulfillment() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FulfillmentsClient fulfillmentsClient = FulfillmentsClient.create()) {
       GetFulfillmentRequest request =
           GetFulfillmentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/getfulfillment/SyncGetFulfillment.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/getfulfillment/SyncGetFulfillment.java
index e56e3d53c869..ffd8d425bb17 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/getfulfillment/SyncGetFulfillment.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/getfulfillment/SyncGetFulfillment.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetFulfillment() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FulfillmentsClient fulfillmentsClient = FulfillmentsClient.create()) {
       GetFulfillmentRequest request =
           GetFulfillmentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/getfulfillment/SyncGetFulfillmentFulfillmentname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/getfulfillment/SyncGetFulfillmentFulfillmentname.java
index dd104b201951..daf8275ae722 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/getfulfillment/SyncGetFulfillmentFulfillmentname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/getfulfillment/SyncGetFulfillmentFulfillmentname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetFulfillmentFulfillmentname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FulfillmentsClient fulfillmentsClient = FulfillmentsClient.create()) {
       FulfillmentName name = FulfillmentName.ofProjectName("[PROJECT]");
       Fulfillment response = fulfillmentsClient.getFulfillment(name);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/getfulfillment/SyncGetFulfillmentString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/getfulfillment/SyncGetFulfillmentString.java
index 042a00cd0992..c3e4a65e211a 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/getfulfillment/SyncGetFulfillmentString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/getfulfillment/SyncGetFulfillmentString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetFulfillmentString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FulfillmentsClient fulfillmentsClient = FulfillmentsClient.create()) {
       String name = FulfillmentName.ofProjectName("[PROJECT]").toString();
       Fulfillment response = fulfillmentsClient.getFulfillment(name);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/getlocation/AsyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/getlocation/AsyncGetLocation.java
index be32239d7dbc..f4494f68e8f9 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/getlocation/AsyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/getlocation/AsyncGetLocation.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FulfillmentsClient fulfillmentsClient = FulfillmentsClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       ApiFuture future = fulfillmentsClient.getLocationCallable().futureCall(request);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/getlocation/SyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/getlocation/SyncGetLocation.java
index 684a52358ea9..4ed9bd321e24 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/getlocation/SyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/getlocation/SyncGetLocation.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FulfillmentsClient fulfillmentsClient = FulfillmentsClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       Location response = fulfillmentsClient.getLocation(request);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/listlocations/AsyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/listlocations/AsyncListLocations.java
index 1bb26c71f64f..8b4cc53afae8 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/listlocations/AsyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/listlocations/AsyncListLocations.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FulfillmentsClient fulfillmentsClient = FulfillmentsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/listlocations/AsyncListLocationsPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/listlocations/AsyncListLocationsPaged.java
index a2f2ac8194eb..adcca5c98dd6 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/listlocations/AsyncListLocationsPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/listlocations/AsyncListLocationsPaged.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocationsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FulfillmentsClient fulfillmentsClient = FulfillmentsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/listlocations/SyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/listlocations/SyncListLocations.java
index 5a3e2867151b..a64bd66b0bdd 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/listlocations/SyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/listlocations/SyncListLocations.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FulfillmentsClient fulfillmentsClient = FulfillmentsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/updatefulfillment/AsyncUpdateFulfillment.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/updatefulfillment/AsyncUpdateFulfillment.java
index 8e61254e6ec0..3163a6554fcf 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/updatefulfillment/AsyncUpdateFulfillment.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/updatefulfillment/AsyncUpdateFulfillment.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateFulfillment() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FulfillmentsClient fulfillmentsClient = FulfillmentsClient.create()) {
       UpdateFulfillmentRequest request =
           UpdateFulfillmentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/updatefulfillment/SyncUpdateFulfillment.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/updatefulfillment/SyncUpdateFulfillment.java
index 35a2352b2e20..0d31825c733d 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/updatefulfillment/SyncUpdateFulfillment.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/updatefulfillment/SyncUpdateFulfillment.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateFulfillment() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FulfillmentsClient fulfillmentsClient = FulfillmentsClient.create()) {
       UpdateFulfillmentRequest request =
           UpdateFulfillmentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/updatefulfillment/SyncUpdateFulfillmentFulfillmentFieldmask.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/updatefulfillment/SyncUpdateFulfillmentFulfillmentFieldmask.java
index 5068a1f7755e..e2fac3ce53f4 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/updatefulfillment/SyncUpdateFulfillmentFulfillmentFieldmask.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentsclient/updatefulfillment/SyncUpdateFulfillmentFulfillmentFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateFulfillmentFulfillmentFieldmask() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FulfillmentsClient fulfillmentsClient = FulfillmentsClient.create()) {
       Fulfillment fulfillment = Fulfillment.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentssettings/getfulfillment/SyncGetFulfillment.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentssettings/getfulfillment/SyncGetFulfillment.java
index 131c31e8fbdd..1b6e6e843e24 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentssettings/getfulfillment/SyncGetFulfillment.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/fulfillmentssettings/getfulfillment/SyncGetFulfillment.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetFulfillment() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     FulfillmentsSettings.Builder fulfillmentsSettingsBuilder = FulfillmentsSettings.newBuilder();
     fulfillmentsSettingsBuilder
         .getFulfillmentSettings()
         .setRetrySettings(
-            fulfillmentsSettingsBuilder
-                .getFulfillmentSettings()
-                .getRetrySettings()
-                .toBuilder()
+            fulfillmentsSettingsBuilder.getFulfillmentSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     FulfillmentsSettings fulfillmentsSettings = fulfillmentsSettingsBuilder.build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/batchdeleteintents/AsyncBatchDeleteIntents.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/batchdeleteintents/AsyncBatchDeleteIntents.java
index 1559b99ca421..1fb4ef332ee2 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/batchdeleteintents/AsyncBatchDeleteIntents.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/batchdeleteintents/AsyncBatchDeleteIntents.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncBatchDeleteIntents() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       BatchDeleteIntentsRequest request =
           BatchDeleteIntentsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/batchdeleteintents/AsyncBatchDeleteIntentsLRO.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/batchdeleteintents/AsyncBatchDeleteIntentsLRO.java
index b7c599a0cbfa..8e94f3c9baf5 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/batchdeleteintents/AsyncBatchDeleteIntentsLRO.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/batchdeleteintents/AsyncBatchDeleteIntentsLRO.java
@@ -33,8 +33,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncBatchDeleteIntentsLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       BatchDeleteIntentsRequest request =
           BatchDeleteIntentsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/batchdeleteintents/SyncBatchDeleteIntents.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/batchdeleteintents/SyncBatchDeleteIntents.java
index c3f60398a728..05c7af522ece 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/batchdeleteintents/SyncBatchDeleteIntents.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/batchdeleteintents/SyncBatchDeleteIntents.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchDeleteIntents() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       BatchDeleteIntentsRequest request =
           BatchDeleteIntentsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/batchdeleteintents/SyncBatchDeleteIntentsAgentnameListintent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/batchdeleteintents/SyncBatchDeleteIntentsAgentnameListintent.java
index 7d0dda61ac3f..ad8ecabb3789 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/batchdeleteintents/SyncBatchDeleteIntentsAgentnameListintent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/batchdeleteintents/SyncBatchDeleteIntentsAgentnameListintent.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchDeleteIntentsAgentnameListintent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       AgentName parent = AgentName.ofProjectName("[PROJECT]");
       List intents = new ArrayList<>();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/batchdeleteintents/SyncBatchDeleteIntentsStringListintent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/batchdeleteintents/SyncBatchDeleteIntentsStringListintent.java
index 5c133452283e..ff1494bc788b 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/batchdeleteintents/SyncBatchDeleteIntentsStringListintent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/batchdeleteintents/SyncBatchDeleteIntentsStringListintent.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchDeleteIntentsStringListintent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       String parent = AgentName.ofProjectName("[PROJECT]").toString();
       List intents = new ArrayList<>();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/batchupdateintents/AsyncBatchUpdateIntents.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/batchupdateintents/AsyncBatchUpdateIntents.java
index 14616686bad7..57c90c559af5 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/batchupdateintents/AsyncBatchUpdateIntents.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/batchupdateintents/AsyncBatchUpdateIntents.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncBatchUpdateIntents() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       BatchUpdateIntentsRequest request =
           BatchUpdateIntentsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/batchupdateintents/AsyncBatchUpdateIntentsLRO.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/batchupdateintents/AsyncBatchUpdateIntentsLRO.java
index afd663e8bafb..deea029424eb 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/batchupdateintents/AsyncBatchUpdateIntentsLRO.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/batchupdateintents/AsyncBatchUpdateIntentsLRO.java
@@ -33,8 +33,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncBatchUpdateIntentsLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       BatchUpdateIntentsRequest request =
           BatchUpdateIntentsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/batchupdateintents/SyncBatchUpdateIntents.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/batchupdateintents/SyncBatchUpdateIntents.java
index 0269154748a0..06abb69bf487 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/batchupdateintents/SyncBatchUpdateIntents.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/batchupdateintents/SyncBatchUpdateIntents.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchUpdateIntents() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       BatchUpdateIntentsRequest request =
           BatchUpdateIntentsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/batchupdateintents/SyncBatchUpdateIntentsAgentnameIntentbatch.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/batchupdateintents/SyncBatchUpdateIntentsAgentnameIntentbatch.java
index d19e701c0c67..06b395f326ff 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/batchupdateintents/SyncBatchUpdateIntentsAgentnameIntentbatch.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/batchupdateintents/SyncBatchUpdateIntentsAgentnameIntentbatch.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchUpdateIntentsAgentnameIntentbatch() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       AgentName parent = AgentName.ofProjectName("[PROJECT]");
       IntentBatch intentBatchInline = IntentBatch.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/batchupdateintents/SyncBatchUpdateIntentsAgentnameString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/batchupdateintents/SyncBatchUpdateIntentsAgentnameString.java
index dec46e587905..ccdbfedd88c5 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/batchupdateintents/SyncBatchUpdateIntentsAgentnameString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/batchupdateintents/SyncBatchUpdateIntentsAgentnameString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchUpdateIntentsAgentnameString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       AgentName parent = AgentName.ofProjectName("[PROJECT]");
       String intentBatchUri = "intentBatchUri544125582";
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/batchupdateintents/SyncBatchUpdateIntentsStringIntentbatch.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/batchupdateintents/SyncBatchUpdateIntentsStringIntentbatch.java
index a4f15d6ec24d..69eafdfcdf3c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/batchupdateintents/SyncBatchUpdateIntentsStringIntentbatch.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/batchupdateintents/SyncBatchUpdateIntentsStringIntentbatch.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchUpdateIntentsStringIntentbatch() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       String parent = AgentName.ofProjectName("[PROJECT]").toString();
       IntentBatch intentBatchInline = IntentBatch.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/batchupdateintents/SyncBatchUpdateIntentsStringString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/batchupdateintents/SyncBatchUpdateIntentsStringString.java
index c1e34b5c8f8a..80fe1cb06e1b 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/batchupdateintents/SyncBatchUpdateIntentsStringString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/batchupdateintents/SyncBatchUpdateIntentsStringString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBatchUpdateIntentsStringString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       String parent = AgentName.ofProjectName("[PROJECT]").toString();
       String intentBatchUri = "intentBatchUri544125582";
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/create/SyncCreateSetCredentialsProvider.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/create/SyncCreateSetCredentialsProvider.java
index d5af1e3a12fc..c1be434e7ed4 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/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
     IntentsSettings intentsSettings =
         IntentsSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/create/SyncCreateSetCredentialsProvider1.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/create/SyncCreateSetCredentialsProvider1.java
index 5ee1bb19f839..f713592662ac 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/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
     IntentsSettings intentsSettings =
         IntentsSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/create/SyncCreateSetEndpoint.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/create/SyncCreateSetEndpoint.java
index 7e970775363f..95ddaa55bd21 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/create/SyncCreateSetEndpoint.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/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
     IntentsSettings intentsSettings = IntentsSettings.newBuilder().setEndpoint(myEndpoint).build();
     IntentsClient intentsClient = IntentsClient.create(intentsSettings);
   }
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/createintent/AsyncCreateIntent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/createintent/AsyncCreateIntent.java
index 3d8b9af25764..0736709f25c4 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/createintent/AsyncCreateIntent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/createintent/AsyncCreateIntent.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateIntent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       CreateIntentRequest request =
           CreateIntentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/createintent/SyncCreateIntent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/createintent/SyncCreateIntent.java
index 127e38c44cd1..8db9fe754d48 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/createintent/SyncCreateIntent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/createintent/SyncCreateIntent.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateIntent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       CreateIntentRequest request =
           CreateIntentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/createintent/SyncCreateIntentAgentnameIntent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/createintent/SyncCreateIntentAgentnameIntent.java
index e0a1ba273946..546218ab435a 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/createintent/SyncCreateIntentAgentnameIntent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/createintent/SyncCreateIntentAgentnameIntent.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateIntentAgentnameIntent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       AgentName parent = AgentName.ofProjectName("[PROJECT]");
       Intent intent = Intent.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/createintent/SyncCreateIntentAgentnameIntentString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/createintent/SyncCreateIntentAgentnameIntentString.java
index ddda011729ee..5ba2ac021b47 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/createintent/SyncCreateIntentAgentnameIntentString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/createintent/SyncCreateIntentAgentnameIntentString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateIntentAgentnameIntentString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       AgentName parent = AgentName.ofProjectName("[PROJECT]");
       Intent intent = Intent.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/createintent/SyncCreateIntentStringIntent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/createintent/SyncCreateIntentStringIntent.java
index 0e4bee2eaf1f..57ddb9410dfa 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/createintent/SyncCreateIntentStringIntent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/createintent/SyncCreateIntentStringIntent.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateIntentStringIntent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       String parent = AgentName.ofProjectName("[PROJECT]").toString();
       Intent intent = Intent.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/createintent/SyncCreateIntentStringIntentString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/createintent/SyncCreateIntentStringIntentString.java
index 3b2eda639270..c2afbd531b1f 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/createintent/SyncCreateIntentStringIntentString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/createintent/SyncCreateIntentStringIntentString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateIntentStringIntentString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       String parent = AgentName.ofProjectName("[PROJECT]").toString();
       Intent intent = Intent.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/deleteintent/AsyncDeleteIntent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/deleteintent/AsyncDeleteIntent.java
index bc8ec8e25da0..a0ff08d53332 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/deleteintent/AsyncDeleteIntent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/deleteintent/AsyncDeleteIntent.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteIntent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       DeleteIntentRequest request =
           DeleteIntentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/deleteintent/SyncDeleteIntent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/deleteintent/SyncDeleteIntent.java
index 8773ee4c7644..9db5d69b3d79 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/deleteintent/SyncDeleteIntent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/deleteintent/SyncDeleteIntent.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteIntent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       DeleteIntentRequest request =
           DeleteIntentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/deleteintent/SyncDeleteIntentIntentname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/deleteintent/SyncDeleteIntentIntentname.java
index d97b5517d196..90641add8fa0 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/deleteintent/SyncDeleteIntentIntentname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/deleteintent/SyncDeleteIntentIntentname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteIntentIntentname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       IntentName name = IntentName.ofProjectIntentName("[PROJECT]", "[INTENT]");
       intentsClient.deleteIntent(name);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/deleteintent/SyncDeleteIntentString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/deleteintent/SyncDeleteIntentString.java
index 8b7f46c8476a..71e846eb6a01 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/deleteintent/SyncDeleteIntentString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/deleteintent/SyncDeleteIntentString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteIntentString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       String name = IntentName.ofProjectIntentName("[PROJECT]", "[INTENT]").toString();
       intentsClient.deleteIntent(name);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/getintent/AsyncGetIntent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/getintent/AsyncGetIntent.java
index a303fff86f3b..73f59d502f6a 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/getintent/AsyncGetIntent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/getintent/AsyncGetIntent.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetIntent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       GetIntentRequest request =
           GetIntentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/getintent/SyncGetIntent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/getintent/SyncGetIntent.java
index f295e89a09f7..48f92b668142 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/getintent/SyncGetIntent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/getintent/SyncGetIntent.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetIntent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       GetIntentRequest request =
           GetIntentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/getintent/SyncGetIntentIntentname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/getintent/SyncGetIntentIntentname.java
index 5012d546fec0..e26e273e8d14 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/getintent/SyncGetIntentIntentname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/getintent/SyncGetIntentIntentname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetIntentIntentname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       IntentName name = IntentName.ofProjectIntentName("[PROJECT]", "[INTENT]");
       Intent response = intentsClient.getIntent(name);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/getintent/SyncGetIntentIntentnameString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/getintent/SyncGetIntentIntentnameString.java
index 183334397ec4..a130209d4e96 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/getintent/SyncGetIntentIntentnameString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/getintent/SyncGetIntentIntentnameString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetIntentIntentnameString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       IntentName name = IntentName.ofProjectIntentName("[PROJECT]", "[INTENT]");
       String languageCode = "languageCode-2092349083";
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/getintent/SyncGetIntentString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/getintent/SyncGetIntentString.java
index ff1fc50f1113..12ef46ca67b9 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/getintent/SyncGetIntentString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/getintent/SyncGetIntentString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetIntentString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       String name = IntentName.ofProjectIntentName("[PROJECT]", "[INTENT]").toString();
       Intent response = intentsClient.getIntent(name);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/getintent/SyncGetIntentStringString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/getintent/SyncGetIntentStringString.java
index b9455809ac77..59f48cbdda67 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/getintent/SyncGetIntentStringString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/getintent/SyncGetIntentStringString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetIntentStringString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       String name = IntentName.ofProjectIntentName("[PROJECT]", "[INTENT]").toString();
       String languageCode = "languageCode-2092349083";
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/getlocation/AsyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/getlocation/AsyncGetLocation.java
index cc9262c503dd..4a9e79e9809c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/getlocation/AsyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/getlocation/AsyncGetLocation.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       ApiFuture future = intentsClient.getLocationCallable().futureCall(request);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/getlocation/SyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/getlocation/SyncGetLocation.java
index c093d284f61a..ba576240115f 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/getlocation/SyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/getlocation/SyncGetLocation.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       Location response = intentsClient.getLocation(request);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/listintents/AsyncListIntents.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/listintents/AsyncListIntents.java
index 8e62af794ebd..815408463b9b 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/listintents/AsyncListIntents.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/listintents/AsyncListIntents.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListIntents() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       ListIntentsRequest request =
           ListIntentsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/listintents/AsyncListIntentsPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/listintents/AsyncListIntentsPaged.java
index 357dc6c938ce..f70b9744ebfa 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/listintents/AsyncListIntentsPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/listintents/AsyncListIntentsPaged.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListIntentsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       ListIntentsRequest request =
           ListIntentsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/listintents/SyncListIntents.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/listintents/SyncListIntents.java
index 398351c6516e..49577e0f81f1 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/listintents/SyncListIntents.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/listintents/SyncListIntents.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListIntents() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       ListIntentsRequest request =
           ListIntentsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/listintents/SyncListIntentsAgentname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/listintents/SyncListIntentsAgentname.java
index 9a530b311c59..2d8571490fee 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/listintents/SyncListIntentsAgentname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/listintents/SyncListIntentsAgentname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListIntentsAgentname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       AgentName parent = AgentName.ofProjectName("[PROJECT]");
       for (Intent element : intentsClient.listIntents(parent).iterateAll()) {
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/listintents/SyncListIntentsAgentnameString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/listintents/SyncListIntentsAgentnameString.java
index 48785d4629e8..46e081e4914c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/listintents/SyncListIntentsAgentnameString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/listintents/SyncListIntentsAgentnameString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListIntentsAgentnameString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       AgentName parent = AgentName.ofProjectName("[PROJECT]");
       String languageCode = "languageCode-2092349083";
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/listintents/SyncListIntentsString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/listintents/SyncListIntentsString.java
index af61398e220f..d461b44f9eef 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/listintents/SyncListIntentsString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/listintents/SyncListIntentsString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListIntentsString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       String parent = AgentName.ofProjectName("[PROJECT]").toString();
       for (Intent element : intentsClient.listIntents(parent).iterateAll()) {
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/listintents/SyncListIntentsStringString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/listintents/SyncListIntentsStringString.java
index 1e07147df888..7a0482035baa 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/listintents/SyncListIntentsStringString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/listintents/SyncListIntentsStringString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListIntentsStringString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       String parent = AgentName.ofProjectName("[PROJECT]").toString();
       String languageCode = "languageCode-2092349083";
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/listlocations/AsyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/listlocations/AsyncListLocations.java
index 10fd7edd8ea9..98fcd8523e10 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/listlocations/AsyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/listlocations/AsyncListLocations.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/listlocations/AsyncListLocationsPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/listlocations/AsyncListLocationsPaged.java
index 8497cd54cde6..f7d4131df848 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/listlocations/AsyncListLocationsPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/listlocations/AsyncListLocationsPaged.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocationsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/listlocations/SyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/listlocations/SyncListLocations.java
index 965f503083df..1d9cbc6da58d 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/listlocations/SyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/listlocations/SyncListLocations.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/updateintent/AsyncUpdateIntent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/updateintent/AsyncUpdateIntent.java
index bbda4c9e0156..3078f088efa9 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/updateintent/AsyncUpdateIntent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/updateintent/AsyncUpdateIntent.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateIntent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       UpdateIntentRequest request =
           UpdateIntentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/updateintent/SyncUpdateIntent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/updateintent/SyncUpdateIntent.java
index 48ab4d96176e..daf9f1c221a1 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/updateintent/SyncUpdateIntent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/updateintent/SyncUpdateIntent.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateIntent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       UpdateIntentRequest request =
           UpdateIntentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/updateintent/SyncUpdateIntentIntent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/updateintent/SyncUpdateIntentIntent.java
index 5313e0e5aded..d4f1f011ad64 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/updateintent/SyncUpdateIntentIntent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/updateintent/SyncUpdateIntentIntent.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateIntentIntent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       Intent intent = Intent.newBuilder().build();
       Intent response = intentsClient.updateIntent(intent);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/updateintent/SyncUpdateIntentIntentFieldmask.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/updateintent/SyncUpdateIntentIntentFieldmask.java
index 7e57cfdfd7a9..f7f4d85bc05c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/updateintent/SyncUpdateIntentIntentFieldmask.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/updateintent/SyncUpdateIntentIntentFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateIntentIntentFieldmask() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       Intent intent = Intent.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/updateintent/SyncUpdateIntentIntentString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/updateintent/SyncUpdateIntentIntentString.java
index 9105a01048e0..bfdb08b35f3a 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/updateintent/SyncUpdateIntentIntentString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/updateintent/SyncUpdateIntentIntentString.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateIntentIntentString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       Intent intent = Intent.newBuilder().build();
       String languageCode = "languageCode-2092349083";
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/updateintent/SyncUpdateIntentIntentStringFieldmask.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/updateintent/SyncUpdateIntentIntentStringFieldmask.java
index 749bab01ee7c..0b5da737a316 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/updateintent/SyncUpdateIntentIntentStringFieldmask.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentsclient/updateintent/SyncUpdateIntentIntentStringFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateIntentIntentStringFieldmask() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IntentsClient intentsClient = IntentsClient.create()) {
       Intent intent = Intent.newBuilder().build();
       String languageCode = "languageCode-2092349083";
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentssettings/getintent/SyncGetIntent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentssettings/getintent/SyncGetIntent.java
index 80ec7aa16689..6f9f5c2ea448 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentssettings/getintent/SyncGetIntent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/intentssettings/getintent/SyncGetIntent.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetIntent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     IntentsSettings.Builder intentsSettingsBuilder = IntentsSettings.newBuilder();
     intentsSettingsBuilder
         .getIntentSettings()
         .setRetrySettings(
-            intentsSettingsBuilder
-                .getIntentSettings()
-                .getRetrySettings()
-                .toBuilder()
+            intentsSettingsBuilder.getIntentSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     IntentsSettings intentsSettings = intentsSettingsBuilder.build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/create/SyncCreateSetCredentialsProvider.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/create/SyncCreateSetCredentialsProvider.java
index c43f36d26a10..cdab1435452f 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/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
     KnowledgeBasesSettings knowledgeBasesSettings =
         KnowledgeBasesSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/create/SyncCreateSetCredentialsProvider1.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/create/SyncCreateSetCredentialsProvider1.java
index 689a95227ff0..b342f1160a0b 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/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
     KnowledgeBasesSettings knowledgeBasesSettings =
         KnowledgeBasesSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/create/SyncCreateSetEndpoint.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/create/SyncCreateSetEndpoint.java
index eac7888f8b0d..da7b3d7eaaa2 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/create/SyncCreateSetEndpoint.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/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
     KnowledgeBasesSettings knowledgeBasesSettings =
         KnowledgeBasesSettings.newBuilder().setEndpoint(myEndpoint).build();
     KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create(knowledgeBasesSettings);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/createknowledgebase/AsyncCreateKnowledgeBase.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/createknowledgebase/AsyncCreateKnowledgeBase.java
index 2b8a44cab164..347733fd986e 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/createknowledgebase/AsyncCreateKnowledgeBase.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/createknowledgebase/AsyncCreateKnowledgeBase.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateKnowledgeBase() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
       CreateKnowledgeBaseRequest request =
           CreateKnowledgeBaseRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/createknowledgebase/SyncCreateKnowledgeBase.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/createknowledgebase/SyncCreateKnowledgeBase.java
index 2c2607c9fbcb..c19073eb9143 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/createknowledgebase/SyncCreateKnowledgeBase.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/createknowledgebase/SyncCreateKnowledgeBase.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateKnowledgeBase() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
       CreateKnowledgeBaseRequest request =
           CreateKnowledgeBaseRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/createknowledgebase/SyncCreateKnowledgeBaseLocationnameKnowledgebase.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/createknowledgebase/SyncCreateKnowledgeBaseLocationnameKnowledgebase.java
index 91e3649658b5..c46d9dd01de8 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/createknowledgebase/SyncCreateKnowledgeBaseLocationnameKnowledgebase.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/createknowledgebase/SyncCreateKnowledgeBaseLocationnameKnowledgebase.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateKnowledgeBaseLocationnameKnowledgebase() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       KnowledgeBase knowledgeBase = KnowledgeBase.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/createknowledgebase/SyncCreateKnowledgeBaseProjectnameKnowledgebase.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/createknowledgebase/SyncCreateKnowledgeBaseProjectnameKnowledgebase.java
index 649ea1ce0844..143d582fb0f8 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/createknowledgebase/SyncCreateKnowledgeBaseProjectnameKnowledgebase.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/createknowledgebase/SyncCreateKnowledgeBaseProjectnameKnowledgebase.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateKnowledgeBaseProjectnameKnowledgebase() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
       ProjectName parent = ProjectName.of("[PROJECT]");
       KnowledgeBase knowledgeBase = KnowledgeBase.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/createknowledgebase/SyncCreateKnowledgeBaseStringKnowledgebase.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/createknowledgebase/SyncCreateKnowledgeBaseStringKnowledgebase.java
index ad3dd85c0a60..f2ec816dcc39 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/createknowledgebase/SyncCreateKnowledgeBaseStringKnowledgebase.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/createknowledgebase/SyncCreateKnowledgeBaseStringKnowledgebase.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateKnowledgeBaseStringKnowledgebase() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
       String parent = ProjectName.of("[PROJECT]").toString();
       KnowledgeBase knowledgeBase = KnowledgeBase.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/deleteknowledgebase/AsyncDeleteKnowledgeBase.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/deleteknowledgebase/AsyncDeleteKnowledgeBase.java
index de219834594d..55bc0e56a3f0 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/deleteknowledgebase/AsyncDeleteKnowledgeBase.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/deleteknowledgebase/AsyncDeleteKnowledgeBase.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteKnowledgeBase() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
       DeleteKnowledgeBaseRequest request =
           DeleteKnowledgeBaseRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/deleteknowledgebase/SyncDeleteKnowledgeBase.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/deleteknowledgebase/SyncDeleteKnowledgeBase.java
index 5ec77d02e27d..6c58223c9d51 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/deleteknowledgebase/SyncDeleteKnowledgeBase.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/deleteknowledgebase/SyncDeleteKnowledgeBase.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteKnowledgeBase() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
       DeleteKnowledgeBaseRequest request =
           DeleteKnowledgeBaseRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/deleteknowledgebase/SyncDeleteKnowledgeBaseKnowledgebasename.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/deleteknowledgebase/SyncDeleteKnowledgeBaseKnowledgebasename.java
index 790a84ae2ff8..de9c10ec4db7 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/deleteknowledgebase/SyncDeleteKnowledgeBaseKnowledgebasename.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/deleteknowledgebase/SyncDeleteKnowledgeBaseKnowledgebasename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteKnowledgeBaseKnowledgebasename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
       KnowledgeBaseName name =
           KnowledgeBaseName.ofProjectKnowledgeBaseName("[PROJECT]", "[KNOWLEDGE_BASE]");
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/deleteknowledgebase/SyncDeleteKnowledgeBaseString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/deleteknowledgebase/SyncDeleteKnowledgeBaseString.java
index fba42701ec66..50c4ab400b0e 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/deleteknowledgebase/SyncDeleteKnowledgeBaseString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/deleteknowledgebase/SyncDeleteKnowledgeBaseString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteKnowledgeBaseString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
       String name =
           KnowledgeBaseName.ofProjectKnowledgeBaseName("[PROJECT]", "[KNOWLEDGE_BASE]").toString();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/getknowledgebase/AsyncGetKnowledgeBase.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/getknowledgebase/AsyncGetKnowledgeBase.java
index dcd4bff55fcc..69308d84d685 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/getknowledgebase/AsyncGetKnowledgeBase.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/getknowledgebase/AsyncGetKnowledgeBase.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetKnowledgeBase() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
       GetKnowledgeBaseRequest request =
           GetKnowledgeBaseRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/getknowledgebase/SyncGetKnowledgeBase.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/getknowledgebase/SyncGetKnowledgeBase.java
index 4b3a1b0dee41..5234024ef59a 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/getknowledgebase/SyncGetKnowledgeBase.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/getknowledgebase/SyncGetKnowledgeBase.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetKnowledgeBase() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
       GetKnowledgeBaseRequest request =
           GetKnowledgeBaseRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/getknowledgebase/SyncGetKnowledgeBaseKnowledgebasename.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/getknowledgebase/SyncGetKnowledgeBaseKnowledgebasename.java
index a73f03c074d0..24a1dd6be1e5 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/getknowledgebase/SyncGetKnowledgeBaseKnowledgebasename.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/getknowledgebase/SyncGetKnowledgeBaseKnowledgebasename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetKnowledgeBaseKnowledgebasename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
       KnowledgeBaseName name =
           KnowledgeBaseName.ofProjectKnowledgeBaseName("[PROJECT]", "[KNOWLEDGE_BASE]");
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/getknowledgebase/SyncGetKnowledgeBaseString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/getknowledgebase/SyncGetKnowledgeBaseString.java
index 81d346b21288..923823738e04 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/getknowledgebase/SyncGetKnowledgeBaseString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/getknowledgebase/SyncGetKnowledgeBaseString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetKnowledgeBaseString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
       String name =
           KnowledgeBaseName.ofProjectKnowledgeBaseName("[PROJECT]", "[KNOWLEDGE_BASE]").toString();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/getlocation/AsyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/getlocation/AsyncGetLocation.java
index 8677e25a9541..3992c2b83b77 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/getlocation/AsyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/getlocation/AsyncGetLocation.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       ApiFuture future = knowledgeBasesClient.getLocationCallable().futureCall(request);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/getlocation/SyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/getlocation/SyncGetLocation.java
index 2d669228e48c..f2a7909cba67 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/getlocation/SyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/getlocation/SyncGetLocation.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       Location response = knowledgeBasesClient.getLocation(request);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/listknowledgebases/AsyncListKnowledgeBases.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/listknowledgebases/AsyncListKnowledgeBases.java
index 920103d7a88c..17bceb64f55a 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/listknowledgebases/AsyncListKnowledgeBases.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/listknowledgebases/AsyncListKnowledgeBases.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListKnowledgeBases() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
       ListKnowledgeBasesRequest request =
           ListKnowledgeBasesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/listknowledgebases/AsyncListKnowledgeBasesPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/listknowledgebases/AsyncListKnowledgeBasesPaged.java
index c64b68b867c7..03896efa32d6 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/listknowledgebases/AsyncListKnowledgeBasesPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/listknowledgebases/AsyncListKnowledgeBasesPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListKnowledgeBasesPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
       ListKnowledgeBasesRequest request =
           ListKnowledgeBasesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/listknowledgebases/SyncListKnowledgeBases.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/listknowledgebases/SyncListKnowledgeBases.java
index 1c81815b2172..36dff939e4ab 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/listknowledgebases/SyncListKnowledgeBases.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/listknowledgebases/SyncListKnowledgeBases.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListKnowledgeBases() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
       ListKnowledgeBasesRequest request =
           ListKnowledgeBasesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/listknowledgebases/SyncListKnowledgeBasesLocationname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/listknowledgebases/SyncListKnowledgeBasesLocationname.java
index 0b202d670e15..e8d3bbe25036 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/listknowledgebases/SyncListKnowledgeBasesLocationname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/listknowledgebases/SyncListKnowledgeBasesLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListKnowledgeBasesLocationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       for (KnowledgeBase element : knowledgeBasesClient.listKnowledgeBases(parent).iterateAll()) {
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/listknowledgebases/SyncListKnowledgeBasesProjectname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/listknowledgebases/SyncListKnowledgeBasesProjectname.java
index 01ce8d02efe3..6edd8960a971 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/listknowledgebases/SyncListKnowledgeBasesProjectname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/listknowledgebases/SyncListKnowledgeBasesProjectname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListKnowledgeBasesProjectname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
       ProjectName parent = ProjectName.of("[PROJECT]");
       for (KnowledgeBase element : knowledgeBasesClient.listKnowledgeBases(parent).iterateAll()) {
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/listknowledgebases/SyncListKnowledgeBasesString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/listknowledgebases/SyncListKnowledgeBasesString.java
index 77eb5a320c18..411dbb698a84 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/listknowledgebases/SyncListKnowledgeBasesString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/listknowledgebases/SyncListKnowledgeBasesString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListKnowledgeBasesString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
       String parent = ProjectName.of("[PROJECT]").toString();
       for (KnowledgeBase element : knowledgeBasesClient.listKnowledgeBases(parent).iterateAll()) {
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/listlocations/AsyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/listlocations/AsyncListLocations.java
index 1602ada01e2e..baa395afaaeb 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/listlocations/AsyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/listlocations/AsyncListLocations.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/listlocations/AsyncListLocationsPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/listlocations/AsyncListLocationsPaged.java
index abab11fd0cfe..ed00217ae6e6 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/listlocations/AsyncListLocationsPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/listlocations/AsyncListLocationsPaged.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocationsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/listlocations/SyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/listlocations/SyncListLocations.java
index a6179fb0eb91..96acc7bb3635 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/listlocations/SyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/listlocations/SyncListLocations.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/updateknowledgebase/AsyncUpdateKnowledgeBase.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/updateknowledgebase/AsyncUpdateKnowledgeBase.java
index 4e8ebc1d0a93..c9fc0d94f59a 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/updateknowledgebase/AsyncUpdateKnowledgeBase.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/updateknowledgebase/AsyncUpdateKnowledgeBase.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateKnowledgeBase() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
       UpdateKnowledgeBaseRequest request =
           UpdateKnowledgeBaseRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/updateknowledgebase/SyncUpdateKnowledgeBase.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/updateknowledgebase/SyncUpdateKnowledgeBase.java
index 6a25f8976316..acb6fdb97bb6 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/updateknowledgebase/SyncUpdateKnowledgeBase.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/updateknowledgebase/SyncUpdateKnowledgeBase.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateKnowledgeBase() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
       UpdateKnowledgeBaseRequest request =
           UpdateKnowledgeBaseRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/updateknowledgebase/SyncUpdateKnowledgeBaseKnowledgebase.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/updateknowledgebase/SyncUpdateKnowledgeBaseKnowledgebase.java
index 472ff6663bcb..094bbfb1790f 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/updateknowledgebase/SyncUpdateKnowledgeBaseKnowledgebase.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/updateknowledgebase/SyncUpdateKnowledgeBaseKnowledgebase.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateKnowledgeBaseKnowledgebase() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
       KnowledgeBase knowledgeBase = KnowledgeBase.newBuilder().build();
       KnowledgeBase response = knowledgeBasesClient.updateKnowledgeBase(knowledgeBase);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/updateknowledgebase/SyncUpdateKnowledgeBaseKnowledgebaseFieldmask.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/updateknowledgebase/SyncUpdateKnowledgeBaseKnowledgebaseFieldmask.java
index 4455cf501b83..0ad74cb30a02 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/updateknowledgebase/SyncUpdateKnowledgeBaseKnowledgebaseFieldmask.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasesclient/updateknowledgebase/SyncUpdateKnowledgeBaseKnowledgebaseFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateKnowledgeBaseKnowledgebaseFieldmask() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
       KnowledgeBase knowledgeBase = KnowledgeBase.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasessettings/getknowledgebase/SyncGetKnowledgeBase.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasessettings/getknowledgebase/SyncGetKnowledgeBase.java
index 7d82927248fa..e64e27c13df5 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasessettings/getknowledgebase/SyncGetKnowledgeBase.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/knowledgebasessettings/getknowledgebase/SyncGetKnowledgeBase.java
@@ -27,17 +27,17 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetKnowledgeBase() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     KnowledgeBasesSettings.Builder knowledgeBasesSettingsBuilder =
         KnowledgeBasesSettings.newBuilder();
     knowledgeBasesSettingsBuilder
         .getKnowledgeBaseSettings()
         .setRetrySettings(
-            knowledgeBasesSettingsBuilder
-                .getKnowledgeBaseSettings()
-                .getRetrySettings()
-                .toBuilder()
+            knowledgeBasesSettingsBuilder.getKnowledgeBaseSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     KnowledgeBasesSettings knowledgeBasesSettings = knowledgeBasesSettingsBuilder.build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/analyzecontent/AsyncAnalyzeContent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/analyzecontent/AsyncAnalyzeContent.java
index f15c55d2443f..237b6e263f31 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/analyzecontent/AsyncAnalyzeContent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/analyzecontent/AsyncAnalyzeContent.java
@@ -35,8 +35,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncAnalyzeContent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       AnalyzeContentRequest request =
           AnalyzeContentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/analyzecontent/SyncAnalyzeContent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/analyzecontent/SyncAnalyzeContent.java
index 80ae0a17ec7d..b93ad4f78a86 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/analyzecontent/SyncAnalyzeContent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/analyzecontent/SyncAnalyzeContent.java
@@ -34,8 +34,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncAnalyzeContent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       AnalyzeContentRequest request =
           AnalyzeContentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/analyzecontent/SyncAnalyzeContentParticipantnameAudioinput.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/analyzecontent/SyncAnalyzeContentParticipantnameAudioinput.java
index 7f201289dc5c..a48f643bd89c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/analyzecontent/SyncAnalyzeContentParticipantnameAudioinput.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/analyzecontent/SyncAnalyzeContentParticipantnameAudioinput.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncAnalyzeContentParticipantnameAudioinput() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       ParticipantName participant =
           ParticipantName.ofProjectConversationParticipantName(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/analyzecontent/SyncAnalyzeContentParticipantnameEventinput.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/analyzecontent/SyncAnalyzeContentParticipantnameEventinput.java
index c0f558db6b9b..8a22a87de7e4 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/analyzecontent/SyncAnalyzeContentParticipantnameEventinput.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/analyzecontent/SyncAnalyzeContentParticipantnameEventinput.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncAnalyzeContentParticipantnameEventinput() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       ParticipantName participant =
           ParticipantName.ofProjectConversationParticipantName(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/analyzecontent/SyncAnalyzeContentParticipantnameTextinput.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/analyzecontent/SyncAnalyzeContentParticipantnameTextinput.java
index 1c89fc42a43a..a273f2a95a6c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/analyzecontent/SyncAnalyzeContentParticipantnameTextinput.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/analyzecontent/SyncAnalyzeContentParticipantnameTextinput.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncAnalyzeContentParticipantnameTextinput() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       ParticipantName participant =
           ParticipantName.ofProjectConversationParticipantName(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/analyzecontent/SyncAnalyzeContentStringAudioinput.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/analyzecontent/SyncAnalyzeContentStringAudioinput.java
index 7da09882449e..da081ef91140 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/analyzecontent/SyncAnalyzeContentStringAudioinput.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/analyzecontent/SyncAnalyzeContentStringAudioinput.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncAnalyzeContentStringAudioinput() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       String participant =
           ParticipantName.ofProjectConversationParticipantName(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/analyzecontent/SyncAnalyzeContentStringEventinput.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/analyzecontent/SyncAnalyzeContentStringEventinput.java
index ac0285357186..43b8f2c298b7 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/analyzecontent/SyncAnalyzeContentStringEventinput.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/analyzecontent/SyncAnalyzeContentStringEventinput.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncAnalyzeContentStringEventinput() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       String participant =
           ParticipantName.ofProjectConversationParticipantName(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/analyzecontent/SyncAnalyzeContentStringTextinput.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/analyzecontent/SyncAnalyzeContentStringTextinput.java
index 38d0e15f33bc..774f0994f532 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/analyzecontent/SyncAnalyzeContentStringTextinput.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/analyzecontent/SyncAnalyzeContentStringTextinput.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncAnalyzeContentStringTextinput() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       String participant =
           ParticipantName.ofProjectConversationParticipantName(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/compilesuggestion/AsyncCompileSuggestion.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/compilesuggestion/AsyncCompileSuggestion.java
index 73c09e1f1100..d25544e0f029 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/compilesuggestion/AsyncCompileSuggestion.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/compilesuggestion/AsyncCompileSuggestion.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCompileSuggestion() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       CompileSuggestionRequest request =
           CompileSuggestionRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/compilesuggestion/SyncCompileSuggestion.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/compilesuggestion/SyncCompileSuggestion.java
index 5e547ef48cf4..95dc134c5240 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/compilesuggestion/SyncCompileSuggestion.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/compilesuggestion/SyncCompileSuggestion.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCompileSuggestion() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       CompileSuggestionRequest request =
           CompileSuggestionRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/create/SyncCreateSetCredentialsProvider.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/create/SyncCreateSetCredentialsProvider.java
index c2bc63f9e56b..fa15bd883ec0 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/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
     ParticipantsSettings participantsSettings =
         ParticipantsSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/create/SyncCreateSetCredentialsProvider1.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/create/SyncCreateSetCredentialsProvider1.java
index 92a05876f4c2..4a249e68636a 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/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
     ParticipantsSettings participantsSettings =
         ParticipantsSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/create/SyncCreateSetEndpoint.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/create/SyncCreateSetEndpoint.java
index b77fb484880c..bbd066c20946 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/create/SyncCreateSetEndpoint.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/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
     ParticipantsSettings participantsSettings =
         ParticipantsSettings.newBuilder().setEndpoint(myEndpoint).build();
     ParticipantsClient participantsClient = ParticipantsClient.create(participantsSettings);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/createparticipant/AsyncCreateParticipant.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/createparticipant/AsyncCreateParticipant.java
index e1b10fa123e6..4a9fbeb92409 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/createparticipant/AsyncCreateParticipant.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/createparticipant/AsyncCreateParticipant.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateParticipant() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       CreateParticipantRequest request =
           CreateParticipantRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/createparticipant/SyncCreateParticipant.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/createparticipant/SyncCreateParticipant.java
index 3c3e2ecf7d43..d244a998d544 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/createparticipant/SyncCreateParticipant.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/createparticipant/SyncCreateParticipant.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateParticipant() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       CreateParticipantRequest request =
           CreateParticipantRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/createparticipant/SyncCreateParticipantConversationnameParticipant.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/createparticipant/SyncCreateParticipantConversationnameParticipant.java
index decb68c8a183..feb3ace562da 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/createparticipant/SyncCreateParticipantConversationnameParticipant.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/createparticipant/SyncCreateParticipantConversationnameParticipant.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateParticipantConversationnameParticipant() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       ConversationName parent =
           ConversationName.ofProjectConversationName("[PROJECT]", "[CONVERSATION]");
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/createparticipant/SyncCreateParticipantStringParticipant.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/createparticipant/SyncCreateParticipantStringParticipant.java
index 7d4fb64e6caa..bf37c9fdf94f 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/createparticipant/SyncCreateParticipantStringParticipant.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/createparticipant/SyncCreateParticipantStringParticipant.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateParticipantStringParticipant() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       String parent =
           ConversationName.ofProjectConversationName("[PROJECT]", "[CONVERSATION]").toString();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/getlocation/AsyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/getlocation/AsyncGetLocation.java
index a40febae7b5a..d836a246e705 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/getlocation/AsyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/getlocation/AsyncGetLocation.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       ApiFuture future = participantsClient.getLocationCallable().futureCall(request);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/getlocation/SyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/getlocation/SyncGetLocation.java
index 211de7876cf8..b8e9a2520876 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/getlocation/SyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/getlocation/SyncGetLocation.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       Location response = participantsClient.getLocation(request);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/getparticipant/AsyncGetParticipant.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/getparticipant/AsyncGetParticipant.java
index 3f1463ea348a..3f4a80ab7df4 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/getparticipant/AsyncGetParticipant.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/getparticipant/AsyncGetParticipant.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetParticipant() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       GetParticipantRequest request =
           GetParticipantRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/getparticipant/SyncGetParticipant.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/getparticipant/SyncGetParticipant.java
index e29541c7567b..8595b87146fc 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/getparticipant/SyncGetParticipant.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/getparticipant/SyncGetParticipant.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetParticipant() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       GetParticipantRequest request =
           GetParticipantRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/getparticipant/SyncGetParticipantParticipantname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/getparticipant/SyncGetParticipantParticipantname.java
index d48763b84868..3df2c8999deb 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/getparticipant/SyncGetParticipantParticipantname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/getparticipant/SyncGetParticipantParticipantname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetParticipantParticipantname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       ParticipantName name =
           ParticipantName.ofProjectConversationParticipantName(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/getparticipant/SyncGetParticipantString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/getparticipant/SyncGetParticipantString.java
index 4185127ffd0a..dcb0ec11a6ae 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/getparticipant/SyncGetParticipantString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/getparticipant/SyncGetParticipantString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetParticipantString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       String name =
           ParticipantName.ofProjectConversationParticipantName(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/listlocations/AsyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/listlocations/AsyncListLocations.java
index 3f8dee91f7a6..7cec03820de4 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/listlocations/AsyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/listlocations/AsyncListLocations.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/listlocations/AsyncListLocationsPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/listlocations/AsyncListLocationsPaged.java
index ada7595c625b..c40dc31829d1 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/listlocations/AsyncListLocationsPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/listlocations/AsyncListLocationsPaged.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocationsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/listlocations/SyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/listlocations/SyncListLocations.java
index 9e962d5a35a5..0cee4f2766c7 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/listlocations/SyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/listlocations/SyncListLocations.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/listparticipants/AsyncListParticipants.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/listparticipants/AsyncListParticipants.java
index 9f1d7b777a46..add3b81e721c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/listparticipants/AsyncListParticipants.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/listparticipants/AsyncListParticipants.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListParticipants() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       ListParticipantsRequest request =
           ListParticipantsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/listparticipants/AsyncListParticipantsPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/listparticipants/AsyncListParticipantsPaged.java
index da82e0ac103b..79efeea79aa8 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/listparticipants/AsyncListParticipantsPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/listparticipants/AsyncListParticipantsPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListParticipantsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       ListParticipantsRequest request =
           ListParticipantsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/listparticipants/SyncListParticipants.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/listparticipants/SyncListParticipants.java
index cb73d26c6d8e..c37ed6edab53 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/listparticipants/SyncListParticipants.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/listparticipants/SyncListParticipants.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListParticipants() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       ListParticipantsRequest request =
           ListParticipantsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/listparticipants/SyncListParticipantsConversationname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/listparticipants/SyncListParticipantsConversationname.java
index 40944bdd8d7c..ffc11b150032 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/listparticipants/SyncListParticipantsConversationname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/listparticipants/SyncListParticipantsConversationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListParticipantsConversationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       ConversationName parent =
           ConversationName.ofProjectConversationName("[PROJECT]", "[CONVERSATION]");
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/listparticipants/SyncListParticipantsString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/listparticipants/SyncListParticipantsString.java
index 4d3d6dcaded4..5d5a738f0bb4 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/listparticipants/SyncListParticipantsString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/listparticipants/SyncListParticipantsString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListParticipantsString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       String parent =
           ConversationName.ofProjectConversationName("[PROJECT]", "[CONVERSATION]").toString();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/listsuggestions/AsyncListSuggestions.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/listsuggestions/AsyncListSuggestions.java
index d51af95a6038..a52fbee90cca 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/listsuggestions/AsyncListSuggestions.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/listsuggestions/AsyncListSuggestions.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListSuggestions() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       ListSuggestionsRequest request =
           ListSuggestionsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/listsuggestions/AsyncListSuggestionsPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/listsuggestions/AsyncListSuggestionsPaged.java
index 57591e2bcbce..66581a89c54c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/listsuggestions/AsyncListSuggestionsPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/listsuggestions/AsyncListSuggestionsPaged.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListSuggestionsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       ListSuggestionsRequest request =
           ListSuggestionsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/listsuggestions/SyncListSuggestions.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/listsuggestions/SyncListSuggestions.java
index 237761af7a8a..ba0ae2a968d9 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/listsuggestions/SyncListSuggestions.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/listsuggestions/SyncListSuggestions.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListSuggestions() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       ListSuggestionsRequest request =
           ListSuggestionsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/streaminganalyzecontent/AsyncStreamingAnalyzeContent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/streaminganalyzecontent/AsyncStreamingAnalyzeContent.java
index e7fffe09e072..c7c2aa2ee88d 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/streaminganalyzecontent/AsyncStreamingAnalyzeContent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/streaminganalyzecontent/AsyncStreamingAnalyzeContent.java
@@ -34,8 +34,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncStreamingAnalyzeContent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       BidiStream bidiStream =
           participantsClient.streamingAnalyzeContentCallable().call();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/suggestarticles/AsyncSuggestArticles.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/suggestarticles/AsyncSuggestArticles.java
index 2781b0fbdcb3..f54fee1560be 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/suggestarticles/AsyncSuggestArticles.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/suggestarticles/AsyncSuggestArticles.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncSuggestArticles() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       SuggestArticlesRequest request =
           SuggestArticlesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/suggestarticles/SyncSuggestArticles.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/suggestarticles/SyncSuggestArticles.java
index d0e1cc37bf20..da16db312935 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/suggestarticles/SyncSuggestArticles.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/suggestarticles/SyncSuggestArticles.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSuggestArticles() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       SuggestArticlesRequest request =
           SuggestArticlesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/suggestarticles/SyncSuggestArticlesParticipantname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/suggestarticles/SyncSuggestArticlesParticipantname.java
index 352cc783ba5b..4c826ec37d87 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/suggestarticles/SyncSuggestArticlesParticipantname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/suggestarticles/SyncSuggestArticlesParticipantname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSuggestArticlesParticipantname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       ParticipantName parent =
           ParticipantName.ofProjectConversationParticipantName(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/suggestarticles/SyncSuggestArticlesString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/suggestarticles/SyncSuggestArticlesString.java
index b90f3ddbd5b0..d62a68b69605 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/suggestarticles/SyncSuggestArticlesString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/suggestarticles/SyncSuggestArticlesString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSuggestArticlesString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       String parent =
           ParticipantName.ofProjectConversationParticipantName(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/suggestfaqanswers/AsyncSuggestFaqAnswers.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/suggestfaqanswers/AsyncSuggestFaqAnswers.java
index 950f3fb4c34c..e99c7bac7d7c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/suggestfaqanswers/AsyncSuggestFaqAnswers.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/suggestfaqanswers/AsyncSuggestFaqAnswers.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncSuggestFaqAnswers() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       SuggestFaqAnswersRequest request =
           SuggestFaqAnswersRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/suggestfaqanswers/SyncSuggestFaqAnswers.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/suggestfaqanswers/SyncSuggestFaqAnswers.java
index 2b6a0dbfef44..9eacd2a6b50f 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/suggestfaqanswers/SyncSuggestFaqAnswers.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/suggestfaqanswers/SyncSuggestFaqAnswers.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSuggestFaqAnswers() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       SuggestFaqAnswersRequest request =
           SuggestFaqAnswersRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/suggestfaqanswers/SyncSuggestFaqAnswersParticipantname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/suggestfaqanswers/SyncSuggestFaqAnswersParticipantname.java
index f8cb23706c4a..ba270570f535 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/suggestfaqanswers/SyncSuggestFaqAnswersParticipantname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/suggestfaqanswers/SyncSuggestFaqAnswersParticipantname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSuggestFaqAnswersParticipantname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       ParticipantName parent =
           ParticipantName.ofProjectConversationParticipantName(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/suggestfaqanswers/SyncSuggestFaqAnswersString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/suggestfaqanswers/SyncSuggestFaqAnswersString.java
index 14b4329ed79a..7da0bebbd603 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/suggestfaqanswers/SyncSuggestFaqAnswersString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/suggestfaqanswers/SyncSuggestFaqAnswersString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSuggestFaqAnswersString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       String parent =
           ParticipantName.ofProjectConversationParticipantName(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/suggestsmartreplies/AsyncSuggestSmartReplies.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/suggestsmartreplies/AsyncSuggestSmartReplies.java
index 07455f43dc9f..36b0eaeec85e 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/suggestsmartreplies/AsyncSuggestSmartReplies.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/suggestsmartreplies/AsyncSuggestSmartReplies.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncSuggestSmartReplies() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       SuggestSmartRepliesRequest request =
           SuggestSmartRepliesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/suggestsmartreplies/SyncSuggestSmartReplies.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/suggestsmartreplies/SyncSuggestSmartReplies.java
index f2a91d350ea6..407922782d7d 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/suggestsmartreplies/SyncSuggestSmartReplies.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/suggestsmartreplies/SyncSuggestSmartReplies.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSuggestSmartReplies() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       SuggestSmartRepliesRequest request =
           SuggestSmartRepliesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/suggestsmartreplies/SyncSuggestSmartRepliesParticipantname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/suggestsmartreplies/SyncSuggestSmartRepliesParticipantname.java
index ff45fea3f653..fbacabbbf555 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/suggestsmartreplies/SyncSuggestSmartRepliesParticipantname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/suggestsmartreplies/SyncSuggestSmartRepliesParticipantname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSuggestSmartRepliesParticipantname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       ParticipantName parent =
           ParticipantName.ofProjectConversationParticipantName(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/suggestsmartreplies/SyncSuggestSmartRepliesString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/suggestsmartreplies/SyncSuggestSmartRepliesString.java
index 8dfb4ac9f32f..f336850d95f8 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/suggestsmartreplies/SyncSuggestSmartRepliesString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/suggestsmartreplies/SyncSuggestSmartRepliesString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSuggestSmartRepliesString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       String parent =
           ParticipantName.ofProjectConversationParticipantName(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/updateparticipant/AsyncUpdateParticipant.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/updateparticipant/AsyncUpdateParticipant.java
index cbd8a1f475cf..9e1259c81c26 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/updateparticipant/AsyncUpdateParticipant.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/updateparticipant/AsyncUpdateParticipant.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateParticipant() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       UpdateParticipantRequest request =
           UpdateParticipantRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/updateparticipant/SyncUpdateParticipant.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/updateparticipant/SyncUpdateParticipant.java
index a508b997143e..fde6827798cb 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/updateparticipant/SyncUpdateParticipant.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/updateparticipant/SyncUpdateParticipant.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateParticipant() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       UpdateParticipantRequest request =
           UpdateParticipantRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/updateparticipant/SyncUpdateParticipantParticipantFieldmask.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/updateparticipant/SyncUpdateParticipantParticipantFieldmask.java
index 564001a0a14d..7471aa7fead9 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/updateparticipant/SyncUpdateParticipantParticipantFieldmask.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantsclient/updateparticipant/SyncUpdateParticipantParticipantFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateParticipantParticipantFieldmask() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
       Participant participant = Participant.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantssettings/createparticipant/SyncCreateParticipant.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantssettings/createparticipant/SyncCreateParticipant.java
index 7c4789e022be..7aef53a62768 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantssettings/createparticipant/SyncCreateParticipant.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/participantssettings/createparticipant/SyncCreateParticipant.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateParticipant() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     ParticipantsSettings.Builder participantsSettingsBuilder = ParticipantsSettings.newBuilder();
     participantsSettingsBuilder
         .createParticipantSettings()
         .setRetrySettings(
-            participantsSettingsBuilder
-                .createParticipantSettings()
-                .getRetrySettings()
-                .toBuilder()
+            participantsSettingsBuilder.createParticipantSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     ParticipantsSettings participantsSettings = participantsSettingsBuilder.build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/create/SyncCreateSetCredentialsProvider.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/create/SyncCreateSetCredentialsProvider.java
index 40f49f156548..753e1f03f908 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/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
     SessionEntityTypesSettings sessionEntityTypesSettings =
         SessionEntityTypesSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/create/SyncCreateSetCredentialsProvider1.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/create/SyncCreateSetCredentialsProvider1.java
index b94478cfd233..5477b1bae6b1 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/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
     SessionEntityTypesSettings sessionEntityTypesSettings =
         SessionEntityTypesSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/create/SyncCreateSetEndpoint.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/create/SyncCreateSetEndpoint.java
index 51b5ee744194..76ce2faf8c14 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/create/SyncCreateSetEndpoint.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/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
     SessionEntityTypesSettings sessionEntityTypesSettings =
         SessionEntityTypesSettings.newBuilder().setEndpoint(myEndpoint).build();
     SessionEntityTypesClient sessionEntityTypesClient =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/createsessionentitytype/AsyncCreateSessionEntityType.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/createsessionentitytype/AsyncCreateSessionEntityType.java
index 2add8fd551cd..41e67cbd7241 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/createsessionentitytype/AsyncCreateSessionEntityType.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/createsessionentitytype/AsyncCreateSessionEntityType.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateSessionEntityType() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
       CreateSessionEntityTypeRequest request =
           CreateSessionEntityTypeRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/createsessionentitytype/SyncCreateSessionEntityType.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/createsessionentitytype/SyncCreateSessionEntityType.java
index b1060a0be83e..6930f913f034 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/createsessionentitytype/SyncCreateSessionEntityType.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/createsessionentitytype/SyncCreateSessionEntityType.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSessionEntityType() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
       CreateSessionEntityTypeRequest request =
           CreateSessionEntityTypeRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/createsessionentitytype/SyncCreateSessionEntityTypeSessionnameSessionentitytype.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/createsessionentitytype/SyncCreateSessionEntityTypeSessionnameSessionentitytype.java
index 014e1592f6ea..af56c2b1311f 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/createsessionentitytype/SyncCreateSessionEntityTypeSessionnameSessionentitytype.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/createsessionentitytype/SyncCreateSessionEntityTypeSessionnameSessionentitytype.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSessionEntityTypeSessionnameSessionentitytype() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
       SessionName parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]");
       SessionEntityType sessionEntityType = SessionEntityType.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/createsessionentitytype/SyncCreateSessionEntityTypeStringSessionentitytype.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/createsessionentitytype/SyncCreateSessionEntityTypeStringSessionentitytype.java
index 45581a708da6..874f901cec5f 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/createsessionentitytype/SyncCreateSessionEntityTypeStringSessionentitytype.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/createsessionentitytype/SyncCreateSessionEntityTypeStringSessionentitytype.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSessionEntityTypeStringSessionentitytype() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
       String parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]").toString();
       SessionEntityType sessionEntityType = SessionEntityType.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/deletesessionentitytype/AsyncDeleteSessionEntityType.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/deletesessionentitytype/AsyncDeleteSessionEntityType.java
index f5b8d042dec2..7b6eb68a481f 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/deletesessionentitytype/AsyncDeleteSessionEntityType.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/deletesessionentitytype/AsyncDeleteSessionEntityType.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteSessionEntityType() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
       DeleteSessionEntityTypeRequest request =
           DeleteSessionEntityTypeRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/deletesessionentitytype/SyncDeleteSessionEntityType.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/deletesessionentitytype/SyncDeleteSessionEntityType.java
index 4ec8c06e7ebd..080baf7c62e3 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/deletesessionentitytype/SyncDeleteSessionEntityType.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/deletesessionentitytype/SyncDeleteSessionEntityType.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteSessionEntityType() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
       DeleteSessionEntityTypeRequest request =
           DeleteSessionEntityTypeRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/deletesessionentitytype/SyncDeleteSessionEntityTypeSessionentitytypename.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/deletesessionentitytype/SyncDeleteSessionEntityTypeSessionentitytypename.java
index fd3e57500cb7..f9df61edd389 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/deletesessionentitytype/SyncDeleteSessionEntityTypeSessionentitytypename.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/deletesessionentitytype/SyncDeleteSessionEntityTypeSessionentitytypename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteSessionEntityTypeSessionentitytypename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
       SessionEntityTypeName name =
           SessionEntityTypeName.ofProjectSessionEntityTypeName(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/deletesessionentitytype/SyncDeleteSessionEntityTypeString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/deletesessionentitytype/SyncDeleteSessionEntityTypeString.java
index a8ae19b713aa..882b7d078d1c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/deletesessionentitytype/SyncDeleteSessionEntityTypeString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/deletesessionentitytype/SyncDeleteSessionEntityTypeString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteSessionEntityTypeString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
       String name =
           SessionEntityTypeName.ofProjectSessionEntityTypeName(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/getlocation/AsyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/getlocation/AsyncGetLocation.java
index 21d9e3605409..858e4e84c7c2 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/getlocation/AsyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/getlocation/AsyncGetLocation.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       ApiFuture future =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/getlocation/SyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/getlocation/SyncGetLocation.java
index cd7914a439c0..95493ea994e9 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/getlocation/SyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/getlocation/SyncGetLocation.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       Location response = sessionEntityTypesClient.getLocation(request);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/getsessionentitytype/AsyncGetSessionEntityType.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/getsessionentitytype/AsyncGetSessionEntityType.java
index c8d472bf1200..22d9c2bea770 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/getsessionentitytype/AsyncGetSessionEntityType.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/getsessionentitytype/AsyncGetSessionEntityType.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetSessionEntityType() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
       GetSessionEntityTypeRequest request =
           GetSessionEntityTypeRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/getsessionentitytype/SyncGetSessionEntityType.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/getsessionentitytype/SyncGetSessionEntityType.java
index 02546eca67ba..c70a6c584037 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/getsessionentitytype/SyncGetSessionEntityType.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/getsessionentitytype/SyncGetSessionEntityType.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetSessionEntityType() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
       GetSessionEntityTypeRequest request =
           GetSessionEntityTypeRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/getsessionentitytype/SyncGetSessionEntityTypeSessionentitytypename.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/getsessionentitytype/SyncGetSessionEntityTypeSessionentitytypename.java
index b9a3deb2f61e..ab7c7d59942f 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/getsessionentitytype/SyncGetSessionEntityTypeSessionentitytypename.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/getsessionentitytype/SyncGetSessionEntityTypeSessionentitytypename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetSessionEntityTypeSessionentitytypename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
       SessionEntityTypeName name =
           SessionEntityTypeName.ofProjectSessionEntityTypeName(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/getsessionentitytype/SyncGetSessionEntityTypeString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/getsessionentitytype/SyncGetSessionEntityTypeString.java
index 2d38e0fa3fcc..12b966d7954f 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/getsessionentitytype/SyncGetSessionEntityTypeString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/getsessionentitytype/SyncGetSessionEntityTypeString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetSessionEntityTypeString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
       String name =
           SessionEntityTypeName.ofProjectSessionEntityTypeName(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/listlocations/AsyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/listlocations/AsyncListLocations.java
index 40526e15b272..871abede643b 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/listlocations/AsyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/listlocations/AsyncListLocations.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/listlocations/AsyncListLocationsPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/listlocations/AsyncListLocationsPaged.java
index 9cd9ee6809a5..793248a7165e 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/listlocations/AsyncListLocationsPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/listlocations/AsyncListLocationsPaged.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocationsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/listlocations/SyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/listlocations/SyncListLocations.java
index 73f80566d503..2991ee964948 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/listlocations/SyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/listlocations/SyncListLocations.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/listsessionentitytypes/AsyncListSessionEntityTypes.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/listsessionentitytypes/AsyncListSessionEntityTypes.java
index b9f17da8c53b..4b7f60900ced 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/listsessionentitytypes/AsyncListSessionEntityTypes.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/listsessionentitytypes/AsyncListSessionEntityTypes.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListSessionEntityTypes() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
       ListSessionEntityTypesRequest request =
           ListSessionEntityTypesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/listsessionentitytypes/AsyncListSessionEntityTypesPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/listsessionentitytypes/AsyncListSessionEntityTypesPaged.java
index 546df4b1ef47..b56489646db8 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/listsessionentitytypes/AsyncListSessionEntityTypesPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/listsessionentitytypes/AsyncListSessionEntityTypesPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListSessionEntityTypesPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
       ListSessionEntityTypesRequest request =
           ListSessionEntityTypesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/listsessionentitytypes/SyncListSessionEntityTypes.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/listsessionentitytypes/SyncListSessionEntityTypes.java
index a0be7287b1ca..3945931cc165 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/listsessionentitytypes/SyncListSessionEntityTypes.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/listsessionentitytypes/SyncListSessionEntityTypes.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListSessionEntityTypes() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
       ListSessionEntityTypesRequest request =
           ListSessionEntityTypesRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/listsessionentitytypes/SyncListSessionEntityTypesSessionname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/listsessionentitytypes/SyncListSessionEntityTypesSessionname.java
index 6af19754595c..5f8cba38cd3f 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/listsessionentitytypes/SyncListSessionEntityTypesSessionname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/listsessionentitytypes/SyncListSessionEntityTypesSessionname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListSessionEntityTypesSessionname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
       SessionName parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]");
       for (SessionEntityType element :
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/listsessionentitytypes/SyncListSessionEntityTypesString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/listsessionentitytypes/SyncListSessionEntityTypesString.java
index 2dd928d24485..a109e1e967b3 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/listsessionentitytypes/SyncListSessionEntityTypesString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/listsessionentitytypes/SyncListSessionEntityTypesString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListSessionEntityTypesString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
       String parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]").toString();
       for (SessionEntityType element :
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/updatesessionentitytype/AsyncUpdateSessionEntityType.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/updatesessionentitytype/AsyncUpdateSessionEntityType.java
index c7e6ba392cf7..d80598e11bdf 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/updatesessionentitytype/AsyncUpdateSessionEntityType.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/updatesessionentitytype/AsyncUpdateSessionEntityType.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateSessionEntityType() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
       UpdateSessionEntityTypeRequest request =
           UpdateSessionEntityTypeRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/updatesessionentitytype/SyncUpdateSessionEntityType.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/updatesessionentitytype/SyncUpdateSessionEntityType.java
index 95f53a203c3a..d900dc8c59f7 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/updatesessionentitytype/SyncUpdateSessionEntityType.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/updatesessionentitytype/SyncUpdateSessionEntityType.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateSessionEntityType() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
       UpdateSessionEntityTypeRequest request =
           UpdateSessionEntityTypeRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/updatesessionentitytype/SyncUpdateSessionEntityTypeSessionentitytype.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/updatesessionentitytype/SyncUpdateSessionEntityTypeSessionentitytype.java
index 34fed5f140b9..02b60462ebbf 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/updatesessionentitytype/SyncUpdateSessionEntityTypeSessionentitytype.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/updatesessionentitytype/SyncUpdateSessionEntityTypeSessionentitytype.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateSessionEntityTypeSessionentitytype() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
       SessionEntityType sessionEntityType = SessionEntityType.newBuilder().build();
       SessionEntityType response =
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/updatesessionentitytype/SyncUpdateSessionEntityTypeSessionentitytypeFieldmask.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/updatesessionentitytype/SyncUpdateSessionEntityTypeSessionentitytypeFieldmask.java
index 2bdfe39a1ed6..ffc4b1641894 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/updatesessionentitytype/SyncUpdateSessionEntityTypeSessionentitytypeFieldmask.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypesclient/updatesessionentitytype/SyncUpdateSessionEntityTypeSessionentitytypeFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateSessionEntityTypeSessionentitytypeFieldmask() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
       SessionEntityType sessionEntityType = SessionEntityType.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypessettings/getsessionentitytype/SyncGetSessionEntityType.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypessettings/getsessionentitytype/SyncGetSessionEntityType.java
index 8d1ddea02891..be1cee7974bc 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypessettings/getsessionentitytype/SyncGetSessionEntityType.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionentitytypessettings/getsessionentitytype/SyncGetSessionEntityType.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetSessionEntityType() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     SessionEntityTypesSettings.Builder sessionEntityTypesSettingsBuilder =
         SessionEntityTypesSettings.newBuilder();
     sessionEntityTypesSettingsBuilder
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionsclient/create/SyncCreateSetCredentialsProvider.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionsclient/create/SyncCreateSetCredentialsProvider.java
index 9be75cc07e17..ee82c9120cf6 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionsclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionsclient/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
     SessionsSettings sessionsSettings =
         SessionsSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionsclient/create/SyncCreateSetCredentialsProvider1.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionsclient/create/SyncCreateSetCredentialsProvider1.java
index a842b11ce04d..76784fc8098f 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionsclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionsclient/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
     SessionsSettings sessionsSettings =
         SessionsSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionsclient/create/SyncCreateSetEndpoint.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionsclient/create/SyncCreateSetEndpoint.java
index 41bbd8b565ea..fee6a09be84e 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionsclient/create/SyncCreateSetEndpoint.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionsclient/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
     SessionsSettings sessionsSettings =
         SessionsSettings.newBuilder().setEndpoint(myEndpoint).build();
     SessionsClient sessionsClient = SessionsClient.create(sessionsSettings);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionsclient/detectintent/AsyncDetectIntent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionsclient/detectintent/AsyncDetectIntent.java
index 234693a78699..78540cdabd1a 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionsclient/detectintent/AsyncDetectIntent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionsclient/detectintent/AsyncDetectIntent.java
@@ -35,8 +35,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDetectIntent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionsClient sessionsClient = SessionsClient.create()) {
       DetectIntentRequest request =
           DetectIntentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionsclient/detectintent/SyncDetectIntent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionsclient/detectintent/SyncDetectIntent.java
index 9385bd8d3dff..ffeab8b7b86c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionsclient/detectintent/SyncDetectIntent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionsclient/detectintent/SyncDetectIntent.java
@@ -34,8 +34,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDetectIntent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionsClient sessionsClient = SessionsClient.create()) {
       DetectIntentRequest request =
           DetectIntentRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionsclient/detectintent/SyncDetectIntentSessionnameQueryinput.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionsclient/detectintent/SyncDetectIntentSessionnameQueryinput.java
index c99f07dac53c..de6d6e63630d 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionsclient/detectintent/SyncDetectIntentSessionnameQueryinput.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionsclient/detectintent/SyncDetectIntentSessionnameQueryinput.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDetectIntentSessionnameQueryinput() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionsClient sessionsClient = SessionsClient.create()) {
       SessionName session = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]");
       QueryInput queryInput = QueryInput.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionsclient/detectintent/SyncDetectIntentStringQueryinput.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionsclient/detectintent/SyncDetectIntentStringQueryinput.java
index 2b429aa0522e..a2b52b45136b 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionsclient/detectintent/SyncDetectIntentStringQueryinput.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionsclient/detectintent/SyncDetectIntentStringQueryinput.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDetectIntentStringQueryinput() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionsClient sessionsClient = SessionsClient.create()) {
       String session = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]").toString();
       QueryInput queryInput = QueryInput.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionsclient/getlocation/AsyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionsclient/getlocation/AsyncGetLocation.java
index d2db2a646fd0..fc2ee764454c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionsclient/getlocation/AsyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionsclient/getlocation/AsyncGetLocation.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionsClient sessionsClient = SessionsClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       ApiFuture future = sessionsClient.getLocationCallable().futureCall(request);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionsclient/getlocation/SyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionsclient/getlocation/SyncGetLocation.java
index debc60a48077..a946fb33f7b5 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionsclient/getlocation/SyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionsclient/getlocation/SyncGetLocation.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionsClient sessionsClient = SessionsClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       Location response = sessionsClient.getLocation(request);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionsclient/listlocations/AsyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionsclient/listlocations/AsyncListLocations.java
index 6d7fc1c1460f..a39c462c2eda 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionsclient/listlocations/AsyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionsclient/listlocations/AsyncListLocations.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionsClient sessionsClient = SessionsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionsclient/listlocations/AsyncListLocationsPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionsclient/listlocations/AsyncListLocationsPaged.java
index aa50121d7bc7..3b83c91fdecd 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionsclient/listlocations/AsyncListLocationsPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionsclient/listlocations/AsyncListLocationsPaged.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocationsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionsClient sessionsClient = SessionsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionsclient/listlocations/SyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionsclient/listlocations/SyncListLocations.java
index 1ca8cb81e518..95317205bf3c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionsclient/listlocations/SyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionsclient/listlocations/SyncListLocations.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionsClient sessionsClient = SessionsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionsclient/streamingdetectintent/AsyncStreamingDetectIntent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionsclient/streamingdetectintent/AsyncStreamingDetectIntent.java
index a20618fa72e7..88959f453c24 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionsclient/streamingdetectintent/AsyncStreamingDetectIntent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionsclient/streamingdetectintent/AsyncStreamingDetectIntent.java
@@ -35,8 +35,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncStreamingDetectIntent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (SessionsClient sessionsClient = SessionsClient.create()) {
       BidiStream bidiStream =
           sessionsClient.streamingDetectIntentCallable().call();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionssettings/detectintent/SyncDetectIntent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionssettings/detectintent/SyncDetectIntent.java
index abd639d3d8e7..46ca78a88770 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionssettings/detectintent/SyncDetectIntent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/sessionssettings/detectintent/SyncDetectIntent.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDetectIntent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     SessionsSettings.Builder sessionsSettingsBuilder = SessionsSettings.newBuilder();
     sessionsSettingsBuilder
         .detectIntentSettings()
         .setRetrySettings(
-            sessionsSettingsBuilder
-                .detectIntentSettings()
-                .getRetrySettings()
-                .toBuilder()
+            sessionsSettingsBuilder.detectIntentSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     SessionsSettings sessionsSettings = sessionsSettingsBuilder.build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/agentsstubsettings/getagent/SyncGetAgent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/agentsstubsettings/getagent/SyncGetAgent.java
index b713af209d69..70cfee0787d7 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/agentsstubsettings/getagent/SyncGetAgent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/agentsstubsettings/getagent/SyncGetAgent.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetAgent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     AgentsStubSettings.Builder agentsSettingsBuilder = AgentsStubSettings.newBuilder();
     agentsSettingsBuilder
         .getAgentSettings()
         .setRetrySettings(
-            agentsSettingsBuilder
-                .getAgentSettings()
-                .getRetrySettings()
-                .toBuilder()
+            agentsSettingsBuilder.getAgentSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     AgentsStubSettings agentsSettings = agentsSettingsBuilder.build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/answerrecordsstubsettings/getanswerrecord/SyncGetAnswerRecord.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/answerrecordsstubsettings/getanswerrecord/SyncGetAnswerRecord.java
index 3f48e135f30d..a1a8cc70d654 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/answerrecordsstubsettings/getanswerrecord/SyncGetAnswerRecord.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/answerrecordsstubsettings/getanswerrecord/SyncGetAnswerRecord.java
@@ -27,17 +27,17 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetAnswerRecord() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     AnswerRecordsStubSettings.Builder answerRecordsSettingsBuilder =
         AnswerRecordsStubSettings.newBuilder();
     answerRecordsSettingsBuilder
         .getAnswerRecordSettings()
         .setRetrySettings(
-            answerRecordsSettingsBuilder
-                .getAnswerRecordSettings()
-                .getRetrySettings()
-                .toBuilder()
+            answerRecordsSettingsBuilder.getAnswerRecordSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     AnswerRecordsStubSettings answerRecordsSettings = answerRecordsSettingsBuilder.build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/contextsstubsettings/getcontext/SyncGetContext.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/contextsstubsettings/getcontext/SyncGetContext.java
index c4011a7bfbe9..547294e3c927 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/contextsstubsettings/getcontext/SyncGetContext.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/contextsstubsettings/getcontext/SyncGetContext.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetContext() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     ContextsStubSettings.Builder contextsSettingsBuilder = ContextsStubSettings.newBuilder();
     contextsSettingsBuilder
         .getContextSettings()
         .setRetrySettings(
-            contextsSettingsBuilder
-                .getContextSettings()
-                .getRetrySettings()
-                .toBuilder()
+            contextsSettingsBuilder.getContextSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     ContextsStubSettings contextsSettings = contextsSettingsBuilder.build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/conversationprofilesstubsettings/getconversationprofile/SyncGetConversationProfile.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/conversationprofilesstubsettings/getconversationprofile/SyncGetConversationProfile.java
index 4b6e1cda79c3..fd15b4f0b241 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/conversationprofilesstubsettings/getconversationprofile/SyncGetConversationProfile.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/conversationprofilesstubsettings/getconversationprofile/SyncGetConversationProfile.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetConversationProfile() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     ConversationProfilesStubSettings.Builder conversationProfilesSettingsBuilder =
         ConversationProfilesStubSettings.newBuilder();
     conversationProfilesSettingsBuilder
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/conversationsstubsettings/createconversation/SyncCreateConversation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/conversationsstubsettings/createconversation/SyncCreateConversation.java
index 1cd40812ae8d..5c2e6e3402b2 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/conversationsstubsettings/createconversation/SyncCreateConversation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/conversationsstubsettings/createconversation/SyncCreateConversation.java
@@ -27,17 +27,17 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateConversation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     ConversationsStubSettings.Builder conversationsSettingsBuilder =
         ConversationsStubSettings.newBuilder();
     conversationsSettingsBuilder
         .createConversationSettings()
         .setRetrySettings(
-            conversationsSettingsBuilder
-                .createConversationSettings()
-                .getRetrySettings()
-                .toBuilder()
+            conversationsSettingsBuilder.createConversationSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     ConversationsStubSettings conversationsSettings = conversationsSettingsBuilder.build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/documentsstubsettings/getdocument/SyncGetDocument.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/documentsstubsettings/getdocument/SyncGetDocument.java
index 2b04bc33c5f0..fa4670aa81c6 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/documentsstubsettings/getdocument/SyncGetDocument.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/documentsstubsettings/getdocument/SyncGetDocument.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetDocument() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     DocumentsStubSettings.Builder documentsSettingsBuilder = DocumentsStubSettings.newBuilder();
     documentsSettingsBuilder
         .getDocumentSettings()
         .setRetrySettings(
-            documentsSettingsBuilder
-                .getDocumentSettings()
-                .getRetrySettings()
-                .toBuilder()
+            documentsSettingsBuilder.getDocumentSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     DocumentsStubSettings documentsSettings = documentsSettingsBuilder.build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/entitytypesstubsettings/getentitytype/SyncGetEntityType.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/entitytypesstubsettings/getentitytype/SyncGetEntityType.java
index 77d4fd96a13c..f43cdf576297 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/entitytypesstubsettings/getentitytype/SyncGetEntityType.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/entitytypesstubsettings/getentitytype/SyncGetEntityType.java
@@ -27,17 +27,17 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetEntityType() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     EntityTypesStubSettings.Builder entityTypesSettingsBuilder =
         EntityTypesStubSettings.newBuilder();
     entityTypesSettingsBuilder
         .getEntityTypeSettings()
         .setRetrySettings(
-            entityTypesSettingsBuilder
-                .getEntityTypeSettings()
-                .getRetrySettings()
-                .toBuilder()
+            entityTypesSettingsBuilder.getEntityTypeSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     EntityTypesStubSettings entityTypesSettings = entityTypesSettingsBuilder.build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/environmentsstubsettings/getenvironment/SyncGetEnvironment.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/environmentsstubsettings/getenvironment/SyncGetEnvironment.java
index 3c4b83cf8856..a1ad0aadc5d4 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/environmentsstubsettings/getenvironment/SyncGetEnvironment.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/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-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/fulfillmentsstubsettings/getfulfillment/SyncGetFulfillment.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/fulfillmentsstubsettings/getfulfillment/SyncGetFulfillment.java
index af2b7914cd28..a4f4c007f488 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/fulfillmentsstubsettings/getfulfillment/SyncGetFulfillment.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/fulfillmentsstubsettings/getfulfillment/SyncGetFulfillment.java
@@ -27,17 +27,17 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetFulfillment() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     FulfillmentsStubSettings.Builder fulfillmentsSettingsBuilder =
         FulfillmentsStubSettings.newBuilder();
     fulfillmentsSettingsBuilder
         .getFulfillmentSettings()
         .setRetrySettings(
-            fulfillmentsSettingsBuilder
-                .getFulfillmentSettings()
-                .getRetrySettings()
-                .toBuilder()
+            fulfillmentsSettingsBuilder.getFulfillmentSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     FulfillmentsStubSettings fulfillmentsSettings = fulfillmentsSettingsBuilder.build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/intentsstubsettings/getintent/SyncGetIntent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/intentsstubsettings/getintent/SyncGetIntent.java
index ae2ebfc88e86..ef22672ae146 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/intentsstubsettings/getintent/SyncGetIntent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/intentsstubsettings/getintent/SyncGetIntent.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetIntent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     IntentsStubSettings.Builder intentsSettingsBuilder = IntentsStubSettings.newBuilder();
     intentsSettingsBuilder
         .getIntentSettings()
         .setRetrySettings(
-            intentsSettingsBuilder
-                .getIntentSettings()
-                .getRetrySettings()
-                .toBuilder()
+            intentsSettingsBuilder.getIntentSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     IntentsStubSettings intentsSettings = intentsSettingsBuilder.build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/knowledgebasesstubsettings/getknowledgebase/SyncGetKnowledgeBase.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/knowledgebasesstubsettings/getknowledgebase/SyncGetKnowledgeBase.java
index 6dd0cb918f49..03125ea95b24 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/knowledgebasesstubsettings/getknowledgebase/SyncGetKnowledgeBase.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/knowledgebasesstubsettings/getknowledgebase/SyncGetKnowledgeBase.java
@@ -27,17 +27,17 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetKnowledgeBase() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     KnowledgeBasesStubSettings.Builder knowledgeBasesSettingsBuilder =
         KnowledgeBasesStubSettings.newBuilder();
     knowledgeBasesSettingsBuilder
         .getKnowledgeBaseSettings()
         .setRetrySettings(
-            knowledgeBasesSettingsBuilder
-                .getKnowledgeBaseSettings()
-                .getRetrySettings()
-                .toBuilder()
+            knowledgeBasesSettingsBuilder.getKnowledgeBaseSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     KnowledgeBasesStubSettings knowledgeBasesSettings = knowledgeBasesSettingsBuilder.build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/participantsstubsettings/createparticipant/SyncCreateParticipant.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/participantsstubsettings/createparticipant/SyncCreateParticipant.java
index ece54de84696..32729b4ecd38 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/participantsstubsettings/createparticipant/SyncCreateParticipant.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/participantsstubsettings/createparticipant/SyncCreateParticipant.java
@@ -27,17 +27,17 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateParticipant() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     ParticipantsStubSettings.Builder participantsSettingsBuilder =
         ParticipantsStubSettings.newBuilder();
     participantsSettingsBuilder
         .createParticipantSettings()
         .setRetrySettings(
-            participantsSettingsBuilder
-                .createParticipantSettings()
-                .getRetrySettings()
-                .toBuilder()
+            participantsSettingsBuilder.createParticipantSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     ParticipantsStubSettings participantsSettings = participantsSettingsBuilder.build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/sessionentitytypesstubsettings/getsessionentitytype/SyncGetSessionEntityType.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/sessionentitytypesstubsettings/getsessionentitytype/SyncGetSessionEntityType.java
index a939bb9889a3..5d871a7d386b 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/sessionentitytypesstubsettings/getsessionentitytype/SyncGetSessionEntityType.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/sessionentitytypesstubsettings/getsessionentitytype/SyncGetSessionEntityType.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetSessionEntityType() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     SessionEntityTypesStubSettings.Builder sessionEntityTypesSettingsBuilder =
         SessionEntityTypesStubSettings.newBuilder();
     sessionEntityTypesSettingsBuilder
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/sessionsstubsettings/detectintent/SyncDetectIntent.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/sessionsstubsettings/detectintent/SyncDetectIntent.java
index 2d418dc543dd..ed9651f2e3cb 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/sessionsstubsettings/detectintent/SyncDetectIntent.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/sessionsstubsettings/detectintent/SyncDetectIntent.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDetectIntent() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     SessionsStubSettings.Builder sessionsSettingsBuilder = SessionsStubSettings.newBuilder();
     sessionsSettingsBuilder
         .detectIntentSettings()
         .setRetrySettings(
-            sessionsSettingsBuilder
-                .detectIntentSettings()
-                .getRetrySettings()
-                .toBuilder()
+            sessionsSettingsBuilder.detectIntentSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     SessionsStubSettings sessionsSettings = sessionsSettingsBuilder.build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/versionsstubsettings/getversion/SyncGetVersion.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/versionsstubsettings/getversion/SyncGetVersion.java
index fd2bc0e3500c..5f7f8308bf47 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/versionsstubsettings/getversion/SyncGetVersion.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/stub/versionsstubsettings/getversion/SyncGetVersion.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetVersion() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     VersionsStubSettings.Builder versionsSettingsBuilder = VersionsStubSettings.newBuilder();
     versionsSettingsBuilder
         .getVersionSettings()
         .setRetrySettings(
-            versionsSettingsBuilder
-                .getVersionSettings()
-                .getRetrySettings()
-                .toBuilder()
+            versionsSettingsBuilder.getVersionSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     VersionsStubSettings versionsSettings = versionsSettingsBuilder.build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/create/SyncCreateSetCredentialsProvider.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/create/SyncCreateSetCredentialsProvider.java
index 2f237e5842e0..e9f7b0efd788 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/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
     VersionsSettings versionsSettings =
         VersionsSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/create/SyncCreateSetCredentialsProvider1.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/create/SyncCreateSetCredentialsProvider1.java
index 5a5ba11566c6..17d787b50e09 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/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
     VersionsSettings versionsSettings =
         VersionsSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/create/SyncCreateSetEndpoint.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/create/SyncCreateSetEndpoint.java
index feef998512cc..cb00e4efebfe 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/create/SyncCreateSetEndpoint.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/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
     VersionsSettings versionsSettings =
         VersionsSettings.newBuilder().setEndpoint(myEndpoint).build();
     VersionsClient versionsClient = VersionsClient.create(versionsSettings);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/createversion/AsyncCreateVersion.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/createversion/AsyncCreateVersion.java
index df15141b1d14..9fb74be2e1c9 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/createversion/AsyncCreateVersion.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/createversion/AsyncCreateVersion.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateVersion() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (VersionsClient versionsClient = VersionsClient.create()) {
       CreateVersionRequest request =
           CreateVersionRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/createversion/SyncCreateVersion.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/createversion/SyncCreateVersion.java
index f0b109ad9196..7ba795065d20 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/createversion/SyncCreateVersion.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/createversion/SyncCreateVersion.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateVersion() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (VersionsClient versionsClient = VersionsClient.create()) {
       CreateVersionRequest request =
           CreateVersionRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/createversion/SyncCreateVersionAgentnameVersion.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/createversion/SyncCreateVersionAgentnameVersion.java
index f750152e27be..e987df1deda7 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/createversion/SyncCreateVersionAgentnameVersion.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/createversion/SyncCreateVersionAgentnameVersion.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateVersionAgentnameVersion() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (VersionsClient versionsClient = VersionsClient.create()) {
       AgentName parent = AgentName.ofProjectName("[PROJECT]");
       Version version = Version.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/createversion/SyncCreateVersionStringVersion.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/createversion/SyncCreateVersionStringVersion.java
index a3649b69b980..527857fa10a0 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/createversion/SyncCreateVersionStringVersion.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/createversion/SyncCreateVersionStringVersion.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateVersionStringVersion() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (VersionsClient versionsClient = VersionsClient.create()) {
       String parent = AgentName.ofProjectName("[PROJECT]").toString();
       Version version = Version.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/deleteversion/AsyncDeleteVersion.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/deleteversion/AsyncDeleteVersion.java
index 2bfdf3467af6..db54fced226e 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/deleteversion/AsyncDeleteVersion.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/deleteversion/AsyncDeleteVersion.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteVersion() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (VersionsClient versionsClient = VersionsClient.create()) {
       DeleteVersionRequest request =
           DeleteVersionRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/deleteversion/SyncDeleteVersion.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/deleteversion/SyncDeleteVersion.java
index c925d55b83bd..ca0c6f27f68a 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/deleteversion/SyncDeleteVersion.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/deleteversion/SyncDeleteVersion.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteVersion() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (VersionsClient versionsClient = VersionsClient.create()) {
       DeleteVersionRequest request =
           DeleteVersionRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/deleteversion/SyncDeleteVersionString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/deleteversion/SyncDeleteVersionString.java
index c483823c90ce..7f5b365c4ef5 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/deleteversion/SyncDeleteVersionString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/deleteversion/SyncDeleteVersionString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteVersionString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (VersionsClient versionsClient = VersionsClient.create()) {
       String name = VersionName.ofProjectVersionName("[PROJECT]", "[VERSION]").toString();
       versionsClient.deleteVersion(name);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/deleteversion/SyncDeleteVersionVersionname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/deleteversion/SyncDeleteVersionVersionname.java
index 27ea6c2049e6..71bb0bf32487 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/deleteversion/SyncDeleteVersionVersionname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/deleteversion/SyncDeleteVersionVersionname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteVersionVersionname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (VersionsClient versionsClient = VersionsClient.create()) {
       VersionName name = VersionName.ofProjectVersionName("[PROJECT]", "[VERSION]");
       versionsClient.deleteVersion(name);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/getlocation/AsyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/getlocation/AsyncGetLocation.java
index 349f2368fc74..026c5c7b63dd 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/getlocation/AsyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/getlocation/AsyncGetLocation.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (VersionsClient versionsClient = VersionsClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       ApiFuture future = versionsClient.getLocationCallable().futureCall(request);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/getlocation/SyncGetLocation.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/getlocation/SyncGetLocation.java
index e7abcf3036cc..e71ae03045fc 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/getlocation/SyncGetLocation.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/getlocation/SyncGetLocation.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (VersionsClient versionsClient = VersionsClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       Location response = versionsClient.getLocation(request);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/getversion/AsyncGetVersion.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/getversion/AsyncGetVersion.java
index cba0bbffebc5..0e78ecf4a23b 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/getversion/AsyncGetVersion.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/getversion/AsyncGetVersion.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetVersion() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (VersionsClient versionsClient = VersionsClient.create()) {
       GetVersionRequest request =
           GetVersionRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/getversion/SyncGetVersion.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/getversion/SyncGetVersion.java
index df8775e3a579..9888a9520240 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/getversion/SyncGetVersion.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/getversion/SyncGetVersion.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetVersion() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (VersionsClient versionsClient = VersionsClient.create()) {
       GetVersionRequest request =
           GetVersionRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/getversion/SyncGetVersionString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/getversion/SyncGetVersionString.java
index b0572081fde1..e2fc65a218da 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/getversion/SyncGetVersionString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/getversion/SyncGetVersionString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetVersionString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (VersionsClient versionsClient = VersionsClient.create()) {
       String name = VersionName.ofProjectVersionName("[PROJECT]", "[VERSION]").toString();
       Version response = versionsClient.getVersion(name);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/getversion/SyncGetVersionVersionname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/getversion/SyncGetVersionVersionname.java
index 76e20e5ae34b..58b215b5ad97 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/getversion/SyncGetVersionVersionname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/getversion/SyncGetVersionVersionname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetVersionVersionname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (VersionsClient versionsClient = VersionsClient.create()) {
       VersionName name = VersionName.ofProjectVersionName("[PROJECT]", "[VERSION]");
       Version response = versionsClient.getVersion(name);
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/listlocations/AsyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/listlocations/AsyncListLocations.java
index 9390bb27a42d..305086bd8a03 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/listlocations/AsyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/listlocations/AsyncListLocations.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (VersionsClient versionsClient = VersionsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/listlocations/AsyncListLocationsPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/listlocations/AsyncListLocationsPaged.java
index 318dda2c836d..c5acbba11a69 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/listlocations/AsyncListLocationsPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/listlocations/AsyncListLocationsPaged.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocationsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (VersionsClient versionsClient = VersionsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/listlocations/SyncListLocations.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/listlocations/SyncListLocations.java
index 057f3c3f0435..11e8e1ec038b 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/listlocations/SyncListLocations.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/listlocations/SyncListLocations.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (VersionsClient versionsClient = VersionsClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/listversions/AsyncListVersions.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/listversions/AsyncListVersions.java
index 222c7a9142df..94a08977c000 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/listversions/AsyncListVersions.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/listversions/AsyncListVersions.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListVersions() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (VersionsClient versionsClient = VersionsClient.create()) {
       ListVersionsRequest request =
           ListVersionsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/listversions/AsyncListVersionsPaged.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/listversions/AsyncListVersionsPaged.java
index bf1c3d858838..6826a6a86579 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/listversions/AsyncListVersionsPaged.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/listversions/AsyncListVersionsPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListVersionsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (VersionsClient versionsClient = VersionsClient.create()) {
       ListVersionsRequest request =
           ListVersionsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/listversions/SyncListVersions.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/listversions/SyncListVersions.java
index a91d21b0c6a1..bbbe1139095f 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/listversions/SyncListVersions.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/listversions/SyncListVersions.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListVersions() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (VersionsClient versionsClient = VersionsClient.create()) {
       ListVersionsRequest request =
           ListVersionsRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/listversions/SyncListVersionsAgentname.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/listversions/SyncListVersionsAgentname.java
index 560d3d0278fb..9568248b96d6 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/listversions/SyncListVersionsAgentname.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/listversions/SyncListVersionsAgentname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListVersionsAgentname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (VersionsClient versionsClient = VersionsClient.create()) {
       AgentName parent = AgentName.ofProjectName("[PROJECT]");
       for (Version element : versionsClient.listVersions(parent).iterateAll()) {
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/listversions/SyncListVersionsString.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/listversions/SyncListVersionsString.java
index a8b798c509e6..528da67a4574 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/listversions/SyncListVersionsString.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/listversions/SyncListVersionsString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListVersionsString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (VersionsClient versionsClient = VersionsClient.create()) {
       String parent = AgentName.ofProjectName("[PROJECT]").toString();
       for (Version element : versionsClient.listVersions(parent).iterateAll()) {
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/updateversion/AsyncUpdateVersion.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/updateversion/AsyncUpdateVersion.java
index 8a69e23b4e5e..bc207adad0ed 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/updateversion/AsyncUpdateVersion.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/updateversion/AsyncUpdateVersion.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateVersion() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (VersionsClient versionsClient = VersionsClient.create()) {
       UpdateVersionRequest request =
           UpdateVersionRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/updateversion/SyncUpdateVersion.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/updateversion/SyncUpdateVersion.java
index 5603875b4c06..fd22d156f09b 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/updateversion/SyncUpdateVersion.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/updateversion/SyncUpdateVersion.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateVersion() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (VersionsClient versionsClient = VersionsClient.create()) {
       UpdateVersionRequest request =
           UpdateVersionRequest.newBuilder()
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/updateversion/SyncUpdateVersionVersionFieldmask.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/updateversion/SyncUpdateVersionVersionFieldmask.java
index 2323465330b6..8333d50b1fcb 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/updateversion/SyncUpdateVersionVersionFieldmask.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionsclient/updateversion/SyncUpdateVersionVersionFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateVersionVersionFieldmask() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (VersionsClient versionsClient = VersionsClient.create()) {
       Version version = Version.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionssettings/getversion/SyncGetVersion.java b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionssettings/getversion/SyncGetVersion.java
index d4cb6f5969dd..ec8a7f7a602c 100644
--- a/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionssettings/getversion/SyncGetVersion.java
+++ b/java-dialogflow/samples/snippets/generated/com/google/cloud/dialogflow/v2beta1/versionssettings/getversion/SyncGetVersion.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetVersion() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     VersionsSettings.Builder versionsSettingsBuilder = VersionsSettings.newBuilder();
     versionsSettingsBuilder
         .getVersionSettings()
         .setRetrySettings(
-            versionsSettingsBuilder
-                .getVersionSettings()
-                .getRetrySettings()
-                .toBuilder()
+            versionsSettingsBuilder.getVersionSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     VersionsSettings versionsSettings = versionsSettingsBuilder.build();