diff --git a/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/DatastreamClient.java b/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/DatastreamClient.java index d4b891db..68cc891e 100644 --- a/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/DatastreamClient.java +++ b/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/DatastreamClient.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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
  *   ConnectionProfileName name =
  *       ConnectionProfileName.of("[PROJECT]", "[LOCATION]", "[CONNECTION_PROFILE]");
@@ -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
  * DatastreamSettings datastreamSettings =
  *     DatastreamSettings.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
  * DatastreamSettings datastreamSettings =
  *     DatastreamSettings.newBuilder().setEndpoint(myEndpoint).build();
  * DatastreamClient datastreamClient = DatastreamClient.create(datastreamSettings);
@@ -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
  * DatastreamSettings datastreamSettings =
  *     DatastreamSettings.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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (ConnectionProfile element :
@@ -233,8 +248,11 @@ public final ListConnectionProfilesPagedResponse listConnectionProfiles(Location
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   ConnectionProfileName name =
    *       ConnectionProfileName.of("[PROJECT]", "[LOCATION]", "[CONNECTION_PROFILE]");
@@ -391,8 +421,11 @@ public final ConnectionProfile getConnectionProfile(ConnectionProfileName 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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   String name =
    *       ConnectionProfileName.of("[PROJECT]", "[LOCATION]", "[CONNECTION_PROFILE]").toString();
@@ -416,8 +449,11 @@ public final ConnectionProfile getConnectionProfile(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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   GetConnectionProfileRequest request =
    *       GetConnectionProfileRequest.newBuilder()
@@ -443,8 +479,11 @@ public final ConnectionProfile getConnectionProfile(GetConnectionProfileRequest
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (Stream element : datastreamClient.listStreams(parent).iterateAll()) {
@@ -987,8 +1077,11 @@ public final ListStreamsPagedResponse listStreams(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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   for (Stream element : datastreamClient.listStreams(parent).iterateAll()) {
@@ -1012,8 +1105,11 @@ public final ListStreamsPagedResponse listStreams(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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   ListStreamsRequest request =
    *       ListStreamsRequest.newBuilder()
@@ -1043,8 +1139,11 @@ public final ListStreamsPagedResponse listStreams(ListStreamsRequest 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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   ListStreamsRequest request =
    *       ListStreamsRequest.newBuilder()
@@ -1074,8 +1173,11 @@ public final ListStreamsPagedResponse listStreams(ListStreamsRequest 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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   ListStreamsRequest request =
    *       ListStreamsRequest.newBuilder()
@@ -1111,8 +1213,11 @@ public final UnaryCallable listStreamsC
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   StreamName name = StreamName.of("[PROJECT]", "[LOCATION]", "[STREAM]");
    *   Stream response = datastreamClient.getStream(name);
@@ -1135,8 +1240,11 @@ public final Stream getStream(StreamName 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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   String name = StreamName.of("[PROJECT]", "[LOCATION]", "[STREAM]").toString();
    *   Stream response = datastreamClient.getStream(name);
@@ -1158,8 +1266,11 @@ public final Stream getStream(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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   GetStreamRequest request =
    *       GetStreamRequest.newBuilder()
@@ -1183,8 +1294,11 @@ public final Stream getStream(GetStreamRequest 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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   GetStreamRequest request =
    *       GetStreamRequest.newBuilder()
@@ -1207,8 +1321,11 @@ public final UnaryCallable getStreamCallable() {
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   String name = StreamName.of("[PROJECT]", "[LOCATION]", "[STREAM]").toString();
    *   datastreamClient.deleteStreamAsync(name).get();
@@ -1529,8 +1676,11 @@ public final OperationFuture deleteStreamAsync(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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   DeleteStreamRequest request =
    *       DeleteStreamRequest.newBuilder()
@@ -1556,8 +1706,11 @@ public final OperationFuture deleteStreamAsync(
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   StreamObjectName name =
    *       StreamObjectName.of("[PROJECT]", "[LOCATION]", "[STREAM]", "[OBJECT]");
@@ -1633,8 +1792,11 @@ public final StreamObject getStreamObject(StreamObjectName 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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   String name =
    *       StreamObjectName.of("[PROJECT]", "[LOCATION]", "[STREAM]", "[OBJECT]").toString();
@@ -1657,8 +1819,11 @@ public final StreamObject getStreamObject(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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   GetStreamObjectRequest request =
    *       GetStreamObjectRequest.newBuilder()
@@ -1683,8 +1848,11 @@ public final StreamObject getStreamObject(GetStreamObjectRequest 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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   GetStreamObjectRequest request =
    *       GetStreamObjectRequest.newBuilder()
@@ -1709,8 +1877,11 @@ public final UnaryCallable getStreamObject
    * 

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   StreamName parent = StreamName.of("[PROJECT]", "[LOCATION]", "[STREAM]");
    *   for (StreamObject element : datastreamClient.listStreamObjects(parent).iterateAll()) {
@@ -1789,8 +1966,11 @@ public final ListStreamObjectsPagedResponse listStreamObjects(StreamName 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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   String parent = StreamName.of("[PROJECT]", "[LOCATION]", "[STREAM]").toString();
    *   for (StreamObject element : datastreamClient.listStreamObjects(parent).iterateAll()) {
@@ -1815,8 +1995,11 @@ public final ListStreamObjectsPagedResponse listStreamObjects(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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   ListStreamObjectsRequest request =
    *       ListStreamObjectsRequest.newBuilder()
@@ -1844,8 +2027,11 @@ public final ListStreamObjectsPagedResponse listStreamObjects(ListStreamObjectsR
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   StopBackfillJobRequest request =
    *       StopBackfillJobRequest.newBuilder()
@@ -2093,8 +2303,11 @@ public final StopBackfillJobResponse stopBackfillJob(StopBackfillJobRequest 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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   StopBackfillJobRequest request =
    *       StopBackfillJobRequest.newBuilder()
@@ -2120,8 +2333,11 @@ public final StopBackfillJobResponse stopBackfillJob(StopBackfillJobRequest 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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   LocationName name = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (String element : datastreamClient.fetchStaticIps(name).iterateAll()) {
@@ -2147,8 +2363,11 @@ public final FetchStaticIpsPagedResponse fetchStaticIps(LocationName 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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   String name = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   for (String element : datastreamClient.fetchStaticIps(name).iterateAll()) {
@@ -2173,8 +2392,11 @@ public final FetchStaticIpsPagedResponse fetchStaticIps(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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   FetchStaticIpsRequest request =
    *       FetchStaticIpsRequest.newBuilder()
@@ -2202,8 +2424,11 @@ public final FetchStaticIpsPagedResponse fetchStaticIps(FetchStaticIpsRequest 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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   FetchStaticIpsRequest request =
    *       FetchStaticIpsRequest.newBuilder()
@@ -2231,8 +2456,11 @@ public final FetchStaticIpsPagedResponse fetchStaticIps(FetchStaticIpsRequest 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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   FetchStaticIpsRequest request =
    *       FetchStaticIpsRequest.newBuilder()
@@ -2267,8 +2495,11 @@ public final FetchStaticIpsPagedResponse fetchStaticIps(FetchStaticIpsRequest 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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   PrivateConnection privateConnection = PrivateConnection.newBuilder().build();
@@ -2303,8 +2534,11 @@ public final OperationFuture createPrivate
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   PrivateConnectionName name =
    *       PrivateConnectionName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]");
@@ -2454,8 +2700,11 @@ public final PrivateConnection getPrivateConnection(PrivateConnectionName 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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   String name =
    *       PrivateConnectionName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]").toString();
@@ -2479,8 +2728,11 @@ public final PrivateConnection getPrivateConnection(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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   GetPrivateConnectionRequest request =
    *       GetPrivateConnectionRequest.newBuilder()
@@ -2506,8 +2758,11 @@ public final PrivateConnection getPrivateConnection(GetPrivateConnectionRequest
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   RouteName name = RouteName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]", "[ROUTE]");
    *   Route response = datastreamClient.getRoute(name);
@@ -3027,8 +3330,11 @@ public final Route getRoute(RouteName 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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   String name =
    *       RouteName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]", "[ROUTE]").toString();
@@ -3051,8 +3357,11 @@ public final Route getRoute(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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   GetRouteRequest request =
    *       GetRouteRequest.newBuilder()
@@ -3078,8 +3387,11 @@ public final Route getRoute(GetRouteRequest 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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   GetRouteRequest request =
    *       GetRouteRequest.newBuilder()
@@ -3105,8 +3417,11 @@ public final UnaryCallable getRouteCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   PrivateConnectionName parent =
    *       PrivateConnectionName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]");
@@ -3133,8 +3448,11 @@ public final ListRoutesPagedResponse listRoutes(PrivateConnectionName 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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   String parent =
    *       PrivateConnectionName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]").toString();
@@ -3160,8 +3478,11 @@ public final ListRoutesPagedResponse listRoutes(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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   ListRoutesRequest request =
    *       ListRoutesRequest.newBuilder()
@@ -3194,8 +3515,11 @@ public final ListRoutesPagedResponse listRoutes(ListRoutesRequest 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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   ListRoutesRequest request =
    *       ListRoutesRequest.newBuilder()
@@ -3227,8 +3551,11 @@ public final UnaryCallable listRoute
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   String name =
    *       RouteName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]", "[ROUTE]").toString();
@@ -3314,8 +3647,11 @@ public final OperationFuture deleteRouteAsync(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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   DeleteRouteRequest request =
    *       DeleteRouteRequest.newBuilder()
@@ -3343,8 +3679,11 @@ public final OperationFuture deleteRouteAsync(
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   ListLocationsRequest request =
    *       ListLocationsRequest.newBuilder()
@@ -3429,8 +3774,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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   ListLocationsRequest request =
    *       ListLocationsRequest.newBuilder()
@@ -3460,8 +3808,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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   ListLocationsRequest request =
    *       ListLocationsRequest.newBuilder()
@@ -3496,8 +3847,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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   Location response = datastreamClient.getLocation(request);
@@ -3518,8 +3872,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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   ApiFuture future = datastreamClient.getLocationCallable().futureCall(request);
diff --git a/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/DatastreamSettings.java b/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/DatastreamSettings.java
index c300817a..0b4d308a 100644
--- a/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/DatastreamSettings.java
+++ b/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/DatastreamSettings.java
@@ -66,16 +66,16 @@
  * 

For example, to set the total timeout of getConnectionProfile 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
  * DatastreamSettings.Builder datastreamSettingsBuilder = DatastreamSettings.newBuilder();
  * datastreamSettingsBuilder
  *     .getConnectionProfileSettings()
  *     .setRetrySettings(
- *         datastreamSettingsBuilder
- *             .getConnectionProfileSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         datastreamSettingsBuilder.getConnectionProfileSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * DatastreamSettings datastreamSettings = datastreamSettingsBuilder.build();
diff --git a/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/package-info.java b/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/package-info.java
index 1b40c70d..8bf773b8 100644
--- a/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/package-info.java
+++ b/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/package-info.java
@@ -26,8 +26,11 @@
  * 

Sample for DatastreamClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (DatastreamClient datastreamClient = DatastreamClient.create()) {
  *   ConnectionProfileName name =
  *       ConnectionProfileName.of("[PROJECT]", "[LOCATION]", "[CONNECTION_PROFILE]");
diff --git a/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/DatastreamStubSettings.java b/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/DatastreamStubSettings.java
index 6114d9a9..437d0e03 100644
--- a/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/DatastreamStubSettings.java
+++ b/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/DatastreamStubSettings.java
@@ -126,16 +126,16 @@
  * 

For example, to set the total timeout of getConnectionProfile 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
  * DatastreamStubSettings.Builder datastreamSettingsBuilder = DatastreamStubSettings.newBuilder();
  * datastreamSettingsBuilder
  *     .getConnectionProfileSettings()
  *     .setRetrySettings(
- *         datastreamSettingsBuilder
- *             .getConnectionProfileSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         datastreamSettingsBuilder.getConnectionProfileSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * DatastreamStubSettings datastreamSettings = datastreamSettingsBuilder.build();
diff --git a/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/HttpJsonDatastreamStub.java b/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/HttpJsonDatastreamStub.java
index 93b28d2e..83d5e6de 100644
--- a/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/HttpJsonDatastreamStub.java
+++ b/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/HttpJsonDatastreamStub.java
@@ -218,7 +218,8 @@ public class HttpJsonDatastreamStub extends DatastreamStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("connectionProfile", request.getConnectionProfile()))
+                                  .toBody(
+                                      "connectionProfile", request.getConnectionProfile(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -265,7 +266,8 @@ public class HttpJsonDatastreamStub extends DatastreamStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("connectionProfile", request.getConnectionProfile()))
+                                  .toBody(
+                                      "connectionProfile", request.getConnectionProfile(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -343,7 +345,7 @@ public class HttpJsonDatastreamStub extends DatastreamStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -452,7 +454,8 @@ public class HttpJsonDatastreamStub extends DatastreamStub {
                           })
                       .setRequestBodyExtractor(
                           request ->
-                              ProtoRestSerializer.create().toBody("stream", request.getStream()))
+                              ProtoRestSerializer.create()
+                                  .toBody("stream", request.getStream(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -496,7 +499,8 @@ public class HttpJsonDatastreamStub extends DatastreamStub {
                           })
                       .setRequestBodyExtractor(
                           request ->
-                              ProtoRestSerializer.create().toBody("stream", request.getStream()))
+                              ProtoRestSerializer.create()
+                                  .toBody("stream", request.getStream(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -605,7 +609,7 @@ public class HttpJsonDatastreamStub extends DatastreamStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -676,7 +680,7 @@ public class HttpJsonDatastreamStub extends DatastreamStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearObject().build()))
+                                  .toBody("*", request.toBuilder().clearObject().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -712,7 +716,7 @@ public class HttpJsonDatastreamStub extends DatastreamStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearObject().build()))
+                                  .toBody("*", request.toBuilder().clearObject().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -786,7 +790,8 @@ public class HttpJsonDatastreamStub extends DatastreamStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("privateConnection", request.getPrivateConnection()))
+                                  .toBody(
+                                      "privateConnection", request.getPrivateConnection(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -936,7 +941,8 @@ public class HttpJsonDatastreamStub extends DatastreamStub {
                           })
                       .setRequestBodyExtractor(
                           request ->
-                              ProtoRestSerializer.create().toBody("route", request.getRoute()))
+                              ProtoRestSerializer.create()
+                                  .toBody("route", request.getRoute(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/DatastreamClient.java b/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/DatastreamClient.java
index 2a9f640b..c7e51dcf 100644
--- a/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/DatastreamClient.java
+++ b/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/DatastreamClient.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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
  *   ConnectionProfileName name =
  *       ConnectionProfileName.of("[PROJECT]", "[LOCATION]", "[CONNECTION_PROFILE]");
@@ -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
  * DatastreamSettings datastreamSettings =
  *     DatastreamSettings.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
  * DatastreamSettings datastreamSettings =
  *     DatastreamSettings.newBuilder().setEndpoint(myEndpoint).build();
  * DatastreamClient datastreamClient = DatastreamClient.create(datastreamSettings);
@@ -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
  * DatastreamSettings datastreamSettings =
  *     DatastreamSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -201,8 +213,11 @@ public final OperationsClient getHttpJsonOperationsClient() {
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   ConnectionProfileName name =
    *       ConnectionProfileName.of("[PROJECT]", "[LOCATION]", "[CONNECTION_PROFILE]");
@@ -388,8 +418,11 @@ public final ConnectionProfile getConnectionProfile(ConnectionProfileName 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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   String name =
    *       ConnectionProfileName.of("[PROJECT]", "[LOCATION]", "[CONNECTION_PROFILE]").toString();
@@ -413,8 +446,11 @@ public final ConnectionProfile getConnectionProfile(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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   GetConnectionProfileRequest request =
    *       GetConnectionProfileRequest.newBuilder()
@@ -440,8 +476,11 @@ public final ConnectionProfile getConnectionProfile(GetConnectionProfileRequest
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (Stream element : datastreamClient.listStreams(parent).iterateAll()) {
@@ -972,8 +1062,11 @@ public final ListStreamsPagedResponse listStreams(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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   for (Stream element : datastreamClient.listStreams(parent).iterateAll()) {
@@ -997,8 +1090,11 @@ public final ListStreamsPagedResponse listStreams(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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   ListStreamsRequest request =
    *       ListStreamsRequest.newBuilder()
@@ -1028,8 +1124,11 @@ public final ListStreamsPagedResponse listStreams(ListStreamsRequest 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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   ListStreamsRequest request =
    *       ListStreamsRequest.newBuilder()
@@ -1059,8 +1158,11 @@ public final ListStreamsPagedResponse listStreams(ListStreamsRequest 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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   ListStreamsRequest request =
    *       ListStreamsRequest.newBuilder()
@@ -1096,8 +1198,11 @@ public final UnaryCallable listStreamsC
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   StreamName name = StreamName.of("[PROJECT]", "[LOCATION]", "[STREAM]");
    *   Stream response = datastreamClient.getStream(name);
@@ -1120,8 +1225,11 @@ public final Stream getStream(StreamName 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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   String name = StreamName.of("[PROJECT]", "[LOCATION]", "[STREAM]").toString();
    *   Stream response = datastreamClient.getStream(name);
@@ -1143,8 +1251,11 @@ public final Stream getStream(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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   GetStreamRequest request =
    *       GetStreamRequest.newBuilder()
@@ -1168,8 +1279,11 @@ public final Stream getStream(GetStreamRequest 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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   GetStreamRequest request =
    *       GetStreamRequest.newBuilder()
@@ -1192,8 +1306,11 @@ public final UnaryCallable getStreamCallable() {
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   String name = StreamName.of("[PROJECT]", "[LOCATION]", "[STREAM]").toString();
    *   datastreamClient.deleteStreamAsync(name).get();
@@ -1514,8 +1661,11 @@ public final OperationFuture deleteStreamAsync(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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   DeleteStreamRequest request =
    *       DeleteStreamRequest.newBuilder()
@@ -1541,8 +1691,11 @@ public final OperationFuture deleteStreamAsync(
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   LocationName name = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (String element : datastreamClient.fetchStaticIps(name).iterateAll()) {
@@ -1700,8 +1868,11 @@ public final FetchStaticIpsPagedResponse fetchStaticIps(LocationName 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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   String name = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   for (String element : datastreamClient.fetchStaticIps(name).iterateAll()) {
@@ -1728,8 +1899,11 @@ public final FetchStaticIpsPagedResponse fetchStaticIps(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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   FetchStaticIpsRequest request =
    *       FetchStaticIpsRequest.newBuilder()
@@ -1759,8 +1933,11 @@ public final FetchStaticIpsPagedResponse fetchStaticIps(FetchStaticIpsRequest 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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   FetchStaticIpsRequest request =
    *       FetchStaticIpsRequest.newBuilder()
@@ -1790,8 +1967,11 @@ public final FetchStaticIpsPagedResponse fetchStaticIps(FetchStaticIpsRequest 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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   FetchStaticIpsRequest request =
    *       FetchStaticIpsRequest.newBuilder()
@@ -1826,8 +2006,11 @@ public final FetchStaticIpsPagedResponse fetchStaticIps(FetchStaticIpsRequest 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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   PrivateConnection privateConnection = PrivateConnection.newBuilder().build();
@@ -1862,8 +2045,11 @@ public final OperationFuture createPrivate
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   PrivateConnectionName name =
    *       PrivateConnectionName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]");
@@ -2013,8 +2211,11 @@ public final PrivateConnection getPrivateConnection(PrivateConnectionName 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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   String name =
    *       PrivateConnectionName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]").toString();
@@ -2038,8 +2239,11 @@ public final PrivateConnection getPrivateConnection(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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   GetPrivateConnectionRequest request =
    *       GetPrivateConnectionRequest.newBuilder()
@@ -2065,8 +2269,11 @@ public final PrivateConnection getPrivateConnection(GetPrivateConnectionRequest
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   RouteName name = RouteName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]", "[ROUTE]");
    *   Route response = datastreamClient.getRoute(name);
@@ -2581,8 +2836,11 @@ public final Route getRoute(RouteName 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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   String name =
    *       RouteName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]", "[ROUTE]").toString();
@@ -2605,8 +2863,11 @@ public final Route getRoute(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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   GetRouteRequest request =
    *       GetRouteRequest.newBuilder()
@@ -2632,8 +2893,11 @@ public final Route getRoute(GetRouteRequest 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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   GetRouteRequest request =
    *       GetRouteRequest.newBuilder()
@@ -2658,8 +2922,11 @@ public final UnaryCallable getRouteCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   PrivateConnectionName parent =
    *       PrivateConnectionName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]");
@@ -2685,8 +2952,11 @@ public final ListRoutesPagedResponse listRoutes(PrivateConnectionName 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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   String parent =
    *       PrivateConnectionName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]").toString();
@@ -2711,8 +2981,11 @@ public final ListRoutesPagedResponse listRoutes(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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   ListRoutesRequest request =
    *       ListRoutesRequest.newBuilder()
@@ -2744,8 +3017,11 @@ public final ListRoutesPagedResponse listRoutes(ListRoutesRequest 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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   ListRoutesRequest request =
    *       ListRoutesRequest.newBuilder()
@@ -2776,8 +3052,11 @@ public final UnaryCallable listRoute
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   String name =
    *       RouteName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]", "[ROUTE]").toString();
@@ -2863,8 +3148,11 @@ public final OperationFuture deleteRouteAsync(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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   DeleteRouteRequest request =
    *       DeleteRouteRequest.newBuilder()
@@ -2892,8 +3180,11 @@ public final OperationFuture deleteRouteAsync(
    * 

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatastreamClient datastreamClient = DatastreamClient.create()) {
    *   DeleteRouteRequest request =
    *       DeleteRouteRequest.newBuilder()
diff --git a/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/DatastreamSettings.java b/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/DatastreamSettings.java
index bd0a8f98..0e0150e2 100644
--- a/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/DatastreamSettings.java
+++ b/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/DatastreamSettings.java
@@ -60,16 +60,16 @@
  * 

For example, to set the total timeout of getConnectionProfile 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
  * DatastreamSettings.Builder datastreamSettingsBuilder = DatastreamSettings.newBuilder();
  * datastreamSettingsBuilder
  *     .getConnectionProfileSettings()
  *     .setRetrySettings(
- *         datastreamSettingsBuilder
- *             .getConnectionProfileSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         datastreamSettingsBuilder.getConnectionProfileSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * DatastreamSettings datastreamSettings = datastreamSettingsBuilder.build();
diff --git a/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/package-info.java b/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/package-info.java
index b513b3c1..edc6a677 100644
--- a/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/package-info.java
+++ b/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/package-info.java
@@ -24,8 +24,11 @@
  * 

Sample for DatastreamClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (DatastreamClient datastreamClient = DatastreamClient.create()) {
  *   ConnectionProfileName name =
  *       ConnectionProfileName.of("[PROJECT]", "[LOCATION]", "[CONNECTION_PROFILE]");
diff --git a/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/DatastreamStubSettings.java b/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/DatastreamStubSettings.java
index 09435df8..6c94e47e 100644
--- a/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/DatastreamStubSettings.java
+++ b/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/DatastreamStubSettings.java
@@ -113,16 +113,16 @@
  * 

For example, to set the total timeout of getConnectionProfile 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
  * DatastreamStubSettings.Builder datastreamSettingsBuilder = DatastreamStubSettings.newBuilder();
  * datastreamSettingsBuilder
  *     .getConnectionProfileSettings()
  *     .setRetrySettings(
- *         datastreamSettingsBuilder
- *             .getConnectionProfileSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         datastreamSettingsBuilder.getConnectionProfileSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * DatastreamStubSettings datastreamSettings = datastreamSettingsBuilder.build();
diff --git a/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/HttpJsonDatastreamStub.java b/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/HttpJsonDatastreamStub.java
index 3a1a643d..ff59c56f 100644
--- a/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/HttpJsonDatastreamStub.java
+++ b/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/HttpJsonDatastreamStub.java
@@ -205,7 +205,8 @@ public class HttpJsonDatastreamStub extends DatastreamStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("connectionProfile", request.getConnectionProfile()))
+                                  .toBody(
+                                      "connectionProfile", request.getConnectionProfile(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -250,7 +251,8 @@ public class HttpJsonDatastreamStub extends DatastreamStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("connectionProfile", request.getConnectionProfile()))
+                                  .toBody(
+                                      "connectionProfile", request.getConnectionProfile(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -330,7 +332,7 @@ public class HttpJsonDatastreamStub extends DatastreamStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -439,7 +441,8 @@ public class HttpJsonDatastreamStub extends DatastreamStub {
                           })
                       .setRequestBodyExtractor(
                           request ->
-                              ProtoRestSerializer.create().toBody("stream", request.getStream()))
+                              ProtoRestSerializer.create()
+                                  .toBody("stream", request.getStream(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -483,7 +486,8 @@ public class HttpJsonDatastreamStub extends DatastreamStub {
                           })
                       .setRequestBodyExtractor(
                           request ->
-                              ProtoRestSerializer.create().toBody("stream", request.getStream()))
+                              ProtoRestSerializer.create()
+                                  .toBody("stream", request.getStream(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -559,7 +563,7 @@ public class HttpJsonDatastreamStub extends DatastreamStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearStream().build()))
+                                  .toBody("*", request.toBuilder().clearStream().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -637,7 +641,8 @@ public class HttpJsonDatastreamStub extends DatastreamStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("privateConnection", request.getPrivateConnection()))
+                                  .toBody(
+                                      "privateConnection", request.getPrivateConnection(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -789,7 +794,8 @@ public class HttpJsonDatastreamStub extends DatastreamStub {
                           })
                       .setRequestBodyExtractor(
                           request ->
-                              ProtoRestSerializer.create().toBody("route", request.getRoute()))
+                              ProtoRestSerializer.create()
+                                  .toBody("route", request.getRoute(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/create/SyncCreateSetCredentialsProvider.java
index 0eafde96..46f97361 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/create/SyncCreateSetCredentialsProvider.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/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
     DatastreamSettings datastreamSettings =
         DatastreamSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/create/SyncCreateSetCredentialsProvider1.java
index 906399c2..31a5e2e7 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/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
     DatastreamSettings datastreamSettings =
         DatastreamSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/create/SyncCreateSetEndpoint.java
index 8640c529..fa77619b 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/create/SyncCreateSetEndpoint.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/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
     DatastreamSettings datastreamSettings =
         DatastreamSettings.newBuilder().setEndpoint(myEndpoint).build();
     DatastreamClient datastreamClient = DatastreamClient.create(datastreamSettings);
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createconnectionprofile/AsyncCreateConnectionProfile.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createconnectionprofile/AsyncCreateConnectionProfile.java
index 9ae734c7..b6dab5d9 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createconnectionprofile/AsyncCreateConnectionProfile.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createconnectionprofile/AsyncCreateConnectionProfile.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateConnectionProfile() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       CreateConnectionProfileRequest request =
           CreateConnectionProfileRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createconnectionprofile/AsyncCreateConnectionProfileLRO.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createconnectionprofile/AsyncCreateConnectionProfileLRO.java
index 12bb2a4d..14074f1d 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createconnectionprofile/AsyncCreateConnectionProfileLRO.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createconnectionprofile/AsyncCreateConnectionProfileLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateConnectionProfileLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       CreateConnectionProfileRequest request =
           CreateConnectionProfileRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createconnectionprofile/SyncCreateConnectionProfile.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createconnectionprofile/SyncCreateConnectionProfile.java
index aec1f731..3e596a68 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createconnectionprofile/SyncCreateConnectionProfile.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createconnectionprofile/SyncCreateConnectionProfile.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateConnectionProfile() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       CreateConnectionProfileRequest request =
           CreateConnectionProfileRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createconnectionprofile/SyncCreateConnectionProfileLocationnameConnectionprofileString.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createconnectionprofile/SyncCreateConnectionProfileLocationnameConnectionprofileString.java
index 718c3cea..071b5560 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createconnectionprofile/SyncCreateConnectionProfileLocationnameConnectionprofileString.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createconnectionprofile/SyncCreateConnectionProfileLocationnameConnectionprofileString.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
 
   public static void syncCreateConnectionProfileLocationnameConnectionprofileString()
       throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       ConnectionProfile connectionProfile = ConnectionProfile.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createconnectionprofile/SyncCreateConnectionProfileStringConnectionprofileString.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createconnectionprofile/SyncCreateConnectionProfileStringConnectionprofileString.java
index 992856de..6e247977 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createconnectionprofile/SyncCreateConnectionProfileStringConnectionprofileString.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createconnectionprofile/SyncCreateConnectionProfileStringConnectionprofileString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateConnectionProfileStringConnectionprofileString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       ConnectionProfile connectionProfile = ConnectionProfile.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createprivateconnection/AsyncCreatePrivateConnection.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createprivateconnection/AsyncCreatePrivateConnection.java
index 43946d2f..1550d378 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createprivateconnection/AsyncCreatePrivateConnection.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createprivateconnection/AsyncCreatePrivateConnection.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreatePrivateConnection() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       CreatePrivateConnectionRequest request =
           CreatePrivateConnectionRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createprivateconnection/AsyncCreatePrivateConnectionLRO.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createprivateconnection/AsyncCreatePrivateConnectionLRO.java
index b724fffc..7f3b297d 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createprivateconnection/AsyncCreatePrivateConnectionLRO.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createprivateconnection/AsyncCreatePrivateConnectionLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreatePrivateConnectionLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       CreatePrivateConnectionRequest request =
           CreatePrivateConnectionRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createprivateconnection/SyncCreatePrivateConnection.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createprivateconnection/SyncCreatePrivateConnection.java
index 2fa654b1..29692adb 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createprivateconnection/SyncCreatePrivateConnection.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createprivateconnection/SyncCreatePrivateConnection.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreatePrivateConnection() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       CreatePrivateConnectionRequest request =
           CreatePrivateConnectionRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createprivateconnection/SyncCreatePrivateConnectionLocationnamePrivateconnectionString.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createprivateconnection/SyncCreatePrivateConnectionLocationnamePrivateconnectionString.java
index 9c2d78e1..d3e15c02 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createprivateconnection/SyncCreatePrivateConnectionLocationnamePrivateconnectionString.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createprivateconnection/SyncCreatePrivateConnectionLocationnamePrivateconnectionString.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
 
   public static void syncCreatePrivateConnectionLocationnamePrivateconnectionString()
       throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       PrivateConnection privateConnection = PrivateConnection.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createprivateconnection/SyncCreatePrivateConnectionStringPrivateconnectionString.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createprivateconnection/SyncCreatePrivateConnectionStringPrivateconnectionString.java
index 0c5b58c2..dcffea4d 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createprivateconnection/SyncCreatePrivateConnectionStringPrivateconnectionString.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createprivateconnection/SyncCreatePrivateConnectionStringPrivateconnectionString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreatePrivateConnectionStringPrivateconnectionString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       PrivateConnection privateConnection = PrivateConnection.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createroute/AsyncCreateRoute.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createroute/AsyncCreateRoute.java
index aa6ae727..f2472ad4 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createroute/AsyncCreateRoute.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createroute/AsyncCreateRoute.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateRoute() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       CreateRouteRequest request =
           CreateRouteRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createroute/AsyncCreateRouteLRO.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createroute/AsyncCreateRouteLRO.java
index 32f2c602..e01b2515 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createroute/AsyncCreateRouteLRO.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createroute/AsyncCreateRouteLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateRouteLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       CreateRouteRequest request =
           CreateRouteRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createroute/SyncCreateRoute.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createroute/SyncCreateRoute.java
index a68f373a..acf42eb8 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createroute/SyncCreateRoute.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createroute/SyncCreateRoute.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateRoute() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       CreateRouteRequest request =
           CreateRouteRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createroute/SyncCreateRoutePrivateconnectionnameRouteString.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createroute/SyncCreateRoutePrivateconnectionnameRouteString.java
index e06a83c1..e4e4d223 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createroute/SyncCreateRoutePrivateconnectionnameRouteString.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createroute/SyncCreateRoutePrivateconnectionnameRouteString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateRoutePrivateconnectionnameRouteString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       PrivateConnectionName parent =
           PrivateConnectionName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]");
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createroute/SyncCreateRouteStringRouteString.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createroute/SyncCreateRouteStringRouteString.java
index c1be72c3..85a6078b 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createroute/SyncCreateRouteStringRouteString.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createroute/SyncCreateRouteStringRouteString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateRouteStringRouteString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       String parent =
           PrivateConnectionName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]").toString();
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createstream/AsyncCreateStream.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createstream/AsyncCreateStream.java
index ab1777ce..e025e6e6 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createstream/AsyncCreateStream.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createstream/AsyncCreateStream.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateStream() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       CreateStreamRequest request =
           CreateStreamRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createstream/AsyncCreateStreamLRO.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createstream/AsyncCreateStreamLRO.java
index c59f8c2c..590f95f0 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createstream/AsyncCreateStreamLRO.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createstream/AsyncCreateStreamLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateStreamLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       CreateStreamRequest request =
           CreateStreamRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createstream/SyncCreateStream.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createstream/SyncCreateStream.java
index 25b32190..9c308fe8 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createstream/SyncCreateStream.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createstream/SyncCreateStream.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateStream() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       CreateStreamRequest request =
           CreateStreamRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createstream/SyncCreateStreamLocationnameStreamString.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createstream/SyncCreateStreamLocationnameStreamString.java
index e60e857d..1a904f20 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createstream/SyncCreateStreamLocationnameStreamString.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createstream/SyncCreateStreamLocationnameStreamString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateStreamLocationnameStreamString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       Stream stream = Stream.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createstream/SyncCreateStreamStringStreamString.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createstream/SyncCreateStreamStringStreamString.java
index 39aca78d..10214968 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createstream/SyncCreateStreamStringStreamString.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createstream/SyncCreateStreamStringStreamString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateStreamStringStreamString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       Stream stream = Stream.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteconnectionprofile/AsyncDeleteConnectionProfile.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteconnectionprofile/AsyncDeleteConnectionProfile.java
index 32b47d6c..b2800e83 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteconnectionprofile/AsyncDeleteConnectionProfile.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteconnectionprofile/AsyncDeleteConnectionProfile.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteConnectionProfile() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       DeleteConnectionProfileRequest request =
           DeleteConnectionProfileRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteconnectionprofile/AsyncDeleteConnectionProfileLRO.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteconnectionprofile/AsyncDeleteConnectionProfileLRO.java
index 65283206..dceab3d1 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteconnectionprofile/AsyncDeleteConnectionProfileLRO.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteconnectionprofile/AsyncDeleteConnectionProfileLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteConnectionProfileLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       DeleteConnectionProfileRequest request =
           DeleteConnectionProfileRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteconnectionprofile/SyncDeleteConnectionProfile.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteconnectionprofile/SyncDeleteConnectionProfile.java
index e1f2d5e4..a6ec15b8 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteconnectionprofile/SyncDeleteConnectionProfile.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteconnectionprofile/SyncDeleteConnectionProfile.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteConnectionProfile() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       DeleteConnectionProfileRequest request =
           DeleteConnectionProfileRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteconnectionprofile/SyncDeleteConnectionProfileConnectionprofilename.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteconnectionprofile/SyncDeleteConnectionProfileConnectionprofilename.java
index 354e50da..d66190f0 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteconnectionprofile/SyncDeleteConnectionProfileConnectionprofilename.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteconnectionprofile/SyncDeleteConnectionProfileConnectionprofilename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteConnectionProfileConnectionprofilename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       ConnectionProfileName name =
           ConnectionProfileName.of("[PROJECT]", "[LOCATION]", "[CONNECTION_PROFILE]");
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteconnectionprofile/SyncDeleteConnectionProfileString.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteconnectionprofile/SyncDeleteConnectionProfileString.java
index ba47274e..0e3f7c10 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteconnectionprofile/SyncDeleteConnectionProfileString.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteconnectionprofile/SyncDeleteConnectionProfileString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteConnectionProfileString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       String name =
           ConnectionProfileName.of("[PROJECT]", "[LOCATION]", "[CONNECTION_PROFILE]").toString();
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteprivateconnection/AsyncDeletePrivateConnection.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteprivateconnection/AsyncDeletePrivateConnection.java
index db22b7e3..f83ac4b7 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteprivateconnection/AsyncDeletePrivateConnection.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteprivateconnection/AsyncDeletePrivateConnection.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeletePrivateConnection() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       DeletePrivateConnectionRequest request =
           DeletePrivateConnectionRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteprivateconnection/AsyncDeletePrivateConnectionLRO.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteprivateconnection/AsyncDeletePrivateConnectionLRO.java
index 19e2d59c..cebe98da 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteprivateconnection/AsyncDeletePrivateConnectionLRO.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteprivateconnection/AsyncDeletePrivateConnectionLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeletePrivateConnectionLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       DeletePrivateConnectionRequest request =
           DeletePrivateConnectionRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteprivateconnection/SyncDeletePrivateConnection.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteprivateconnection/SyncDeletePrivateConnection.java
index e396b343..75916b74 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteprivateconnection/SyncDeletePrivateConnection.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteprivateconnection/SyncDeletePrivateConnection.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeletePrivateConnection() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       DeletePrivateConnectionRequest request =
           DeletePrivateConnectionRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteprivateconnection/SyncDeletePrivateConnectionPrivateconnectionname.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteprivateconnection/SyncDeletePrivateConnectionPrivateconnectionname.java
index b3941e8e..66a345f3 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteprivateconnection/SyncDeletePrivateConnectionPrivateconnectionname.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteprivateconnection/SyncDeletePrivateConnectionPrivateconnectionname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeletePrivateConnectionPrivateconnectionname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       PrivateConnectionName name =
           PrivateConnectionName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]");
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteprivateconnection/SyncDeletePrivateConnectionString.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteprivateconnection/SyncDeletePrivateConnectionString.java
index aae640d9..85ed9e43 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteprivateconnection/SyncDeletePrivateConnectionString.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteprivateconnection/SyncDeletePrivateConnectionString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeletePrivateConnectionString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       String name =
           PrivateConnectionName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]").toString();
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteroute/AsyncDeleteRoute.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteroute/AsyncDeleteRoute.java
index 285d305e..ff83f188 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteroute/AsyncDeleteRoute.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteroute/AsyncDeleteRoute.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteRoute() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       DeleteRouteRequest request =
           DeleteRouteRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteroute/AsyncDeleteRouteLRO.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteroute/AsyncDeleteRouteLRO.java
index c726dec0..933008ad 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteroute/AsyncDeleteRouteLRO.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteroute/AsyncDeleteRouteLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteRouteLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       DeleteRouteRequest request =
           DeleteRouteRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteroute/SyncDeleteRoute.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteroute/SyncDeleteRoute.java
index 12dad948..1d9e447d 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteroute/SyncDeleteRoute.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteroute/SyncDeleteRoute.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteRoute() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       DeleteRouteRequest request =
           DeleteRouteRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteroute/SyncDeleteRouteRoutename.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteroute/SyncDeleteRouteRoutename.java
index 68845f52..6ea041c6 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteroute/SyncDeleteRouteRoutename.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteroute/SyncDeleteRouteRoutename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteRouteRoutename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       RouteName name = RouteName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]", "[ROUTE]");
       datastreamClient.deleteRouteAsync(name).get();
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteroute/SyncDeleteRouteString.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteroute/SyncDeleteRouteString.java
index 802982d6..62f2add6 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteroute/SyncDeleteRouteString.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteroute/SyncDeleteRouteString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteRouteString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       String name =
           RouteName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]", "[ROUTE]").toString();
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deletestream/AsyncDeleteStream.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deletestream/AsyncDeleteStream.java
index bf37999c..42860e43 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deletestream/AsyncDeleteStream.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deletestream/AsyncDeleteStream.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteStream() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       DeleteStreamRequest request =
           DeleteStreamRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deletestream/AsyncDeleteStreamLRO.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deletestream/AsyncDeleteStreamLRO.java
index 84948620..4481254b 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deletestream/AsyncDeleteStreamLRO.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deletestream/AsyncDeleteStreamLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteStreamLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       DeleteStreamRequest request =
           DeleteStreamRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deletestream/SyncDeleteStream.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deletestream/SyncDeleteStream.java
index 720d045f..d2eca247 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deletestream/SyncDeleteStream.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deletestream/SyncDeleteStream.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteStream() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       DeleteStreamRequest request =
           DeleteStreamRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deletestream/SyncDeleteStreamStreamname.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deletestream/SyncDeleteStreamStreamname.java
index 7b0627d9..6656b072 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deletestream/SyncDeleteStreamStreamname.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deletestream/SyncDeleteStreamStreamname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteStreamStreamname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       StreamName name = StreamName.of("[PROJECT]", "[LOCATION]", "[STREAM]");
       datastreamClient.deleteStreamAsync(name).get();
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deletestream/SyncDeleteStreamString.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deletestream/SyncDeleteStreamString.java
index 497041eb..bfe88839 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deletestream/SyncDeleteStreamString.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deletestream/SyncDeleteStreamString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteStreamString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       String name = StreamName.of("[PROJECT]", "[LOCATION]", "[STREAM]").toString();
       datastreamClient.deleteStreamAsync(name).get();
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/discoverconnectionprofile/AsyncDiscoverConnectionProfile.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/discoverconnectionprofile/AsyncDiscoverConnectionProfile.java
index c2769682..26af49ab 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/discoverconnectionprofile/AsyncDiscoverConnectionProfile.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/discoverconnectionprofile/AsyncDiscoverConnectionProfile.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDiscoverConnectionProfile() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       DiscoverConnectionProfileRequest request =
           DiscoverConnectionProfileRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/discoverconnectionprofile/SyncDiscoverConnectionProfile.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/discoverconnectionprofile/SyncDiscoverConnectionProfile.java
index e73cf7bd..254478fe 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/discoverconnectionprofile/SyncDiscoverConnectionProfile.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/discoverconnectionprofile/SyncDiscoverConnectionProfile.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDiscoverConnectionProfile() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       DiscoverConnectionProfileRequest request =
           DiscoverConnectionProfileRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/fetchstaticips/AsyncFetchStaticIps.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/fetchstaticips/AsyncFetchStaticIps.java
index c0a4c5c8..a03e50cd 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/fetchstaticips/AsyncFetchStaticIps.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/fetchstaticips/AsyncFetchStaticIps.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncFetchStaticIps() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       FetchStaticIpsRequest request =
           FetchStaticIpsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/fetchstaticips/AsyncFetchStaticIpsPaged.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/fetchstaticips/AsyncFetchStaticIpsPaged.java
index 6bab8dcd..5173694e 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/fetchstaticips/AsyncFetchStaticIpsPaged.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/fetchstaticips/AsyncFetchStaticIpsPaged.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncFetchStaticIpsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       FetchStaticIpsRequest request =
           FetchStaticIpsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/fetchstaticips/SyncFetchStaticIps.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/fetchstaticips/SyncFetchStaticIps.java
index 24182d94..b72c3e8b 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/fetchstaticips/SyncFetchStaticIps.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/fetchstaticips/SyncFetchStaticIps.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncFetchStaticIps() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       FetchStaticIpsRequest request =
           FetchStaticIpsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/fetchstaticips/SyncFetchStaticIpsLocationname.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/fetchstaticips/SyncFetchStaticIpsLocationname.java
index e21b2bc1..597b76d8 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/fetchstaticips/SyncFetchStaticIpsLocationname.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/fetchstaticips/SyncFetchStaticIpsLocationname.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncFetchStaticIpsLocationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       LocationName name = LocationName.of("[PROJECT]", "[LOCATION]");
       for (String element : datastreamClient.fetchStaticIps(name).iterateAll()) {
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/fetchstaticips/SyncFetchStaticIpsString.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/fetchstaticips/SyncFetchStaticIpsString.java
index 2ca638da..a2833745 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/fetchstaticips/SyncFetchStaticIpsString.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/fetchstaticips/SyncFetchStaticIpsString.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncFetchStaticIpsString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       String name = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       for (String element : datastreamClient.fetchStaticIps(name).iterateAll()) {
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getconnectionprofile/AsyncGetConnectionProfile.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getconnectionprofile/AsyncGetConnectionProfile.java
index 4da46211..43ca48ab 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getconnectionprofile/AsyncGetConnectionProfile.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getconnectionprofile/AsyncGetConnectionProfile.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetConnectionProfile() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       GetConnectionProfileRequest request =
           GetConnectionProfileRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getconnectionprofile/SyncGetConnectionProfile.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getconnectionprofile/SyncGetConnectionProfile.java
index b1761319..a4b29d8e 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getconnectionprofile/SyncGetConnectionProfile.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getconnectionprofile/SyncGetConnectionProfile.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetConnectionProfile() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       GetConnectionProfileRequest request =
           GetConnectionProfileRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getconnectionprofile/SyncGetConnectionProfileConnectionprofilename.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getconnectionprofile/SyncGetConnectionProfileConnectionprofilename.java
index 9780d6e2..c9fa1275 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getconnectionprofile/SyncGetConnectionProfileConnectionprofilename.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getconnectionprofile/SyncGetConnectionProfileConnectionprofilename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetConnectionProfileConnectionprofilename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       ConnectionProfileName name =
           ConnectionProfileName.of("[PROJECT]", "[LOCATION]", "[CONNECTION_PROFILE]");
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getconnectionprofile/SyncGetConnectionProfileString.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getconnectionprofile/SyncGetConnectionProfileString.java
index b8bc07c6..37c001b7 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getconnectionprofile/SyncGetConnectionProfileString.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getconnectionprofile/SyncGetConnectionProfileString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetConnectionProfileString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       String name =
           ConnectionProfileName.of("[PROJECT]", "[LOCATION]", "[CONNECTION_PROFILE]").toString();
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getlocation/AsyncGetLocation.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getlocation/AsyncGetLocation.java
index 28b0338e..f4143255 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getlocation/AsyncGetLocation.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       ApiFuture future = datastreamClient.getLocationCallable().futureCall(request);
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getlocation/SyncGetLocation.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getlocation/SyncGetLocation.java
index d1facc9e..1bdc3a35 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getlocation/SyncGetLocation.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       Location response = datastreamClient.getLocation(request);
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getprivateconnection/AsyncGetPrivateConnection.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getprivateconnection/AsyncGetPrivateConnection.java
index 779f5233..837a40d8 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getprivateconnection/AsyncGetPrivateConnection.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getprivateconnection/AsyncGetPrivateConnection.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetPrivateConnection() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       GetPrivateConnectionRequest request =
           GetPrivateConnectionRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getprivateconnection/SyncGetPrivateConnection.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getprivateconnection/SyncGetPrivateConnection.java
index d915695f..d36bb208 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getprivateconnection/SyncGetPrivateConnection.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getprivateconnection/SyncGetPrivateConnection.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetPrivateConnection() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       GetPrivateConnectionRequest request =
           GetPrivateConnectionRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getprivateconnection/SyncGetPrivateConnectionPrivateconnectionname.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getprivateconnection/SyncGetPrivateConnectionPrivateconnectionname.java
index 7cdd509b..e889fd76 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getprivateconnection/SyncGetPrivateConnectionPrivateconnectionname.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getprivateconnection/SyncGetPrivateConnectionPrivateconnectionname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetPrivateConnectionPrivateconnectionname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       PrivateConnectionName name =
           PrivateConnectionName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]");
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getprivateconnection/SyncGetPrivateConnectionString.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getprivateconnection/SyncGetPrivateConnectionString.java
index 1d174f19..affe7fff 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getprivateconnection/SyncGetPrivateConnectionString.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getprivateconnection/SyncGetPrivateConnectionString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetPrivateConnectionString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       String name =
           PrivateConnectionName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]").toString();
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getroute/AsyncGetRoute.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getroute/AsyncGetRoute.java
index e097c40c..7d9c015a 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getroute/AsyncGetRoute.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getroute/AsyncGetRoute.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetRoute() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       GetRouteRequest request =
           GetRouteRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getroute/SyncGetRoute.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getroute/SyncGetRoute.java
index 280732e6..3dbb6a4e 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getroute/SyncGetRoute.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getroute/SyncGetRoute.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetRoute() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       GetRouteRequest request =
           GetRouteRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getroute/SyncGetRouteRoutename.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getroute/SyncGetRouteRoutename.java
index 1c36a7eb..db2d305c 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getroute/SyncGetRouteRoutename.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getroute/SyncGetRouteRoutename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetRouteRoutename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       RouteName name = RouteName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]", "[ROUTE]");
       Route response = datastreamClient.getRoute(name);
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getroute/SyncGetRouteString.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getroute/SyncGetRouteString.java
index 4883ed96..d878c6c5 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getroute/SyncGetRouteString.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getroute/SyncGetRouteString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetRouteString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       String name =
           RouteName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]", "[ROUTE]").toString();
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstream/AsyncGetStream.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstream/AsyncGetStream.java
index 7bbc3ad9..8a58834f 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstream/AsyncGetStream.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstream/AsyncGetStream.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetStream() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       GetStreamRequest request =
           GetStreamRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstream/SyncGetStream.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstream/SyncGetStream.java
index e06c26cc..b6221c34 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstream/SyncGetStream.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstream/SyncGetStream.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetStream() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       GetStreamRequest request =
           GetStreamRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstream/SyncGetStreamStreamname.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstream/SyncGetStreamStreamname.java
index 64ed4175..6e7e2a6d 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstream/SyncGetStreamStreamname.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstream/SyncGetStreamStreamname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetStreamStreamname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       StreamName name = StreamName.of("[PROJECT]", "[LOCATION]", "[STREAM]");
       Stream response = datastreamClient.getStream(name);
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstream/SyncGetStreamString.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstream/SyncGetStreamString.java
index c8d12068..91ee7c16 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstream/SyncGetStreamString.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstream/SyncGetStreamString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetStreamString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       String name = StreamName.of("[PROJECT]", "[LOCATION]", "[STREAM]").toString();
       Stream response = datastreamClient.getStream(name);
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstreamobject/AsyncGetStreamObject.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstreamobject/AsyncGetStreamObject.java
index e57ba704..8ed18531 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstreamobject/AsyncGetStreamObject.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstreamobject/AsyncGetStreamObject.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetStreamObject() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       GetStreamObjectRequest request =
           GetStreamObjectRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstreamobject/SyncGetStreamObject.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstreamobject/SyncGetStreamObject.java
index daadad9e..2c579384 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstreamobject/SyncGetStreamObject.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstreamobject/SyncGetStreamObject.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetStreamObject() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       GetStreamObjectRequest request =
           GetStreamObjectRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstreamobject/SyncGetStreamObjectStreamobjectname.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstreamobject/SyncGetStreamObjectStreamobjectname.java
index 80a1d92e..43c1fa71 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstreamobject/SyncGetStreamObjectStreamobjectname.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstreamobject/SyncGetStreamObjectStreamobjectname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetStreamObjectStreamobjectname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       StreamObjectName name =
           StreamObjectName.of("[PROJECT]", "[LOCATION]", "[STREAM]", "[OBJECT]");
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstreamobject/SyncGetStreamObjectString.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstreamobject/SyncGetStreamObjectString.java
index a4cd70cb..03e81aa1 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstreamobject/SyncGetStreamObjectString.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstreamobject/SyncGetStreamObjectString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetStreamObjectString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       String name =
           StreamObjectName.of("[PROJECT]", "[LOCATION]", "[STREAM]", "[OBJECT]").toString();
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listconnectionprofiles/AsyncListConnectionProfiles.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listconnectionprofiles/AsyncListConnectionProfiles.java
index f280bd8e..6bc04a12 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listconnectionprofiles/AsyncListConnectionProfiles.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listconnectionprofiles/AsyncListConnectionProfiles.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListConnectionProfiles() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       ListConnectionProfilesRequest request =
           ListConnectionProfilesRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listconnectionprofiles/AsyncListConnectionProfilesPaged.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listconnectionprofiles/AsyncListConnectionProfilesPaged.java
index 8ab4f567..c63cf825 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listconnectionprofiles/AsyncListConnectionProfilesPaged.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listconnectionprofiles/AsyncListConnectionProfilesPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListConnectionProfilesPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       ListConnectionProfilesRequest request =
           ListConnectionProfilesRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listconnectionprofiles/SyncListConnectionProfiles.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listconnectionprofiles/SyncListConnectionProfiles.java
index d079891c..ecd7b610 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listconnectionprofiles/SyncListConnectionProfiles.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listconnectionprofiles/SyncListConnectionProfiles.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListConnectionProfiles() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       ListConnectionProfilesRequest request =
           ListConnectionProfilesRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listconnectionprofiles/SyncListConnectionProfilesLocationname.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listconnectionprofiles/SyncListConnectionProfilesLocationname.java
index 2e2c71aa..f9b2b284 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listconnectionprofiles/SyncListConnectionProfilesLocationname.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listconnectionprofiles/SyncListConnectionProfilesLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListConnectionProfilesLocationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       for (ConnectionProfile element :
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listconnectionprofiles/SyncListConnectionProfilesString.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listconnectionprofiles/SyncListConnectionProfilesString.java
index 5996bf5a..e2e5decf 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listconnectionprofiles/SyncListConnectionProfilesString.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listconnectionprofiles/SyncListConnectionProfilesString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListConnectionProfilesString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       for (ConnectionProfile element :
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listlocations/AsyncListLocations.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listlocations/AsyncListLocations.java
index 668593a6..e54f91ef 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listlocations/AsyncListLocations.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listlocations/AsyncListLocationsPaged.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listlocations/AsyncListLocationsPaged.java
index 70ddb1b5..62e4f619 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listlocations/AsyncListLocationsPaged.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listlocations/SyncListLocations.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listlocations/SyncListLocations.java
index cc4a6212..6ced104a 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listlocations/SyncListLocations.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listprivateconnections/AsyncListPrivateConnections.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listprivateconnections/AsyncListPrivateConnections.java
index e5d8b3ca..a968974e 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listprivateconnections/AsyncListPrivateConnections.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listprivateconnections/AsyncListPrivateConnections.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListPrivateConnections() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       ListPrivateConnectionsRequest request =
           ListPrivateConnectionsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listprivateconnections/AsyncListPrivateConnectionsPaged.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listprivateconnections/AsyncListPrivateConnectionsPaged.java
index 6491deb9..8bb8a2b6 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listprivateconnections/AsyncListPrivateConnectionsPaged.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listprivateconnections/AsyncListPrivateConnectionsPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListPrivateConnectionsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       ListPrivateConnectionsRequest request =
           ListPrivateConnectionsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listprivateconnections/SyncListPrivateConnections.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listprivateconnections/SyncListPrivateConnections.java
index d8a36ff7..b13caa7c 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listprivateconnections/SyncListPrivateConnections.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listprivateconnections/SyncListPrivateConnections.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListPrivateConnections() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       ListPrivateConnectionsRequest request =
           ListPrivateConnectionsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listprivateconnections/SyncListPrivateConnectionsLocationname.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listprivateconnections/SyncListPrivateConnectionsLocationname.java
index 9cb479c1..6e92b604 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listprivateconnections/SyncListPrivateConnectionsLocationname.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listprivateconnections/SyncListPrivateConnectionsLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListPrivateConnectionsLocationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       for (PrivateConnection element :
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listprivateconnections/SyncListPrivateConnectionsString.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listprivateconnections/SyncListPrivateConnectionsString.java
index c9d2fdab..8a97c934 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listprivateconnections/SyncListPrivateConnectionsString.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listprivateconnections/SyncListPrivateConnectionsString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListPrivateConnectionsString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       for (PrivateConnection element :
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listroutes/AsyncListRoutes.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listroutes/AsyncListRoutes.java
index 2b5296c1..b7b80348 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listroutes/AsyncListRoutes.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listroutes/AsyncListRoutes.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListRoutes() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       ListRoutesRequest request =
           ListRoutesRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listroutes/AsyncListRoutesPaged.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listroutes/AsyncListRoutesPaged.java
index 553ea725..d86c9cc4 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listroutes/AsyncListRoutesPaged.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listroutes/AsyncListRoutesPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListRoutesPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       ListRoutesRequest request =
           ListRoutesRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listroutes/SyncListRoutes.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listroutes/SyncListRoutes.java
index e99df138..00b811ff 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listroutes/SyncListRoutes.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listroutes/SyncListRoutes.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListRoutes() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       ListRoutesRequest request =
           ListRoutesRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listroutes/SyncListRoutesPrivateconnectionname.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listroutes/SyncListRoutesPrivateconnectionname.java
index 80797e38..92de9d10 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listroutes/SyncListRoutesPrivateconnectionname.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listroutes/SyncListRoutesPrivateconnectionname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListRoutesPrivateconnectionname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       PrivateConnectionName parent =
           PrivateConnectionName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]");
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listroutes/SyncListRoutesString.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listroutes/SyncListRoutesString.java
index d117db5c..4ea5fe2b 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listroutes/SyncListRoutesString.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listroutes/SyncListRoutesString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListRoutesString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       String parent =
           PrivateConnectionName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]").toString();
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreamobjects/AsyncListStreamObjects.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreamobjects/AsyncListStreamObjects.java
index 43c870b3..bc18ce4a 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreamobjects/AsyncListStreamObjects.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreamobjects/AsyncListStreamObjects.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListStreamObjects() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       ListStreamObjectsRequest request =
           ListStreamObjectsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreamobjects/AsyncListStreamObjectsPaged.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreamobjects/AsyncListStreamObjectsPaged.java
index feb745d7..b2c27792 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreamobjects/AsyncListStreamObjectsPaged.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreamobjects/AsyncListStreamObjectsPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListStreamObjectsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       ListStreamObjectsRequest request =
           ListStreamObjectsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreamobjects/SyncListStreamObjects.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreamobjects/SyncListStreamObjects.java
index 1d63125d..a2111324 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreamobjects/SyncListStreamObjects.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreamobjects/SyncListStreamObjects.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListStreamObjects() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       ListStreamObjectsRequest request =
           ListStreamObjectsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreamobjects/SyncListStreamObjectsStreamname.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreamobjects/SyncListStreamObjectsStreamname.java
index 89146b80..31e7b2b0 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreamobjects/SyncListStreamObjectsStreamname.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreamobjects/SyncListStreamObjectsStreamname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListStreamObjectsStreamname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       StreamName parent = StreamName.of("[PROJECT]", "[LOCATION]", "[STREAM]");
       for (StreamObject element : datastreamClient.listStreamObjects(parent).iterateAll()) {
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreamobjects/SyncListStreamObjectsString.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreamobjects/SyncListStreamObjectsString.java
index 5b120a87..09202892 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreamobjects/SyncListStreamObjectsString.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreamobjects/SyncListStreamObjectsString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListStreamObjectsString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       String parent = StreamName.of("[PROJECT]", "[LOCATION]", "[STREAM]").toString();
       for (StreamObject element : datastreamClient.listStreamObjects(parent).iterateAll()) {
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreams/AsyncListStreams.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreams/AsyncListStreams.java
index 642de506..a2bbd7e3 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreams/AsyncListStreams.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreams/AsyncListStreams.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListStreams() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       ListStreamsRequest request =
           ListStreamsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreams/AsyncListStreamsPaged.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreams/AsyncListStreamsPaged.java
index bf9d9a53..943546b8 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreams/AsyncListStreamsPaged.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreams/AsyncListStreamsPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListStreamsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       ListStreamsRequest request =
           ListStreamsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreams/SyncListStreams.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreams/SyncListStreams.java
index cfda6260..b6a1f841 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreams/SyncListStreams.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreams/SyncListStreams.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListStreams() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       ListStreamsRequest request =
           ListStreamsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreams/SyncListStreamsLocationname.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreams/SyncListStreamsLocationname.java
index 2731f0e3..e52d5a5a 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreams/SyncListStreamsLocationname.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreams/SyncListStreamsLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListStreamsLocationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       for (Stream element : datastreamClient.listStreams(parent).iterateAll()) {
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreams/SyncListStreamsString.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreams/SyncListStreamsString.java
index 699f3380..c70b87bd 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreams/SyncListStreamsString.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreams/SyncListStreamsString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListStreamsString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       for (Stream element : datastreamClient.listStreams(parent).iterateAll()) {
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/lookupstreamobject/AsyncLookupStreamObject.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/lookupstreamobject/AsyncLookupStreamObject.java
index 326c6cc3..ce225504 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/lookupstreamobject/AsyncLookupStreamObject.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/lookupstreamobject/AsyncLookupStreamObject.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncLookupStreamObject() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       LookupStreamObjectRequest request =
           LookupStreamObjectRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/lookupstreamobject/SyncLookupStreamObject.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/lookupstreamobject/SyncLookupStreamObject.java
index 0a6c1d0f..6b02bdf7 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/lookupstreamobject/SyncLookupStreamObject.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/lookupstreamobject/SyncLookupStreamObject.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncLookupStreamObject() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       LookupStreamObjectRequest request =
           LookupStreamObjectRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/startbackfilljob/AsyncStartBackfillJob.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/startbackfilljob/AsyncStartBackfillJob.java
index 68e69127..c62fcde3 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/startbackfilljob/AsyncStartBackfillJob.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/startbackfilljob/AsyncStartBackfillJob.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncStartBackfillJob() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       StartBackfillJobRequest request =
           StartBackfillJobRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/startbackfilljob/SyncStartBackfillJob.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/startbackfilljob/SyncStartBackfillJob.java
index 344cfc60..5587882d 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/startbackfilljob/SyncStartBackfillJob.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/startbackfilljob/SyncStartBackfillJob.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncStartBackfillJob() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       StartBackfillJobRequest request =
           StartBackfillJobRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/startbackfilljob/SyncStartBackfillJobStreamobjectname.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/startbackfilljob/SyncStartBackfillJobStreamobjectname.java
index d170df66..7e242d0f 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/startbackfilljob/SyncStartBackfillJobStreamobjectname.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/startbackfilljob/SyncStartBackfillJobStreamobjectname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncStartBackfillJobStreamobjectname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       StreamObjectName object =
           StreamObjectName.of("[PROJECT]", "[LOCATION]", "[STREAM]", "[OBJECT]");
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/startbackfilljob/SyncStartBackfillJobString.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/startbackfilljob/SyncStartBackfillJobString.java
index 41e84816..c6f40cdd 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/startbackfilljob/SyncStartBackfillJobString.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/startbackfilljob/SyncStartBackfillJobString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncStartBackfillJobString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       String object =
           StreamObjectName.of("[PROJECT]", "[LOCATION]", "[STREAM]", "[OBJECT]").toString();
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/stopbackfilljob/AsyncStopBackfillJob.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/stopbackfilljob/AsyncStopBackfillJob.java
index fc6003fa..dfe456a9 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/stopbackfilljob/AsyncStopBackfillJob.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/stopbackfilljob/AsyncStopBackfillJob.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncStopBackfillJob() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       StopBackfillJobRequest request =
           StopBackfillJobRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/stopbackfilljob/SyncStopBackfillJob.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/stopbackfilljob/SyncStopBackfillJob.java
index 5d748754..8cb25378 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/stopbackfilljob/SyncStopBackfillJob.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/stopbackfilljob/SyncStopBackfillJob.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncStopBackfillJob() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       StopBackfillJobRequest request =
           StopBackfillJobRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/stopbackfilljob/SyncStopBackfillJobStreamobjectname.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/stopbackfilljob/SyncStopBackfillJobStreamobjectname.java
index aab47b17..ed89311c 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/stopbackfilljob/SyncStopBackfillJobStreamobjectname.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/stopbackfilljob/SyncStopBackfillJobStreamobjectname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncStopBackfillJobStreamobjectname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       StreamObjectName object =
           StreamObjectName.of("[PROJECT]", "[LOCATION]", "[STREAM]", "[OBJECT]");
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/stopbackfilljob/SyncStopBackfillJobString.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/stopbackfilljob/SyncStopBackfillJobString.java
index af1d4233..ee0ce289 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/stopbackfilljob/SyncStopBackfillJobString.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/stopbackfilljob/SyncStopBackfillJobString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncStopBackfillJobString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       String object =
           StreamObjectName.of("[PROJECT]", "[LOCATION]", "[STREAM]", "[OBJECT]").toString();
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updateconnectionprofile/AsyncUpdateConnectionProfile.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updateconnectionprofile/AsyncUpdateConnectionProfile.java
index ba59f850..dae9ca43 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updateconnectionprofile/AsyncUpdateConnectionProfile.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updateconnectionprofile/AsyncUpdateConnectionProfile.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateConnectionProfile() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       UpdateConnectionProfileRequest request =
           UpdateConnectionProfileRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updateconnectionprofile/AsyncUpdateConnectionProfileLRO.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updateconnectionprofile/AsyncUpdateConnectionProfileLRO.java
index ee25d636..2a82fa81 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updateconnectionprofile/AsyncUpdateConnectionProfileLRO.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updateconnectionprofile/AsyncUpdateConnectionProfileLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateConnectionProfileLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       UpdateConnectionProfileRequest request =
           UpdateConnectionProfileRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updateconnectionprofile/SyncUpdateConnectionProfile.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updateconnectionprofile/SyncUpdateConnectionProfile.java
index e83322c9..b1b9c279 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updateconnectionprofile/SyncUpdateConnectionProfile.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updateconnectionprofile/SyncUpdateConnectionProfile.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateConnectionProfile() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       UpdateConnectionProfileRequest request =
           UpdateConnectionProfileRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updateconnectionprofile/SyncUpdateConnectionProfileConnectionprofileFieldmask.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updateconnectionprofile/SyncUpdateConnectionProfileConnectionprofileFieldmask.java
index 39d7713b..b6877d7b 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updateconnectionprofile/SyncUpdateConnectionProfileConnectionprofileFieldmask.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updateconnectionprofile/SyncUpdateConnectionProfileConnectionprofileFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateConnectionProfileConnectionprofileFieldmask() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       ConnectionProfile connectionProfile = ConnectionProfile.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updatestream/AsyncUpdateStream.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updatestream/AsyncUpdateStream.java
index ac391b69..dd6fb5bf 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updatestream/AsyncUpdateStream.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updatestream/AsyncUpdateStream.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateStream() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       UpdateStreamRequest request =
           UpdateStreamRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updatestream/AsyncUpdateStreamLRO.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updatestream/AsyncUpdateStreamLRO.java
index dfaf286c..8c7d74da 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updatestream/AsyncUpdateStreamLRO.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updatestream/AsyncUpdateStreamLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateStreamLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       UpdateStreamRequest request =
           UpdateStreamRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updatestream/SyncUpdateStream.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updatestream/SyncUpdateStream.java
index 13b35c87..f01e1424 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updatestream/SyncUpdateStream.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updatestream/SyncUpdateStream.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateStream() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       UpdateStreamRequest request =
           UpdateStreamRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updatestream/SyncUpdateStreamStreamFieldmask.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updatestream/SyncUpdateStreamStreamFieldmask.java
index 00f5dfd4..5ca9d4ca 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updatestream/SyncUpdateStreamStreamFieldmask.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updatestream/SyncUpdateStreamStreamFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateStreamStreamFieldmask() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       Stream stream = Stream.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamsettings/getconnectionprofile/SyncGetConnectionProfile.java b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamsettings/getconnectionprofile/SyncGetConnectionProfile.java
index 2f9eb9e8..46c15261 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamsettings/getconnectionprofile/SyncGetConnectionProfile.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamsettings/getconnectionprofile/SyncGetConnectionProfile.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetConnectionProfile() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     DatastreamSettings.Builder datastreamSettingsBuilder = DatastreamSettings.newBuilder();
     datastreamSettingsBuilder
         .getConnectionProfileSettings()
         .setRetrySettings(
-            datastreamSettingsBuilder
-                .getConnectionProfileSettings()
-                .getRetrySettings()
-                .toBuilder()
+            datastreamSettingsBuilder.getConnectionProfileSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     DatastreamSettings datastreamSettings = datastreamSettingsBuilder.build();
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/stub/datastreamstubsettings/getconnectionprofile/SyncGetConnectionProfile.java b/samples/snippets/generated/com/google/cloud/datastream/v1/stub/datastreamstubsettings/getconnectionprofile/SyncGetConnectionProfile.java
index 9e86dfda..6bd67abf 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1/stub/datastreamstubsettings/getconnectionprofile/SyncGetConnectionProfile.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1/stub/datastreamstubsettings/getconnectionprofile/SyncGetConnectionProfile.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetConnectionProfile() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     DatastreamStubSettings.Builder datastreamSettingsBuilder = DatastreamStubSettings.newBuilder();
     datastreamSettingsBuilder
         .getConnectionProfileSettings()
         .setRetrySettings(
-            datastreamSettingsBuilder
-                .getConnectionProfileSettings()
-                .getRetrySettings()
-                .toBuilder()
+            datastreamSettingsBuilder.getConnectionProfileSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     DatastreamStubSettings datastreamSettings = datastreamSettingsBuilder.build();
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/create/SyncCreateSetCredentialsProvider.java
index 154ec306..da4fd468 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/create/SyncCreateSetCredentialsProvider.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/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
     DatastreamSettings datastreamSettings =
         DatastreamSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/create/SyncCreateSetCredentialsProvider1.java
index 04dbdc70..952f5d87 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/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
     DatastreamSettings datastreamSettings =
         DatastreamSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/create/SyncCreateSetEndpoint.java
index a3d6a834..abcf7283 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/create/SyncCreateSetEndpoint.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/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
     DatastreamSettings datastreamSettings =
         DatastreamSettings.newBuilder().setEndpoint(myEndpoint).build();
     DatastreamClient datastreamClient = DatastreamClient.create(datastreamSettings);
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createconnectionprofile/AsyncCreateConnectionProfile.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createconnectionprofile/AsyncCreateConnectionProfile.java
index ec27fdb7..046f74fe 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createconnectionprofile/AsyncCreateConnectionProfile.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createconnectionprofile/AsyncCreateConnectionProfile.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateConnectionProfile() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       CreateConnectionProfileRequest request =
           CreateConnectionProfileRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createconnectionprofile/AsyncCreateConnectionProfileLRO.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createconnectionprofile/AsyncCreateConnectionProfileLRO.java
index e4d95f53..0dbd9536 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createconnectionprofile/AsyncCreateConnectionProfileLRO.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createconnectionprofile/AsyncCreateConnectionProfileLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateConnectionProfileLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       CreateConnectionProfileRequest request =
           CreateConnectionProfileRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createconnectionprofile/SyncCreateConnectionProfile.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createconnectionprofile/SyncCreateConnectionProfile.java
index 4ce1011a..61670e36 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createconnectionprofile/SyncCreateConnectionProfile.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createconnectionprofile/SyncCreateConnectionProfile.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateConnectionProfile() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       CreateConnectionProfileRequest request =
           CreateConnectionProfileRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createconnectionprofile/SyncCreateConnectionProfileLocationnameConnectionprofileString.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createconnectionprofile/SyncCreateConnectionProfileLocationnameConnectionprofileString.java
index 807bfea2..a366139c 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createconnectionprofile/SyncCreateConnectionProfileLocationnameConnectionprofileString.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createconnectionprofile/SyncCreateConnectionProfileLocationnameConnectionprofileString.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
 
   public static void syncCreateConnectionProfileLocationnameConnectionprofileString()
       throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       ConnectionProfile connectionProfile = ConnectionProfile.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createconnectionprofile/SyncCreateConnectionProfileStringConnectionprofileString.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createconnectionprofile/SyncCreateConnectionProfileStringConnectionprofileString.java
index 4a59dfab..371bec68 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createconnectionprofile/SyncCreateConnectionProfileStringConnectionprofileString.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createconnectionprofile/SyncCreateConnectionProfileStringConnectionprofileString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateConnectionProfileStringConnectionprofileString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       ConnectionProfile connectionProfile = ConnectionProfile.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createprivateconnection/AsyncCreatePrivateConnection.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createprivateconnection/AsyncCreatePrivateConnection.java
index 6890a35d..5580d2a7 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createprivateconnection/AsyncCreatePrivateConnection.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createprivateconnection/AsyncCreatePrivateConnection.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreatePrivateConnection() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       CreatePrivateConnectionRequest request =
           CreatePrivateConnectionRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createprivateconnection/AsyncCreatePrivateConnectionLRO.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createprivateconnection/AsyncCreatePrivateConnectionLRO.java
index 02990337..90ab3cca 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createprivateconnection/AsyncCreatePrivateConnectionLRO.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createprivateconnection/AsyncCreatePrivateConnectionLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreatePrivateConnectionLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       CreatePrivateConnectionRequest request =
           CreatePrivateConnectionRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createprivateconnection/SyncCreatePrivateConnection.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createprivateconnection/SyncCreatePrivateConnection.java
index c5235abb..aeb481a8 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createprivateconnection/SyncCreatePrivateConnection.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createprivateconnection/SyncCreatePrivateConnection.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreatePrivateConnection() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       CreatePrivateConnectionRequest request =
           CreatePrivateConnectionRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createprivateconnection/SyncCreatePrivateConnectionLocationnamePrivateconnectionString.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createprivateconnection/SyncCreatePrivateConnectionLocationnamePrivateconnectionString.java
index 0b8b09d3..d5a1eb13 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createprivateconnection/SyncCreatePrivateConnectionLocationnamePrivateconnectionString.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createprivateconnection/SyncCreatePrivateConnectionLocationnamePrivateconnectionString.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
 
   public static void syncCreatePrivateConnectionLocationnamePrivateconnectionString()
       throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       PrivateConnection privateConnection = PrivateConnection.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createprivateconnection/SyncCreatePrivateConnectionStringPrivateconnectionString.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createprivateconnection/SyncCreatePrivateConnectionStringPrivateconnectionString.java
index 2c6b1fce..a6de1936 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createprivateconnection/SyncCreatePrivateConnectionStringPrivateconnectionString.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createprivateconnection/SyncCreatePrivateConnectionStringPrivateconnectionString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreatePrivateConnectionStringPrivateconnectionString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       PrivateConnection privateConnection = PrivateConnection.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createroute/AsyncCreateRoute.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createroute/AsyncCreateRoute.java
index 1e6a07be..45354dbb 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createroute/AsyncCreateRoute.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createroute/AsyncCreateRoute.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateRoute() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       CreateRouteRequest request =
           CreateRouteRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createroute/AsyncCreateRouteLRO.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createroute/AsyncCreateRouteLRO.java
index fcb10e9d..5e337d68 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createroute/AsyncCreateRouteLRO.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createroute/AsyncCreateRouteLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateRouteLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       CreateRouteRequest request =
           CreateRouteRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createroute/SyncCreateRoute.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createroute/SyncCreateRoute.java
index 012c1a62..9ee9a81c 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createroute/SyncCreateRoute.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createroute/SyncCreateRoute.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateRoute() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       CreateRouteRequest request =
           CreateRouteRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createroute/SyncCreateRoutePrivateconnectionnameRouteString.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createroute/SyncCreateRoutePrivateconnectionnameRouteString.java
index eca19388..955be8b2 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createroute/SyncCreateRoutePrivateconnectionnameRouteString.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createroute/SyncCreateRoutePrivateconnectionnameRouteString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateRoutePrivateconnectionnameRouteString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       PrivateConnectionName parent =
           PrivateConnectionName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]");
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createroute/SyncCreateRouteStringRouteString.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createroute/SyncCreateRouteStringRouteString.java
index 0f73a337..2eabe557 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createroute/SyncCreateRouteStringRouteString.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createroute/SyncCreateRouteStringRouteString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateRouteStringRouteString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       String parent =
           PrivateConnectionName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]").toString();
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createstream/AsyncCreateStream.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createstream/AsyncCreateStream.java
index a787d4ef..a7278d5a 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createstream/AsyncCreateStream.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createstream/AsyncCreateStream.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateStream() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       CreateStreamRequest request =
           CreateStreamRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createstream/AsyncCreateStreamLRO.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createstream/AsyncCreateStreamLRO.java
index 78833470..7ec737ad 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createstream/AsyncCreateStreamLRO.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createstream/AsyncCreateStreamLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateStreamLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       CreateStreamRequest request =
           CreateStreamRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createstream/SyncCreateStream.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createstream/SyncCreateStream.java
index b84a3b17..750d7b32 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createstream/SyncCreateStream.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createstream/SyncCreateStream.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateStream() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       CreateStreamRequest request =
           CreateStreamRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createstream/SyncCreateStreamLocationnameStreamString.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createstream/SyncCreateStreamLocationnameStreamString.java
index eeb716d5..f0642ef3 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createstream/SyncCreateStreamLocationnameStreamString.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createstream/SyncCreateStreamLocationnameStreamString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateStreamLocationnameStreamString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       Stream stream = Stream.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createstream/SyncCreateStreamStringStreamString.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createstream/SyncCreateStreamStringStreamString.java
index 00fbfea6..afdd4df1 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createstream/SyncCreateStreamStringStreamString.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createstream/SyncCreateStreamStringStreamString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateStreamStringStreamString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       Stream stream = Stream.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteconnectionprofile/AsyncDeleteConnectionProfile.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteconnectionprofile/AsyncDeleteConnectionProfile.java
index fc438bdb..d4c0c05d 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteconnectionprofile/AsyncDeleteConnectionProfile.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteconnectionprofile/AsyncDeleteConnectionProfile.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteConnectionProfile() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       DeleteConnectionProfileRequest request =
           DeleteConnectionProfileRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteconnectionprofile/AsyncDeleteConnectionProfileLRO.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteconnectionprofile/AsyncDeleteConnectionProfileLRO.java
index 6484b9fc..f6aef51a 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteconnectionprofile/AsyncDeleteConnectionProfileLRO.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteconnectionprofile/AsyncDeleteConnectionProfileLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteConnectionProfileLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       DeleteConnectionProfileRequest request =
           DeleteConnectionProfileRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteconnectionprofile/SyncDeleteConnectionProfile.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteconnectionprofile/SyncDeleteConnectionProfile.java
index 86cb4209..6d622e92 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteconnectionprofile/SyncDeleteConnectionProfile.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteconnectionprofile/SyncDeleteConnectionProfile.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteConnectionProfile() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       DeleteConnectionProfileRequest request =
           DeleteConnectionProfileRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteconnectionprofile/SyncDeleteConnectionProfileConnectionprofilename.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteconnectionprofile/SyncDeleteConnectionProfileConnectionprofilename.java
index a9f4b46c..3c5cea3b 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteconnectionprofile/SyncDeleteConnectionProfileConnectionprofilename.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteconnectionprofile/SyncDeleteConnectionProfileConnectionprofilename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteConnectionProfileConnectionprofilename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       ConnectionProfileName name =
           ConnectionProfileName.of("[PROJECT]", "[LOCATION]", "[CONNECTION_PROFILE]");
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteconnectionprofile/SyncDeleteConnectionProfileString.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteconnectionprofile/SyncDeleteConnectionProfileString.java
index b260c32f..c2d0d325 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteconnectionprofile/SyncDeleteConnectionProfileString.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteconnectionprofile/SyncDeleteConnectionProfileString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteConnectionProfileString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       String name =
           ConnectionProfileName.of("[PROJECT]", "[LOCATION]", "[CONNECTION_PROFILE]").toString();
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteprivateconnection/AsyncDeletePrivateConnection.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteprivateconnection/AsyncDeletePrivateConnection.java
index df006ec0..4fa914d6 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteprivateconnection/AsyncDeletePrivateConnection.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteprivateconnection/AsyncDeletePrivateConnection.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeletePrivateConnection() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       DeletePrivateConnectionRequest request =
           DeletePrivateConnectionRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteprivateconnection/AsyncDeletePrivateConnectionLRO.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteprivateconnection/AsyncDeletePrivateConnectionLRO.java
index 70c7d8ec..4afdf915 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteprivateconnection/AsyncDeletePrivateConnectionLRO.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteprivateconnection/AsyncDeletePrivateConnectionLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeletePrivateConnectionLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       DeletePrivateConnectionRequest request =
           DeletePrivateConnectionRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteprivateconnection/SyncDeletePrivateConnection.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteprivateconnection/SyncDeletePrivateConnection.java
index 498354f2..a798b91e 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteprivateconnection/SyncDeletePrivateConnection.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteprivateconnection/SyncDeletePrivateConnection.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeletePrivateConnection() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       DeletePrivateConnectionRequest request =
           DeletePrivateConnectionRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteprivateconnection/SyncDeletePrivateConnectionPrivateconnectionname.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteprivateconnection/SyncDeletePrivateConnectionPrivateconnectionname.java
index 41451c9a..6a196631 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteprivateconnection/SyncDeletePrivateConnectionPrivateconnectionname.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteprivateconnection/SyncDeletePrivateConnectionPrivateconnectionname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeletePrivateConnectionPrivateconnectionname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       PrivateConnectionName name =
           PrivateConnectionName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]");
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteprivateconnection/SyncDeletePrivateConnectionString.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteprivateconnection/SyncDeletePrivateConnectionString.java
index 62dff45c..62116850 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteprivateconnection/SyncDeletePrivateConnectionString.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteprivateconnection/SyncDeletePrivateConnectionString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeletePrivateConnectionString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       String name =
           PrivateConnectionName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]").toString();
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteroute/AsyncDeleteRoute.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteroute/AsyncDeleteRoute.java
index eb0c7836..80cbf164 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteroute/AsyncDeleteRoute.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteroute/AsyncDeleteRoute.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteRoute() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       DeleteRouteRequest request =
           DeleteRouteRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteroute/AsyncDeleteRouteLRO.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteroute/AsyncDeleteRouteLRO.java
index 8d2e9955..842c9a23 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteroute/AsyncDeleteRouteLRO.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteroute/AsyncDeleteRouteLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteRouteLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       DeleteRouteRequest request =
           DeleteRouteRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteroute/SyncDeleteRoute.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteroute/SyncDeleteRoute.java
index 99e6339f..6d70abc8 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteroute/SyncDeleteRoute.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteroute/SyncDeleteRoute.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteRoute() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       DeleteRouteRequest request =
           DeleteRouteRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteroute/SyncDeleteRouteRoutename.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteroute/SyncDeleteRouteRoutename.java
index 880b2945..be7c7dba 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteroute/SyncDeleteRouteRoutename.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteroute/SyncDeleteRouteRoutename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteRouteRoutename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       RouteName name = RouteName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]", "[ROUTE]");
       datastreamClient.deleteRouteAsync(name).get();
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteroute/SyncDeleteRouteString.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteroute/SyncDeleteRouteString.java
index 86f3e21b..71db4bb4 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteroute/SyncDeleteRouteString.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteroute/SyncDeleteRouteString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteRouteString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       String name =
           RouteName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]", "[ROUTE]").toString();
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deletestream/AsyncDeleteStream.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deletestream/AsyncDeleteStream.java
index 9ee548c6..6af423c0 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deletestream/AsyncDeleteStream.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deletestream/AsyncDeleteStream.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteStream() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       DeleteStreamRequest request =
           DeleteStreamRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deletestream/AsyncDeleteStreamLRO.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deletestream/AsyncDeleteStreamLRO.java
index 3f821411..9f7b6813 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deletestream/AsyncDeleteStreamLRO.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deletestream/AsyncDeleteStreamLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteStreamLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       DeleteStreamRequest request =
           DeleteStreamRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deletestream/SyncDeleteStream.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deletestream/SyncDeleteStream.java
index f78f1fc0..19450668 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deletestream/SyncDeleteStream.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deletestream/SyncDeleteStream.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteStream() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       DeleteStreamRequest request =
           DeleteStreamRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deletestream/SyncDeleteStreamStreamname.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deletestream/SyncDeleteStreamStreamname.java
index cc84517d..4c8c5240 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deletestream/SyncDeleteStreamStreamname.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deletestream/SyncDeleteStreamStreamname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteStreamStreamname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       StreamName name = StreamName.of("[PROJECT]", "[LOCATION]", "[STREAM]");
       datastreamClient.deleteStreamAsync(name).get();
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deletestream/SyncDeleteStreamString.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deletestream/SyncDeleteStreamString.java
index c13d5ebc..afeb6967 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deletestream/SyncDeleteStreamString.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deletestream/SyncDeleteStreamString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteStreamString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       String name = StreamName.of("[PROJECT]", "[LOCATION]", "[STREAM]").toString();
       datastreamClient.deleteStreamAsync(name).get();
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/discoverconnectionprofile/AsyncDiscoverConnectionProfile.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/discoverconnectionprofile/AsyncDiscoverConnectionProfile.java
index 512417df..ec56cb1a 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/discoverconnectionprofile/AsyncDiscoverConnectionProfile.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/discoverconnectionprofile/AsyncDiscoverConnectionProfile.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDiscoverConnectionProfile() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       DiscoverConnectionProfileRequest request =
           DiscoverConnectionProfileRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/discoverconnectionprofile/SyncDiscoverConnectionProfile.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/discoverconnectionprofile/SyncDiscoverConnectionProfile.java
index 94125893..98b2fdea 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/discoverconnectionprofile/SyncDiscoverConnectionProfile.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/discoverconnectionprofile/SyncDiscoverConnectionProfile.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDiscoverConnectionProfile() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       DiscoverConnectionProfileRequest request =
           DiscoverConnectionProfileRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetcherrors/AsyncFetchErrors.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetcherrors/AsyncFetchErrors.java
index 5db14c50..28045527 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetcherrors/AsyncFetchErrors.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetcherrors/AsyncFetchErrors.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncFetchErrors() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       FetchErrorsRequest request =
           FetchErrorsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetcherrors/AsyncFetchErrorsLRO.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetcherrors/AsyncFetchErrorsLRO.java
index a072d0f1..9da5cd88 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetcherrors/AsyncFetchErrorsLRO.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetcherrors/AsyncFetchErrorsLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncFetchErrorsLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       FetchErrorsRequest request =
           FetchErrorsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetcherrors/SyncFetchErrors.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetcherrors/SyncFetchErrors.java
index b857ec59..85f5798b 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetcherrors/SyncFetchErrors.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetcherrors/SyncFetchErrors.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncFetchErrors() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       FetchErrorsRequest request =
           FetchErrorsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetchstaticips/AsyncFetchStaticIps.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetchstaticips/AsyncFetchStaticIps.java
index 102c7dc0..e6e7b9dd 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetchstaticips/AsyncFetchStaticIps.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetchstaticips/AsyncFetchStaticIps.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncFetchStaticIps() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       FetchStaticIpsRequest request =
           FetchStaticIpsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetchstaticips/AsyncFetchStaticIpsPaged.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetchstaticips/AsyncFetchStaticIpsPaged.java
index 987e3df1..e1fa385c 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetchstaticips/AsyncFetchStaticIpsPaged.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetchstaticips/AsyncFetchStaticIpsPaged.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncFetchStaticIpsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       FetchStaticIpsRequest request =
           FetchStaticIpsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetchstaticips/SyncFetchStaticIps.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetchstaticips/SyncFetchStaticIps.java
index c6c548d4..53d2a421 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetchstaticips/SyncFetchStaticIps.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetchstaticips/SyncFetchStaticIps.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncFetchStaticIps() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       FetchStaticIpsRequest request =
           FetchStaticIpsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetchstaticips/SyncFetchStaticIpsLocationname.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetchstaticips/SyncFetchStaticIpsLocationname.java
index 40bd3c3c..bb0f1f2e 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetchstaticips/SyncFetchStaticIpsLocationname.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetchstaticips/SyncFetchStaticIpsLocationname.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncFetchStaticIpsLocationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       LocationName name = LocationName.of("[PROJECT]", "[LOCATION]");
       for (String element : datastreamClient.fetchStaticIps(name).iterateAll()) {
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetchstaticips/SyncFetchStaticIpsString.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetchstaticips/SyncFetchStaticIpsString.java
index 3cd71199..ceafe3b2 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetchstaticips/SyncFetchStaticIpsString.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetchstaticips/SyncFetchStaticIpsString.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncFetchStaticIpsString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       String name = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       for (String element : datastreamClient.fetchStaticIps(name).iterateAll()) {
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getconnectionprofile/AsyncGetConnectionProfile.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getconnectionprofile/AsyncGetConnectionProfile.java
index 83d2546e..9f56466e 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getconnectionprofile/AsyncGetConnectionProfile.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getconnectionprofile/AsyncGetConnectionProfile.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetConnectionProfile() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       GetConnectionProfileRequest request =
           GetConnectionProfileRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getconnectionprofile/SyncGetConnectionProfile.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getconnectionprofile/SyncGetConnectionProfile.java
index 55ecdc49..1ad7ec6b 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getconnectionprofile/SyncGetConnectionProfile.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getconnectionprofile/SyncGetConnectionProfile.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetConnectionProfile() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       GetConnectionProfileRequest request =
           GetConnectionProfileRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getconnectionprofile/SyncGetConnectionProfileConnectionprofilename.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getconnectionprofile/SyncGetConnectionProfileConnectionprofilename.java
index c59987d7..4cc3dd7a 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getconnectionprofile/SyncGetConnectionProfileConnectionprofilename.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getconnectionprofile/SyncGetConnectionProfileConnectionprofilename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetConnectionProfileConnectionprofilename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       ConnectionProfileName name =
           ConnectionProfileName.of("[PROJECT]", "[LOCATION]", "[CONNECTION_PROFILE]");
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getconnectionprofile/SyncGetConnectionProfileString.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getconnectionprofile/SyncGetConnectionProfileString.java
index 53d0981a..97c40290 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getconnectionprofile/SyncGetConnectionProfileString.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getconnectionprofile/SyncGetConnectionProfileString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetConnectionProfileString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       String name =
           ConnectionProfileName.of("[PROJECT]", "[LOCATION]", "[CONNECTION_PROFILE]").toString();
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getprivateconnection/AsyncGetPrivateConnection.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getprivateconnection/AsyncGetPrivateConnection.java
index e676f393..e1310eff 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getprivateconnection/AsyncGetPrivateConnection.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getprivateconnection/AsyncGetPrivateConnection.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetPrivateConnection() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       GetPrivateConnectionRequest request =
           GetPrivateConnectionRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getprivateconnection/SyncGetPrivateConnection.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getprivateconnection/SyncGetPrivateConnection.java
index 517d136c..24e68975 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getprivateconnection/SyncGetPrivateConnection.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getprivateconnection/SyncGetPrivateConnection.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetPrivateConnection() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       GetPrivateConnectionRequest request =
           GetPrivateConnectionRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getprivateconnection/SyncGetPrivateConnectionPrivateconnectionname.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getprivateconnection/SyncGetPrivateConnectionPrivateconnectionname.java
index b6b2526c..c6a6ad9f 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getprivateconnection/SyncGetPrivateConnectionPrivateconnectionname.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getprivateconnection/SyncGetPrivateConnectionPrivateconnectionname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetPrivateConnectionPrivateconnectionname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       PrivateConnectionName name =
           PrivateConnectionName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]");
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getprivateconnection/SyncGetPrivateConnectionString.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getprivateconnection/SyncGetPrivateConnectionString.java
index 3c5dc0fa..0c7b20fc 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getprivateconnection/SyncGetPrivateConnectionString.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getprivateconnection/SyncGetPrivateConnectionString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetPrivateConnectionString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       String name =
           PrivateConnectionName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]").toString();
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getroute/AsyncGetRoute.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getroute/AsyncGetRoute.java
index 8c4be667..b0faae66 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getroute/AsyncGetRoute.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getroute/AsyncGetRoute.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetRoute() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       GetRouteRequest request =
           GetRouteRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getroute/SyncGetRoute.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getroute/SyncGetRoute.java
index 33a59dad..0d511051 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getroute/SyncGetRoute.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getroute/SyncGetRoute.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetRoute() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       GetRouteRequest request =
           GetRouteRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getroute/SyncGetRouteRoutename.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getroute/SyncGetRouteRoutename.java
index 4262e81c..4e8668f9 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getroute/SyncGetRouteRoutename.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getroute/SyncGetRouteRoutename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetRouteRoutename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       RouteName name = RouteName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]", "[ROUTE]");
       Route response = datastreamClient.getRoute(name);
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getroute/SyncGetRouteString.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getroute/SyncGetRouteString.java
index 78329ed0..57f7e98c 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getroute/SyncGetRouteString.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getroute/SyncGetRouteString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetRouteString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       String name =
           RouteName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]", "[ROUTE]").toString();
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getstream/AsyncGetStream.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getstream/AsyncGetStream.java
index 6fe89312..d8d0425f 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getstream/AsyncGetStream.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getstream/AsyncGetStream.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetStream() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       GetStreamRequest request =
           GetStreamRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getstream/SyncGetStream.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getstream/SyncGetStream.java
index d1f9b4c1..0cef2616 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getstream/SyncGetStream.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getstream/SyncGetStream.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetStream() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       GetStreamRequest request =
           GetStreamRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getstream/SyncGetStreamStreamname.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getstream/SyncGetStreamStreamname.java
index e7892230..c402fa0b 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getstream/SyncGetStreamStreamname.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getstream/SyncGetStreamStreamname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetStreamStreamname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       StreamName name = StreamName.of("[PROJECT]", "[LOCATION]", "[STREAM]");
       Stream response = datastreamClient.getStream(name);
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getstream/SyncGetStreamString.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getstream/SyncGetStreamString.java
index b57272a0..2c9ec175 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getstream/SyncGetStreamString.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getstream/SyncGetStreamString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetStreamString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       String name = StreamName.of("[PROJECT]", "[LOCATION]", "[STREAM]").toString();
       Stream response = datastreamClient.getStream(name);
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listconnectionprofiles/AsyncListConnectionProfiles.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listconnectionprofiles/AsyncListConnectionProfiles.java
index c518319f..4222e351 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listconnectionprofiles/AsyncListConnectionProfiles.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listconnectionprofiles/AsyncListConnectionProfiles.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListConnectionProfiles() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       ListConnectionProfilesRequest request =
           ListConnectionProfilesRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listconnectionprofiles/AsyncListConnectionProfilesPaged.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listconnectionprofiles/AsyncListConnectionProfilesPaged.java
index a5b205e7..54be672e 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listconnectionprofiles/AsyncListConnectionProfilesPaged.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listconnectionprofiles/AsyncListConnectionProfilesPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListConnectionProfilesPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       ListConnectionProfilesRequest request =
           ListConnectionProfilesRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listconnectionprofiles/SyncListConnectionProfiles.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listconnectionprofiles/SyncListConnectionProfiles.java
index b09d38ff..3e022619 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listconnectionprofiles/SyncListConnectionProfiles.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listconnectionprofiles/SyncListConnectionProfiles.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListConnectionProfiles() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       ListConnectionProfilesRequest request =
           ListConnectionProfilesRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listconnectionprofiles/SyncListConnectionProfilesLocationname.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listconnectionprofiles/SyncListConnectionProfilesLocationname.java
index e239e6d7..0046f482 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listconnectionprofiles/SyncListConnectionProfilesLocationname.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listconnectionprofiles/SyncListConnectionProfilesLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListConnectionProfilesLocationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       for (ConnectionProfile element :
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listconnectionprofiles/SyncListConnectionProfilesString.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listconnectionprofiles/SyncListConnectionProfilesString.java
index 8ff8cdd1..e1e0256f 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listconnectionprofiles/SyncListConnectionProfilesString.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listconnectionprofiles/SyncListConnectionProfilesString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListConnectionProfilesString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       for (ConnectionProfile element :
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listprivateconnections/AsyncListPrivateConnections.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listprivateconnections/AsyncListPrivateConnections.java
index fbb140c3..3f93ccb3 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listprivateconnections/AsyncListPrivateConnections.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listprivateconnections/AsyncListPrivateConnections.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListPrivateConnections() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       ListPrivateConnectionsRequest request =
           ListPrivateConnectionsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listprivateconnections/AsyncListPrivateConnectionsPaged.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listprivateconnections/AsyncListPrivateConnectionsPaged.java
index 2aa1535b..ee27945f 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listprivateconnections/AsyncListPrivateConnectionsPaged.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listprivateconnections/AsyncListPrivateConnectionsPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListPrivateConnectionsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       ListPrivateConnectionsRequest request =
           ListPrivateConnectionsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listprivateconnections/SyncListPrivateConnections.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listprivateconnections/SyncListPrivateConnections.java
index 28591e76..a4d9fb2c 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listprivateconnections/SyncListPrivateConnections.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listprivateconnections/SyncListPrivateConnections.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListPrivateConnections() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       ListPrivateConnectionsRequest request =
           ListPrivateConnectionsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listprivateconnections/SyncListPrivateConnectionsLocationname.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listprivateconnections/SyncListPrivateConnectionsLocationname.java
index 557830f5..55199963 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listprivateconnections/SyncListPrivateConnectionsLocationname.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listprivateconnections/SyncListPrivateConnectionsLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListPrivateConnectionsLocationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       for (PrivateConnection element :
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listprivateconnections/SyncListPrivateConnectionsString.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listprivateconnections/SyncListPrivateConnectionsString.java
index 57ef891f..38423b33 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listprivateconnections/SyncListPrivateConnectionsString.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listprivateconnections/SyncListPrivateConnectionsString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListPrivateConnectionsString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       for (PrivateConnection element :
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listroutes/AsyncListRoutes.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listroutes/AsyncListRoutes.java
index 588a1d0f..04cadfe6 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listroutes/AsyncListRoutes.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listroutes/AsyncListRoutes.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListRoutes() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       ListRoutesRequest request =
           ListRoutesRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listroutes/AsyncListRoutesPaged.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listroutes/AsyncListRoutesPaged.java
index b33b990f..056f1acf 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listroutes/AsyncListRoutesPaged.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listroutes/AsyncListRoutesPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListRoutesPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       ListRoutesRequest request =
           ListRoutesRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listroutes/SyncListRoutes.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listroutes/SyncListRoutes.java
index 0fd289cf..c9a85d16 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listroutes/SyncListRoutes.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listroutes/SyncListRoutes.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListRoutes() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       ListRoutesRequest request =
           ListRoutesRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listroutes/SyncListRoutesPrivateconnectionname.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listroutes/SyncListRoutesPrivateconnectionname.java
index c43e408b..c2816f00 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listroutes/SyncListRoutesPrivateconnectionname.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listroutes/SyncListRoutesPrivateconnectionname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListRoutesPrivateconnectionname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       PrivateConnectionName parent =
           PrivateConnectionName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]");
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listroutes/SyncListRoutesString.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listroutes/SyncListRoutesString.java
index 7306f84d..4f8e6a1a 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listroutes/SyncListRoutesString.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listroutes/SyncListRoutesString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListRoutesString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       String parent =
           PrivateConnectionName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]").toString();
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/liststreams/AsyncListStreams.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/liststreams/AsyncListStreams.java
index 9fbd60f1..bd7e0654 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/liststreams/AsyncListStreams.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/liststreams/AsyncListStreams.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListStreams() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       ListStreamsRequest request =
           ListStreamsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/liststreams/AsyncListStreamsPaged.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/liststreams/AsyncListStreamsPaged.java
index fd13d3c5..46ec5d4a 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/liststreams/AsyncListStreamsPaged.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/liststreams/AsyncListStreamsPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListStreamsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       ListStreamsRequest request =
           ListStreamsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/liststreams/SyncListStreams.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/liststreams/SyncListStreams.java
index 6d95caf3..e03577b3 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/liststreams/SyncListStreams.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/liststreams/SyncListStreams.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListStreams() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       ListStreamsRequest request =
           ListStreamsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/liststreams/SyncListStreamsLocationname.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/liststreams/SyncListStreamsLocationname.java
index 3c547b48..0399938c 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/liststreams/SyncListStreamsLocationname.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/liststreams/SyncListStreamsLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListStreamsLocationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       for (Stream element : datastreamClient.listStreams(parent).iterateAll()) {
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/liststreams/SyncListStreamsString.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/liststreams/SyncListStreamsString.java
index 273bd71d..dc0ef969 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/liststreams/SyncListStreamsString.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/liststreams/SyncListStreamsString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListStreamsString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       for (Stream element : datastreamClient.listStreams(parent).iterateAll()) {
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updateconnectionprofile/AsyncUpdateConnectionProfile.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updateconnectionprofile/AsyncUpdateConnectionProfile.java
index de42de78..52e990fd 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updateconnectionprofile/AsyncUpdateConnectionProfile.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updateconnectionprofile/AsyncUpdateConnectionProfile.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateConnectionProfile() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       UpdateConnectionProfileRequest request =
           UpdateConnectionProfileRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updateconnectionprofile/AsyncUpdateConnectionProfileLRO.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updateconnectionprofile/AsyncUpdateConnectionProfileLRO.java
index 0dfdd204..e3997aea 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updateconnectionprofile/AsyncUpdateConnectionProfileLRO.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updateconnectionprofile/AsyncUpdateConnectionProfileLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateConnectionProfileLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       UpdateConnectionProfileRequest request =
           UpdateConnectionProfileRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updateconnectionprofile/SyncUpdateConnectionProfile.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updateconnectionprofile/SyncUpdateConnectionProfile.java
index 3b0fb0c4..6ac86b5a 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updateconnectionprofile/SyncUpdateConnectionProfile.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updateconnectionprofile/SyncUpdateConnectionProfile.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateConnectionProfile() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       UpdateConnectionProfileRequest request =
           UpdateConnectionProfileRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updateconnectionprofile/SyncUpdateConnectionProfileConnectionprofileFieldmask.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updateconnectionprofile/SyncUpdateConnectionProfileConnectionprofileFieldmask.java
index 58c9d974..03839172 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updateconnectionprofile/SyncUpdateConnectionProfileConnectionprofileFieldmask.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updateconnectionprofile/SyncUpdateConnectionProfileConnectionprofileFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateConnectionProfileConnectionprofileFieldmask() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       ConnectionProfile connectionProfile = ConnectionProfile.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updatestream/AsyncUpdateStream.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updatestream/AsyncUpdateStream.java
index ff02b15f..eb4c2bea 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updatestream/AsyncUpdateStream.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updatestream/AsyncUpdateStream.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateStream() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       UpdateStreamRequest request =
           UpdateStreamRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updatestream/AsyncUpdateStreamLRO.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updatestream/AsyncUpdateStreamLRO.java
index 6554853a..632df803 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updatestream/AsyncUpdateStreamLRO.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updatestream/AsyncUpdateStreamLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateStreamLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       UpdateStreamRequest request =
           UpdateStreamRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updatestream/SyncUpdateStream.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updatestream/SyncUpdateStream.java
index 109b116c..845a66dc 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updatestream/SyncUpdateStream.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updatestream/SyncUpdateStream.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateStream() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       UpdateStreamRequest request =
           UpdateStreamRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updatestream/SyncUpdateStreamStreamFieldmask.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updatestream/SyncUpdateStreamStreamFieldmask.java
index 4c5a320d..55ed965e 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updatestream/SyncUpdateStreamStreamFieldmask.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updatestream/SyncUpdateStreamStreamFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateStreamStreamFieldmask() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (DatastreamClient datastreamClient = DatastreamClient.create()) {
       Stream stream = Stream.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamsettings/getconnectionprofile/SyncGetConnectionProfile.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamsettings/getconnectionprofile/SyncGetConnectionProfile.java
index 023ff532..28ad8e7e 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamsettings/getconnectionprofile/SyncGetConnectionProfile.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamsettings/getconnectionprofile/SyncGetConnectionProfile.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetConnectionProfile() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     DatastreamSettings.Builder datastreamSettingsBuilder = DatastreamSettings.newBuilder();
     datastreamSettingsBuilder
         .getConnectionProfileSettings()
         .setRetrySettings(
-            datastreamSettingsBuilder
-                .getConnectionProfileSettings()
-                .getRetrySettings()
-                .toBuilder()
+            datastreamSettingsBuilder.getConnectionProfileSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     DatastreamSettings datastreamSettings = datastreamSettingsBuilder.build();
diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/stub/datastreamstubsettings/getconnectionprofile/SyncGetConnectionProfile.java b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/stub/datastreamstubsettings/getconnectionprofile/SyncGetConnectionProfile.java
index a1ec0dc7..5ecf42f0 100644
--- a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/stub/datastreamstubsettings/getconnectionprofile/SyncGetConnectionProfile.java
+++ b/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/stub/datastreamstubsettings/getconnectionprofile/SyncGetConnectionProfile.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetConnectionProfile() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     DatastreamStubSettings.Builder datastreamSettingsBuilder = DatastreamStubSettings.newBuilder();
     datastreamSettingsBuilder
         .getConnectionProfileSettings()
         .setRetrySettings(
-            datastreamSettingsBuilder
-                .getConnectionProfileSettings()
-                .getRetrySettings()
-                .toBuilder()
+            datastreamSettingsBuilder.getConnectionProfileSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     DatastreamStubSettings datastreamSettings = datastreamSettingsBuilder.build();