From 4d56fea8e46c0933b978569b5efe4a569f60b81c Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Fri, 9 Sep 2022 16:16:20 +0000 Subject: [PATCH] chore(bazel): Update WORKSPACE files for rules_gapic, gax_java, generator_java versions (#223) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 472750037 Source-Link: https://github.com/googleapis/googleapis/commit/88f2ea3f53b9712f2e04f28f06210f6f77fa7e24 Source-Link: https://github.com/googleapis/googleapis-gen/commit/230a5588306aae18fe8f2a57f14d4039ad72c901 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjMwYTU1ODgzMDZhYWUxOGZlOGYyYTU3ZjE0ZDQwMzlhZDcyYzkwMSJ9 --- .../cloud/eventarc/v1/EventarcClient.java | 546 +++++++++++++----- .../cloud/eventarc/v1/EventarcSettings.java | 12 +- .../cloud/eventarc/v1/package-info.java | 7 +- .../v1/stub/EventarcStubSettings.java | 12 +- .../v1/stub/HttpJsonEventarcStub.java | 15 +- .../SyncCreateSetCredentialsProvider.java | 7 +- .../SyncCreateSetCredentialsProvider1.java | 7 +- .../create/SyncCreateSetEndpoint.java | 7 +- .../createchannel/AsyncCreateChannel.java | 7 +- .../createchannel/AsyncCreateChannelLRO.java | 7 +- .../createchannel/SyncCreateChannel.java | 7 +- ...reateChannelLocationnameChannelString.java | 7 +- .../SyncCreateChannelStringChannelString.java | 7 +- .../AsyncCreateChannelConnection.java | 7 +- .../AsyncCreateChannelConnectionLRO.java | 7 +- .../SyncCreateChannelConnection.java | 7 +- ...onLocationnameChannelconnectionString.java | 13 +- ...nnectionStringChannelconnectionString.java | 13 +- .../createtrigger/AsyncCreateTrigger.java | 7 +- .../createtrigger/AsyncCreateTriggerLRO.java | 7 +- .../createtrigger/SyncCreateTrigger.java | 7 +- ...reateTriggerLocationnameTriggerString.java | 7 +- .../SyncCreateTriggerStringTriggerString.java | 7 +- .../deletechannel/AsyncDeleteChannel.java | 7 +- .../deletechannel/AsyncDeleteChannelLRO.java | 7 +- .../deletechannel/SyncDeleteChannel.java | 7 +- .../SyncDeleteChannelChannelname.java | 7 +- .../SyncDeleteChannelString.java | 7 +- .../AsyncDeleteChannelConnection.java | 7 +- .../AsyncDeleteChannelConnectionLRO.java | 7 +- .../SyncDeleteChannelConnection.java | 7 +- ...hannelConnectionChannelconnectionname.java | 7 +- .../SyncDeleteChannelConnectionString.java | 7 +- .../deletetrigger/AsyncDeleteTrigger.java | 7 +- .../deletetrigger/AsyncDeleteTriggerLRO.java | 7 +- .../deletetrigger/SyncDeleteTrigger.java | 7 +- .../SyncDeleteTriggerStringBoolean.java | 7 +- .../SyncDeleteTriggerTriggernameBoolean.java | 7 +- .../getchannel/AsyncGetChannel.java | 7 +- .../getchannel/SyncGetChannel.java | 7 +- .../getchannel/SyncGetChannelChannelname.java | 7 +- .../getchannel/SyncGetChannelString.java | 7 +- .../AsyncGetChannelConnection.java | 7 +- .../SyncGetChannelConnection.java | 7 +- ...hannelConnectionChannelconnectionname.java | 7 +- .../SyncGetChannelConnectionString.java | 7 +- .../getprovider/AsyncGetProvider.java | 7 +- .../getprovider/SyncGetProvider.java | 7 +- .../SyncGetProviderProvidername.java | 7 +- .../getprovider/SyncGetProviderString.java | 7 +- .../gettrigger/AsyncGetTrigger.java | 7 +- .../gettrigger/SyncGetTrigger.java | 7 +- .../gettrigger/SyncGetTriggerString.java | 7 +- .../gettrigger/SyncGetTriggerTriggername.java | 7 +- .../AsyncListChannelConnections.java | 7 +- .../AsyncListChannelConnectionsPaged.java | 7 +- .../SyncListChannelConnections.java | 7 +- ...yncListChannelConnectionsLocationname.java | 7 +- .../SyncListChannelConnectionsString.java | 7 +- .../listchannels/AsyncListChannels.java | 7 +- .../listchannels/AsyncListChannelsPaged.java | 7 +- .../listchannels/SyncListChannels.java | 7 +- .../SyncListChannelsLocationname.java | 7 +- .../listchannels/SyncListChannelsString.java | 7 +- .../listproviders/AsyncListProviders.java | 7 +- .../AsyncListProvidersPaged.java | 7 +- .../listproviders/SyncListProviders.java | 7 +- .../SyncListProvidersLocationname.java | 7 +- .../SyncListProvidersString.java | 7 +- .../listtriggers/AsyncListTriggers.java | 7 +- .../listtriggers/AsyncListTriggersPaged.java | 7 +- .../listtriggers/SyncListTriggers.java | 7 +- .../SyncListTriggersLocationname.java | 7 +- .../listtriggers/SyncListTriggersString.java | 7 +- .../updatechannel/AsyncUpdateChannel.java | 7 +- .../updatechannel/AsyncUpdateChannelLRO.java | 7 +- .../updatechannel/SyncUpdateChannel.java | 7 +- .../SyncUpdateChannelChannelFieldmask.java | 7 +- .../updatetrigger/AsyncUpdateTrigger.java | 7 +- .../updatetrigger/AsyncUpdateTriggerLRO.java | 7 +- .../updatetrigger/SyncUpdateTrigger.java | 7 +- ...cUpdateTriggerTriggerFieldmaskBoolean.java | 7 +- .../gettrigger/SyncGetTrigger.java | 12 +- .../gettrigger/SyncGetTrigger.java | 12 +- 84 files changed, 818 insertions(+), 349 deletions(-) diff --git a/java-eventarc/google-cloud-eventarc/src/main/java/com/google/cloud/eventarc/v1/EventarcClient.java b/java-eventarc/google-cloud-eventarc/src/main/java/com/google/cloud/eventarc/v1/EventarcClient.java index 30e91115c6e7..8e0424772eda 100644 --- a/java-eventarc/google-cloud-eventarc/src/main/java/com/google/cloud/eventarc/v1/EventarcClient.java +++ b/java-eventarc/google-cloud-eventarc/src/main/java/com/google/cloud/eventarc/v1/EventarcClient.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 (EventarcClient eventarcClient = EventarcClient.create()) {
  *   TriggerName name = TriggerName.of("[PROJECT]", "[LOCATION]", "[TRIGGER]");
  *   Trigger response = eventarcClient.getTrigger(name);
@@ -84,8 +87,11 @@
  * 

To customize credentials: * *

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

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * EventarcSettings eventarcSettings =
  *     EventarcSettings.newBuilder().setEndpoint(myEndpoint).build();
  * EventarcClient eventarcClient = EventarcClient.create(eventarcSettings);
@@ -107,8 +116,11 @@
  * the wire:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * EventarcSettings eventarcSettings =
  *     EventarcSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -199,8 +211,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 (EventarcClient eventarcClient = EventarcClient.create()) {
    *   TriggerName name = TriggerName.of("[PROJECT]", "[LOCATION]", "[TRIGGER]");
    *   Trigger response = eventarcClient.getTrigger(name);
@@ -223,8 +238,11 @@ public final Trigger getTrigger(TriggerName 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 (EventarcClient eventarcClient = EventarcClient.create()) {
    *   String name = TriggerName.of("[PROJECT]", "[LOCATION]", "[TRIGGER]").toString();
    *   Trigger response = eventarcClient.getTrigger(name);
@@ -246,8 +264,11 @@ public final Trigger getTrigger(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 (EventarcClient eventarcClient = EventarcClient.create()) {
    *   GetTriggerRequest request =
    *       GetTriggerRequest.newBuilder()
@@ -271,8 +292,11 @@ public final Trigger getTrigger(GetTriggerRequest 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 (EventarcClient eventarcClient = EventarcClient.create()) {
    *   GetTriggerRequest request =
    *       GetTriggerRequest.newBuilder()
@@ -295,8 +319,11 @@ public final UnaryCallable getTriggerCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EventarcClient eventarcClient = EventarcClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (Trigger element : eventarcClient.listTriggers(parent).iterateAll()) {
@@ -323,8 +350,11 @@ public final ListTriggersPagedResponse listTriggers(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 (EventarcClient eventarcClient = EventarcClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   for (Trigger element : eventarcClient.listTriggers(parent).iterateAll()) {
@@ -348,8 +378,11 @@ public final ListTriggersPagedResponse listTriggers(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 (EventarcClient eventarcClient = EventarcClient.create()) {
    *   ListTriggersRequest request =
    *       ListTriggersRequest.newBuilder()
@@ -378,8 +411,11 @@ public final ListTriggersPagedResponse listTriggers(ListTriggersRequest 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 (EventarcClient eventarcClient = EventarcClient.create()) {
    *   ListTriggersRequest request =
    *       ListTriggersRequest.newBuilder()
@@ -408,8 +444,11 @@ public final ListTriggersPagedResponse listTriggers(ListTriggersRequest 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 (EventarcClient eventarcClient = EventarcClient.create()) {
    *   ListTriggersRequest request =
    *       ListTriggersRequest.newBuilder()
@@ -444,8 +483,11 @@ public final UnaryCallable listTrigge
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EventarcClient eventarcClient = EventarcClient.create()) {
    *   ChannelName name = ChannelName.of("[PROJECT]", "[LOCATION]", "[CHANNEL]");
    *   Channel response = eventarcClient.getChannel(name);
@@ -884,8 +968,11 @@ public final Channel getChannel(ChannelName 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 (EventarcClient eventarcClient = EventarcClient.create()) {
    *   String name = ChannelName.of("[PROJECT]", "[LOCATION]", "[CHANNEL]").toString();
    *   Channel response = eventarcClient.getChannel(name);
@@ -907,8 +994,11 @@ public final Channel getChannel(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 (EventarcClient eventarcClient = EventarcClient.create()) {
    *   GetChannelRequest request =
    *       GetChannelRequest.newBuilder()
@@ -932,8 +1022,11 @@ public final Channel getChannel(GetChannelRequest 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 (EventarcClient eventarcClient = EventarcClient.create()) {
    *   GetChannelRequest request =
    *       GetChannelRequest.newBuilder()
@@ -956,8 +1049,11 @@ public final UnaryCallable getChannelCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EventarcClient eventarcClient = EventarcClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (Channel element : eventarcClient.listChannels(parent).iterateAll()) {
@@ -984,8 +1080,11 @@ public final ListChannelsPagedResponse listChannels(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 (EventarcClient eventarcClient = EventarcClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   for (Channel element : eventarcClient.listChannels(parent).iterateAll()) {
@@ -1009,8 +1108,11 @@ public final ListChannelsPagedResponse listChannels(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 (EventarcClient eventarcClient = EventarcClient.create()) {
    *   ListChannelsRequest request =
    *       ListChannelsRequest.newBuilder()
@@ -1039,8 +1141,11 @@ public final ListChannelsPagedResponse listChannels(ListChannelsRequest 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 (EventarcClient eventarcClient = EventarcClient.create()) {
    *   ListChannelsRequest request =
    *       ListChannelsRequest.newBuilder()
@@ -1069,8 +1174,11 @@ public final ListChannelsPagedResponse listChannels(ListChannelsRequest 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 (EventarcClient eventarcClient = EventarcClient.create()) {
    *   ListChannelsRequest request =
    *       ListChannelsRequest.newBuilder()
@@ -1105,8 +1213,11 @@ public final UnaryCallable listChanne
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EventarcClient eventarcClient = EventarcClient.create()) {
    *   ProviderName name = ProviderName.of("[PROJECT]", "[LOCATION]", "[PROVIDER]");
    *   Provider response = eventarcClient.getProvider(name);
@@ -1517,8 +1670,11 @@ public final Provider getProvider(ProviderName 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 (EventarcClient eventarcClient = EventarcClient.create()) {
    *   String name = ProviderName.of("[PROJECT]", "[LOCATION]", "[PROVIDER]").toString();
    *   Provider response = eventarcClient.getProvider(name);
@@ -1540,8 +1696,11 @@ public final Provider getProvider(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 (EventarcClient eventarcClient = EventarcClient.create()) {
    *   GetProviderRequest request =
    *       GetProviderRequest.newBuilder()
@@ -1565,8 +1724,11 @@ public final Provider getProvider(GetProviderRequest 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 (EventarcClient eventarcClient = EventarcClient.create()) {
    *   GetProviderRequest request =
    *       GetProviderRequest.newBuilder()
@@ -1589,8 +1751,11 @@ public final UnaryCallable getProviderCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EventarcClient eventarcClient = EventarcClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (Provider element : eventarcClient.listProviders(parent).iterateAll()) {
@@ -1617,8 +1782,11 @@ public final ListProvidersPagedResponse listProviders(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 (EventarcClient eventarcClient = EventarcClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   for (Provider element : eventarcClient.listProviders(parent).iterateAll()) {
@@ -1642,8 +1810,11 @@ public final ListProvidersPagedResponse listProviders(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 (EventarcClient eventarcClient = EventarcClient.create()) {
    *   ListProvidersRequest request =
    *       ListProvidersRequest.newBuilder()
@@ -1673,8 +1844,11 @@ public final ListProvidersPagedResponse listProviders(ListProvidersRequest 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 (EventarcClient eventarcClient = EventarcClient.create()) {
    *   ListProvidersRequest request =
    *       ListProvidersRequest.newBuilder()
@@ -1704,8 +1878,11 @@ public final ListProvidersPagedResponse listProviders(ListProvidersRequest 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 (EventarcClient eventarcClient = EventarcClient.create()) {
    *   ListProvidersRequest request =
    *       ListProvidersRequest.newBuilder()
@@ -1741,8 +1918,11 @@ public final UnaryCallable listProv
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EventarcClient eventarcClient = EventarcClient.create()) {
    *   ChannelConnectionName name =
    *       ChannelConnectionName.of("[PROJECT]", "[LOCATION]", "[CHANNEL_CONNECTION]");
@@ -1768,8 +1948,11 @@ public final ChannelConnection getChannelConnection(ChannelConnectionName 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 (EventarcClient eventarcClient = EventarcClient.create()) {
    *   String name =
    *       ChannelConnectionName.of("[PROJECT]", "[LOCATION]", "[CHANNEL_CONNECTION]").toString();
@@ -1793,8 +1976,11 @@ public final ChannelConnection getChannelConnection(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 (EventarcClient eventarcClient = EventarcClient.create()) {
    *   GetChannelConnectionRequest request =
    *       GetChannelConnectionRequest.newBuilder()
@@ -1820,8 +2006,11 @@ public final ChannelConnection getChannelConnection(GetChannelConnectionRequest
    * 

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EventarcClient eventarcClient = EventarcClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (ChannelConnection element : eventarcClient.listChannelConnections(parent).iterateAll()) {
@@ -1876,8 +2068,11 @@ public final ListChannelConnectionsPagedResponse listChannelConnections(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 (EventarcClient eventarcClient = EventarcClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   for (ChannelConnection element : eventarcClient.listChannelConnections(parent).iterateAll()) {
@@ -1902,8 +2097,11 @@ public final ListChannelConnectionsPagedResponse listChannelConnections(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 (EventarcClient eventarcClient = EventarcClient.create()) {
    *   ListChannelConnectionsRequest request =
    *       ListChannelConnectionsRequest.newBuilder()
@@ -1933,8 +2131,11 @@ public final ListChannelConnectionsPagedResponse listChannelConnections(
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

For example, to set the total timeout of getTrigger 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
  * EventarcSettings.Builder eventarcSettingsBuilder = EventarcSettings.newBuilder();
  * eventarcSettingsBuilder
  *     .getTriggerSettings()
  *     .setRetrySettings(
- *         eventarcSettingsBuilder
- *             .getTriggerSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         eventarcSettingsBuilder.getTriggerSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * EventarcSettings eventarcSettings = eventarcSettingsBuilder.build();
diff --git a/java-eventarc/google-cloud-eventarc/src/main/java/com/google/cloud/eventarc/v1/package-info.java b/java-eventarc/google-cloud-eventarc/src/main/java/com/google/cloud/eventarc/v1/package-info.java
index 6e7b531f47d7..8a22d29cd7bf 100644
--- a/java-eventarc/google-cloud-eventarc/src/main/java/com/google/cloud/eventarc/v1/package-info.java
+++ b/java-eventarc/google-cloud-eventarc/src/main/java/com/google/cloud/eventarc/v1/package-info.java
@@ -27,8 +27,11 @@
  * 

Sample for EventarcClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (EventarcClient eventarcClient = EventarcClient.create()) {
  *   TriggerName name = TriggerName.of("[PROJECT]", "[LOCATION]", "[TRIGGER]");
  *   Trigger response = eventarcClient.getTrigger(name);
diff --git a/java-eventarc/google-cloud-eventarc/src/main/java/com/google/cloud/eventarc/v1/stub/EventarcStubSettings.java b/java-eventarc/google-cloud-eventarc/src/main/java/com/google/cloud/eventarc/v1/stub/EventarcStubSettings.java
index ff07bde95a89..9a1f8f5bcec5 100644
--- a/java-eventarc/google-cloud-eventarc/src/main/java/com/google/cloud/eventarc/v1/stub/EventarcStubSettings.java
+++ b/java-eventarc/google-cloud-eventarc/src/main/java/com/google/cloud/eventarc/v1/stub/EventarcStubSettings.java
@@ -103,16 +103,16 @@
  * 

For example, to set the total timeout of getTrigger 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
  * EventarcStubSettings.Builder eventarcSettingsBuilder = EventarcStubSettings.newBuilder();
  * eventarcSettingsBuilder
  *     .getTriggerSettings()
  *     .setRetrySettings(
- *         eventarcSettingsBuilder
- *             .getTriggerSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         eventarcSettingsBuilder.getTriggerSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * EventarcStubSettings eventarcSettings = eventarcSettingsBuilder.build();
diff --git a/java-eventarc/google-cloud-eventarc/src/main/java/com/google/cloud/eventarc/v1/stub/HttpJsonEventarcStub.java b/java-eventarc/google-cloud-eventarc/src/main/java/com/google/cloud/eventarc/v1/stub/HttpJsonEventarcStub.java
index 541654c8ac51..d16f111d7004 100644
--- a/java-eventarc/google-cloud-eventarc/src/main/java/com/google/cloud/eventarc/v1/stub/HttpJsonEventarcStub.java
+++ b/java-eventarc/google-cloud-eventarc/src/main/java/com/google/cloud/eventarc/v1/stub/HttpJsonEventarcStub.java
@@ -185,7 +185,8 @@ public class HttpJsonEventarcStub extends EventarcStub {
                           })
                       .setRequestBodyExtractor(
                           request ->
-                              ProtoRestSerializer.create().toBody("trigger", request.getTrigger()))
+                              ProtoRestSerializer.create()
+                                  .toBody("trigger", request.getTrigger(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -229,7 +230,8 @@ public class HttpJsonEventarcStub extends EventarcStub {
                           })
                       .setRequestBodyExtractor(
                           request ->
-                              ProtoRestSerializer.create().toBody("trigger", request.getTrigger()))
+                              ProtoRestSerializer.create()
+                                  .toBody("trigger", request.getTrigger(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -379,7 +381,8 @@ public class HttpJsonEventarcStub extends EventarcStub {
                           })
                       .setRequestBodyExtractor(
                           request ->
-                              ProtoRestSerializer.create().toBody("channel", request.getChannel()))
+                              ProtoRestSerializer.create()
+                                  .toBody("channel", request.getChannel(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -421,7 +424,8 @@ public class HttpJsonEventarcStub extends EventarcStub {
                           })
                       .setRequestBodyExtractor(
                           request ->
-                              ProtoRestSerializer.create().toBody("channel", request.getChannel()))
+                              ProtoRestSerializer.create()
+                                  .toBody("channel", request.getChannel(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -640,7 +644,8 @@ public class HttpJsonEventarcStub extends EventarcStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("channelConnection", request.getChannelConnection()))
+                                  .toBody(
+                                      "channelConnection", request.getChannelConnection(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/create/SyncCreateSetCredentialsProvider.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/create/SyncCreateSetCredentialsProvider.java
index 12ac41b020ac..d3591cdd57dd 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/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
     EventarcSettings eventarcSettings =
         EventarcSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/create/SyncCreateSetCredentialsProvider1.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/create/SyncCreateSetCredentialsProvider1.java
index f8c3608bac44..b1c951164d4d 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/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
     EventarcSettings eventarcSettings =
         EventarcSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/create/SyncCreateSetEndpoint.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/create/SyncCreateSetEndpoint.java
index ed9e227246cd..d3554e4f6e7f 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/create/SyncCreateSetEndpoint.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/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
     EventarcSettings eventarcSettings =
         EventarcSettings.newBuilder().setEndpoint(myEndpoint).build();
     EventarcClient eventarcClient = EventarcClient.create(eventarcSettings);
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createchannel/AsyncCreateChannel.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createchannel/AsyncCreateChannel.java
index e8f860bca505..96389520775e 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createchannel/AsyncCreateChannel.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createchannel/AsyncCreateChannel.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateChannel() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       CreateChannelRequest request =
           CreateChannelRequest.newBuilder()
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createchannel/AsyncCreateChannelLRO.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createchannel/AsyncCreateChannelLRO.java
index 80c3e98e7152..3f0c7e27c4de 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createchannel/AsyncCreateChannelLRO.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createchannel/AsyncCreateChannelLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateChannelLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       CreateChannelRequest request =
           CreateChannelRequest.newBuilder()
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createchannel/SyncCreateChannel.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createchannel/SyncCreateChannel.java
index e084300f3dc7..cc5ae88df47b 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createchannel/SyncCreateChannel.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createchannel/SyncCreateChannel.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateChannel() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       CreateChannelRequest request =
           CreateChannelRequest.newBuilder()
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createchannel/SyncCreateChannelLocationnameChannelString.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createchannel/SyncCreateChannelLocationnameChannelString.java
index 9c95d6de9d13..95b2dbbb2313 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createchannel/SyncCreateChannelLocationnameChannelString.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createchannel/SyncCreateChannelLocationnameChannelString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateChannelLocationnameChannelString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       Channel channel = Channel.newBuilder().build();
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createchannel/SyncCreateChannelStringChannelString.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createchannel/SyncCreateChannelStringChannelString.java
index 56d9d9075a78..7e20e917b0fd 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createchannel/SyncCreateChannelStringChannelString.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createchannel/SyncCreateChannelStringChannelString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateChannelStringChannelString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       Channel channel = Channel.newBuilder().build();
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createchannelconnection/AsyncCreateChannelConnection.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createchannelconnection/AsyncCreateChannelConnection.java
index a6f3c2b0a2f7..7de1caa08310 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createchannelconnection/AsyncCreateChannelConnection.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createchannelconnection/AsyncCreateChannelConnection.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateChannelConnection() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       CreateChannelConnectionRequest request =
           CreateChannelConnectionRequest.newBuilder()
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createchannelconnection/AsyncCreateChannelConnectionLRO.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createchannelconnection/AsyncCreateChannelConnectionLRO.java
index 07c28d5f99f2..f4e3ad8f57ac 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createchannelconnection/AsyncCreateChannelConnectionLRO.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createchannelconnection/AsyncCreateChannelConnectionLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateChannelConnectionLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       CreateChannelConnectionRequest request =
           CreateChannelConnectionRequest.newBuilder()
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createchannelconnection/SyncCreateChannelConnection.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createchannelconnection/SyncCreateChannelConnection.java
index 3d0884ee88a2..3518c2266807 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createchannelconnection/SyncCreateChannelConnection.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createchannelconnection/SyncCreateChannelConnection.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateChannelConnection() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       CreateChannelConnectionRequest request =
           CreateChannelConnectionRequest.newBuilder()
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createchannelconnection/SyncCreateChannelConnectionLocationnameChannelconnectionString.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createchannelconnection/SyncCreateChannelConnectionLocationnameChannelconnectionString.java
index e3e448d87088..5c406155fa5c 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createchannelconnection/SyncCreateChannelConnectionLocationnameChannelconnectionString.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createchannelconnection/SyncCreateChannelConnectionLocationnameChannelconnectionString.java
@@ -16,8 +16,7 @@
 
 package com.google.cloud.eventarc.v1.samples;
 
-// [START
-// eventarc_v1_generated_eventarcclient_createchannelconnection_locationnamechannelconnectionstring_sync]
+// [START eventarc_v1_generated_eventarcclient_createchannelconnection_locationnamechannelconnectionstring_sync]
 import com.google.cloud.eventarc.v1.ChannelConnection;
 import com.google.cloud.eventarc.v1.EventarcClient;
 import com.google.cloud.eventarc.v1.LocationName;
@@ -30,8 +29,11 @@ public static void main(String[] args) throws Exception {
 
   public static void syncCreateChannelConnectionLocationnameChannelconnectionString()
       throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       ChannelConnection channelConnection = ChannelConnection.newBuilder().build();
@@ -43,5 +45,4 @@ public static void syncCreateChannelConnectionLocationnameChannelconnectionStrin
     }
   }
 }
-// [END
-// eventarc_v1_generated_eventarcclient_createchannelconnection_locationnamechannelconnectionstring_sync]
+// [END eventarc_v1_generated_eventarcclient_createchannelconnection_locationnamechannelconnectionstring_sync]
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createchannelconnection/SyncCreateChannelConnectionStringChannelconnectionString.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createchannelconnection/SyncCreateChannelConnectionStringChannelconnectionString.java
index ef79b25fe4f3..7e70ad1688ed 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createchannelconnection/SyncCreateChannelConnectionStringChannelconnectionString.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createchannelconnection/SyncCreateChannelConnectionStringChannelconnectionString.java
@@ -16,8 +16,7 @@
 
 package com.google.cloud.eventarc.v1.samples;
 
-// [START
-// eventarc_v1_generated_eventarcclient_createchannelconnection_stringchannelconnectionstring_sync]
+// [START eventarc_v1_generated_eventarcclient_createchannelconnection_stringchannelconnectionstring_sync]
 import com.google.cloud.eventarc.v1.ChannelConnection;
 import com.google.cloud.eventarc.v1.EventarcClient;
 import com.google.cloud.eventarc.v1.LocationName;
@@ -29,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateChannelConnectionStringChannelconnectionString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       ChannelConnection channelConnection = ChannelConnection.newBuilder().build();
@@ -42,5 +44,4 @@ public static void syncCreateChannelConnectionStringChannelconnectionString() th
     }
   }
 }
-// [END
-// eventarc_v1_generated_eventarcclient_createchannelconnection_stringchannelconnectionstring_sync]
+// [END eventarc_v1_generated_eventarcclient_createchannelconnection_stringchannelconnectionstring_sync]
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createtrigger/AsyncCreateTrigger.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createtrigger/AsyncCreateTrigger.java
index 5d39c5743329..0d756a903ef0 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createtrigger/AsyncCreateTrigger.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createtrigger/AsyncCreateTrigger.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateTrigger() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       CreateTriggerRequest request =
           CreateTriggerRequest.newBuilder()
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createtrigger/AsyncCreateTriggerLRO.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createtrigger/AsyncCreateTriggerLRO.java
index 4708d9c68c53..cfa07cf6e702 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createtrigger/AsyncCreateTriggerLRO.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createtrigger/AsyncCreateTriggerLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateTriggerLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       CreateTriggerRequest request =
           CreateTriggerRequest.newBuilder()
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createtrigger/SyncCreateTrigger.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createtrigger/SyncCreateTrigger.java
index 1cb53c871ac4..9288c9906457 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createtrigger/SyncCreateTrigger.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createtrigger/SyncCreateTrigger.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateTrigger() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       CreateTriggerRequest request =
           CreateTriggerRequest.newBuilder()
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createtrigger/SyncCreateTriggerLocationnameTriggerString.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createtrigger/SyncCreateTriggerLocationnameTriggerString.java
index 9f72409f8d7e..e9d48a5084c3 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createtrigger/SyncCreateTriggerLocationnameTriggerString.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createtrigger/SyncCreateTriggerLocationnameTriggerString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateTriggerLocationnameTriggerString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       Trigger trigger = Trigger.newBuilder().build();
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createtrigger/SyncCreateTriggerStringTriggerString.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createtrigger/SyncCreateTriggerStringTriggerString.java
index f9f361edd14d..f3cb34cb728c 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createtrigger/SyncCreateTriggerStringTriggerString.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/createtrigger/SyncCreateTriggerStringTriggerString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateTriggerStringTriggerString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       Trigger trigger = Trigger.newBuilder().build();
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletechannel/AsyncDeleteChannel.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletechannel/AsyncDeleteChannel.java
index 0223da87472b..f5d86346ae29 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletechannel/AsyncDeleteChannel.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletechannel/AsyncDeleteChannel.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteChannel() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       DeleteChannelRequest request =
           DeleteChannelRequest.newBuilder()
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletechannel/AsyncDeleteChannelLRO.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletechannel/AsyncDeleteChannelLRO.java
index 5b31bd23d71c..74689da7e533 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletechannel/AsyncDeleteChannelLRO.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletechannel/AsyncDeleteChannelLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteChannelLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       DeleteChannelRequest request =
           DeleteChannelRequest.newBuilder()
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletechannel/SyncDeleteChannel.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletechannel/SyncDeleteChannel.java
index 470b9186ee95..b04483abac47 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletechannel/SyncDeleteChannel.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletechannel/SyncDeleteChannel.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteChannel() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       DeleteChannelRequest request =
           DeleteChannelRequest.newBuilder()
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletechannel/SyncDeleteChannelChannelname.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletechannel/SyncDeleteChannelChannelname.java
index 29d5991a73fd..28384403bbce 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletechannel/SyncDeleteChannelChannelname.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletechannel/SyncDeleteChannelChannelname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteChannelChannelname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       ChannelName name = ChannelName.of("[PROJECT]", "[LOCATION]", "[CHANNEL]");
       Channel response = eventarcClient.deleteChannelAsync(name).get();
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletechannel/SyncDeleteChannelString.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletechannel/SyncDeleteChannelString.java
index e388eb28c059..d172916baa84 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletechannel/SyncDeleteChannelString.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletechannel/SyncDeleteChannelString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteChannelString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       String name = ChannelName.of("[PROJECT]", "[LOCATION]", "[CHANNEL]").toString();
       Channel response = eventarcClient.deleteChannelAsync(name).get();
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletechannelconnection/AsyncDeleteChannelConnection.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletechannelconnection/AsyncDeleteChannelConnection.java
index b43c30434cde..6276b1f64b18 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletechannelconnection/AsyncDeleteChannelConnection.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletechannelconnection/AsyncDeleteChannelConnection.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteChannelConnection() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       DeleteChannelConnectionRequest request =
           DeleteChannelConnectionRequest.newBuilder()
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletechannelconnection/AsyncDeleteChannelConnectionLRO.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletechannelconnection/AsyncDeleteChannelConnectionLRO.java
index baae085ae457..43b37a96a40d 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletechannelconnection/AsyncDeleteChannelConnectionLRO.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletechannelconnection/AsyncDeleteChannelConnectionLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteChannelConnectionLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       DeleteChannelConnectionRequest request =
           DeleteChannelConnectionRequest.newBuilder()
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletechannelconnection/SyncDeleteChannelConnection.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletechannelconnection/SyncDeleteChannelConnection.java
index 27f5ea9f4785..2d65870e958a 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletechannelconnection/SyncDeleteChannelConnection.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletechannelconnection/SyncDeleteChannelConnection.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteChannelConnection() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       DeleteChannelConnectionRequest request =
           DeleteChannelConnectionRequest.newBuilder()
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletechannelconnection/SyncDeleteChannelConnectionChannelconnectionname.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletechannelconnection/SyncDeleteChannelConnectionChannelconnectionname.java
index 9f261fdd3690..5a4a4ca25ebe 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletechannelconnection/SyncDeleteChannelConnectionChannelconnectionname.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletechannelconnection/SyncDeleteChannelConnectionChannelconnectionname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteChannelConnectionChannelconnectionname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       ChannelConnectionName name =
           ChannelConnectionName.of("[PROJECT]", "[LOCATION]", "[CHANNEL_CONNECTION]");
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletechannelconnection/SyncDeleteChannelConnectionString.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletechannelconnection/SyncDeleteChannelConnectionString.java
index e5b83a8906d7..974685cea71e 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletechannelconnection/SyncDeleteChannelConnectionString.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletechannelconnection/SyncDeleteChannelConnectionString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteChannelConnectionString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       String name =
           ChannelConnectionName.of("[PROJECT]", "[LOCATION]", "[CHANNEL_CONNECTION]").toString();
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletetrigger/AsyncDeleteTrigger.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletetrigger/AsyncDeleteTrigger.java
index 64149844eb57..a54bb64feeae 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletetrigger/AsyncDeleteTrigger.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletetrigger/AsyncDeleteTrigger.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteTrigger() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       DeleteTriggerRequest request =
           DeleteTriggerRequest.newBuilder()
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletetrigger/AsyncDeleteTriggerLRO.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletetrigger/AsyncDeleteTriggerLRO.java
index 75ed2ce2ba40..b02287cdf59f 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletetrigger/AsyncDeleteTriggerLRO.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletetrigger/AsyncDeleteTriggerLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteTriggerLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       DeleteTriggerRequest request =
           DeleteTriggerRequest.newBuilder()
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletetrigger/SyncDeleteTrigger.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletetrigger/SyncDeleteTrigger.java
index dc70603fe2f8..11814283076e 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletetrigger/SyncDeleteTrigger.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletetrigger/SyncDeleteTrigger.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteTrigger() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       DeleteTriggerRequest request =
           DeleteTriggerRequest.newBuilder()
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletetrigger/SyncDeleteTriggerStringBoolean.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletetrigger/SyncDeleteTriggerStringBoolean.java
index 890b3e689925..bc3685c5ef35 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletetrigger/SyncDeleteTriggerStringBoolean.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletetrigger/SyncDeleteTriggerStringBoolean.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteTriggerStringBoolean() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       String name = TriggerName.of("[PROJECT]", "[LOCATION]", "[TRIGGER]").toString();
       boolean allowMissing = true;
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletetrigger/SyncDeleteTriggerTriggernameBoolean.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletetrigger/SyncDeleteTriggerTriggernameBoolean.java
index 8c68c38b1eba..5d8c12a0e146 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletetrigger/SyncDeleteTriggerTriggernameBoolean.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/deletetrigger/SyncDeleteTriggerTriggernameBoolean.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteTriggerTriggernameBoolean() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       TriggerName name = TriggerName.of("[PROJECT]", "[LOCATION]", "[TRIGGER]");
       boolean allowMissing = true;
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/getchannel/AsyncGetChannel.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/getchannel/AsyncGetChannel.java
index e1a74656e0e3..4c0238fbd456 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/getchannel/AsyncGetChannel.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/getchannel/AsyncGetChannel.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetChannel() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       GetChannelRequest request =
           GetChannelRequest.newBuilder()
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/getchannel/SyncGetChannel.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/getchannel/SyncGetChannel.java
index b0918d7e0204..48bc03267709 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/getchannel/SyncGetChannel.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/getchannel/SyncGetChannel.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetChannel() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       GetChannelRequest request =
           GetChannelRequest.newBuilder()
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/getchannel/SyncGetChannelChannelname.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/getchannel/SyncGetChannelChannelname.java
index f6760dc5bd5b..cf1b1c4099aa 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/getchannel/SyncGetChannelChannelname.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/getchannel/SyncGetChannelChannelname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetChannelChannelname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       ChannelName name = ChannelName.of("[PROJECT]", "[LOCATION]", "[CHANNEL]");
       Channel response = eventarcClient.getChannel(name);
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/getchannel/SyncGetChannelString.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/getchannel/SyncGetChannelString.java
index 7d3d95a01325..1b9ba8bf0f53 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/getchannel/SyncGetChannelString.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/getchannel/SyncGetChannelString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetChannelString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       String name = ChannelName.of("[PROJECT]", "[LOCATION]", "[CHANNEL]").toString();
       Channel response = eventarcClient.getChannel(name);
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/getchannelconnection/AsyncGetChannelConnection.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/getchannelconnection/AsyncGetChannelConnection.java
index cba3caf74747..f921eed0de99 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/getchannelconnection/AsyncGetChannelConnection.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/getchannelconnection/AsyncGetChannelConnection.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetChannelConnection() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       GetChannelConnectionRequest request =
           GetChannelConnectionRequest.newBuilder()
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/getchannelconnection/SyncGetChannelConnection.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/getchannelconnection/SyncGetChannelConnection.java
index dd105c47593c..16bf9adb8011 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/getchannelconnection/SyncGetChannelConnection.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/getchannelconnection/SyncGetChannelConnection.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetChannelConnection() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       GetChannelConnectionRequest request =
           GetChannelConnectionRequest.newBuilder()
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/getchannelconnection/SyncGetChannelConnectionChannelconnectionname.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/getchannelconnection/SyncGetChannelConnectionChannelconnectionname.java
index 64e1f095ad0a..2ee6a7f0c7b7 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/getchannelconnection/SyncGetChannelConnectionChannelconnectionname.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/getchannelconnection/SyncGetChannelConnectionChannelconnectionname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetChannelConnectionChannelconnectionname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       ChannelConnectionName name =
           ChannelConnectionName.of("[PROJECT]", "[LOCATION]", "[CHANNEL_CONNECTION]");
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/getchannelconnection/SyncGetChannelConnectionString.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/getchannelconnection/SyncGetChannelConnectionString.java
index 42d352156e61..b28a942667a5 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/getchannelconnection/SyncGetChannelConnectionString.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/getchannelconnection/SyncGetChannelConnectionString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetChannelConnectionString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       String name =
           ChannelConnectionName.of("[PROJECT]", "[LOCATION]", "[CHANNEL_CONNECTION]").toString();
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/getprovider/AsyncGetProvider.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/getprovider/AsyncGetProvider.java
index 525fbd633d07..74fb8e37887d 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/getprovider/AsyncGetProvider.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/getprovider/AsyncGetProvider.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetProvider() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       GetProviderRequest request =
           GetProviderRequest.newBuilder()
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/getprovider/SyncGetProvider.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/getprovider/SyncGetProvider.java
index 1dee5dac8489..15d117bf58fa 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/getprovider/SyncGetProvider.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/getprovider/SyncGetProvider.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetProvider() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       GetProviderRequest request =
           GetProviderRequest.newBuilder()
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/getprovider/SyncGetProviderProvidername.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/getprovider/SyncGetProviderProvidername.java
index 8803da00ff9a..7423fc5e904c 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/getprovider/SyncGetProviderProvidername.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/getprovider/SyncGetProviderProvidername.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetProviderProvidername() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       ProviderName name = ProviderName.of("[PROJECT]", "[LOCATION]", "[PROVIDER]");
       Provider response = eventarcClient.getProvider(name);
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/getprovider/SyncGetProviderString.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/getprovider/SyncGetProviderString.java
index be5960f56b59..9c789adba5aa 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/getprovider/SyncGetProviderString.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/getprovider/SyncGetProviderString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetProviderString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       String name = ProviderName.of("[PROJECT]", "[LOCATION]", "[PROVIDER]").toString();
       Provider response = eventarcClient.getProvider(name);
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/gettrigger/AsyncGetTrigger.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/gettrigger/AsyncGetTrigger.java
index cc4af542db75..208c224a72db 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/gettrigger/AsyncGetTrigger.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/gettrigger/AsyncGetTrigger.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetTrigger() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       GetTriggerRequest request =
           GetTriggerRequest.newBuilder()
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/gettrigger/SyncGetTrigger.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/gettrigger/SyncGetTrigger.java
index 85304edd0f18..6c777c03911a 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/gettrigger/SyncGetTrigger.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/gettrigger/SyncGetTrigger.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetTrigger() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       GetTriggerRequest request =
           GetTriggerRequest.newBuilder()
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/gettrigger/SyncGetTriggerString.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/gettrigger/SyncGetTriggerString.java
index 51cd334c47ec..c16c5ff9ee83 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/gettrigger/SyncGetTriggerString.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/gettrigger/SyncGetTriggerString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetTriggerString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       String name = TriggerName.of("[PROJECT]", "[LOCATION]", "[TRIGGER]").toString();
       Trigger response = eventarcClient.getTrigger(name);
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/gettrigger/SyncGetTriggerTriggername.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/gettrigger/SyncGetTriggerTriggername.java
index c0c4adb4c4a1..463c653c54c8 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/gettrigger/SyncGetTriggerTriggername.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/gettrigger/SyncGetTriggerTriggername.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetTriggerTriggername() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       TriggerName name = TriggerName.of("[PROJECT]", "[LOCATION]", "[TRIGGER]");
       Trigger response = eventarcClient.getTrigger(name);
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listchannelconnections/AsyncListChannelConnections.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listchannelconnections/AsyncListChannelConnections.java
index c902b8ec7c87..1195b85f6ddb 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listchannelconnections/AsyncListChannelConnections.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listchannelconnections/AsyncListChannelConnections.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListChannelConnections() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       ListChannelConnectionsRequest request =
           ListChannelConnectionsRequest.newBuilder()
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listchannelconnections/AsyncListChannelConnectionsPaged.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listchannelconnections/AsyncListChannelConnectionsPaged.java
index 07dd93d1db78..4c9664396b87 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listchannelconnections/AsyncListChannelConnectionsPaged.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listchannelconnections/AsyncListChannelConnectionsPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListChannelConnectionsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       ListChannelConnectionsRequest request =
           ListChannelConnectionsRequest.newBuilder()
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listchannelconnections/SyncListChannelConnections.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listchannelconnections/SyncListChannelConnections.java
index 559be5c7e509..c526302f20df 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listchannelconnections/SyncListChannelConnections.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listchannelconnections/SyncListChannelConnections.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListChannelConnections() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       ListChannelConnectionsRequest request =
           ListChannelConnectionsRequest.newBuilder()
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listchannelconnections/SyncListChannelConnectionsLocationname.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listchannelconnections/SyncListChannelConnectionsLocationname.java
index 47f1c9d19278..cd584445b45c 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listchannelconnections/SyncListChannelConnectionsLocationname.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listchannelconnections/SyncListChannelConnectionsLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListChannelConnectionsLocationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       for (ChannelConnection element : eventarcClient.listChannelConnections(parent).iterateAll()) {
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listchannelconnections/SyncListChannelConnectionsString.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listchannelconnections/SyncListChannelConnectionsString.java
index 88cd2893577c..7a3a48a03024 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listchannelconnections/SyncListChannelConnectionsString.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listchannelconnections/SyncListChannelConnectionsString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListChannelConnectionsString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       for (ChannelConnection element : eventarcClient.listChannelConnections(parent).iterateAll()) {
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listchannels/AsyncListChannels.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listchannels/AsyncListChannels.java
index dc3f62205599..340860213d4d 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listchannels/AsyncListChannels.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listchannels/AsyncListChannels.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListChannels() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       ListChannelsRequest request =
           ListChannelsRequest.newBuilder()
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listchannels/AsyncListChannelsPaged.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listchannels/AsyncListChannelsPaged.java
index 9a64fa6b6fd9..89496ec29dd8 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listchannels/AsyncListChannelsPaged.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listchannels/AsyncListChannelsPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListChannelsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       ListChannelsRequest request =
           ListChannelsRequest.newBuilder()
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listchannels/SyncListChannels.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listchannels/SyncListChannels.java
index ca8ef3ab1813..12c8b1f2941e 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listchannels/SyncListChannels.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listchannels/SyncListChannels.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListChannels() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       ListChannelsRequest request =
           ListChannelsRequest.newBuilder()
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listchannels/SyncListChannelsLocationname.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listchannels/SyncListChannelsLocationname.java
index 317d5d315b65..39b876ad4db5 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listchannels/SyncListChannelsLocationname.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listchannels/SyncListChannelsLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListChannelsLocationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       for (Channel element : eventarcClient.listChannels(parent).iterateAll()) {
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listchannels/SyncListChannelsString.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listchannels/SyncListChannelsString.java
index a3e1edef3bd2..edd10d22df15 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listchannels/SyncListChannelsString.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listchannels/SyncListChannelsString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListChannelsString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       for (Channel element : eventarcClient.listChannels(parent).iterateAll()) {
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listproviders/AsyncListProviders.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listproviders/AsyncListProviders.java
index 319072f649fe..2dae2ae946ff 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listproviders/AsyncListProviders.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listproviders/AsyncListProviders.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListProviders() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       ListProvidersRequest request =
           ListProvidersRequest.newBuilder()
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listproviders/AsyncListProvidersPaged.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listproviders/AsyncListProvidersPaged.java
index 0162de936db4..ccd01c4050b6 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listproviders/AsyncListProvidersPaged.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listproviders/AsyncListProvidersPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListProvidersPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       ListProvidersRequest request =
           ListProvidersRequest.newBuilder()
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listproviders/SyncListProviders.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listproviders/SyncListProviders.java
index 6fc33be6511e..18fc4563e159 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listproviders/SyncListProviders.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listproviders/SyncListProviders.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListProviders() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       ListProvidersRequest request =
           ListProvidersRequest.newBuilder()
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listproviders/SyncListProvidersLocationname.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listproviders/SyncListProvidersLocationname.java
index 49f6912597c3..341bd4bd6441 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listproviders/SyncListProvidersLocationname.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listproviders/SyncListProvidersLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListProvidersLocationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       for (Provider element : eventarcClient.listProviders(parent).iterateAll()) {
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listproviders/SyncListProvidersString.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listproviders/SyncListProvidersString.java
index 210827f2965b..3dd70b753b7b 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listproviders/SyncListProvidersString.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listproviders/SyncListProvidersString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListProvidersString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       for (Provider element : eventarcClient.listProviders(parent).iterateAll()) {
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listtriggers/AsyncListTriggers.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listtriggers/AsyncListTriggers.java
index f2f324f08245..5da884727142 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listtriggers/AsyncListTriggers.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listtriggers/AsyncListTriggers.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListTriggers() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       ListTriggersRequest request =
           ListTriggersRequest.newBuilder()
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listtriggers/AsyncListTriggersPaged.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listtriggers/AsyncListTriggersPaged.java
index d02a801ac2a3..af2008c92deb 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listtriggers/AsyncListTriggersPaged.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listtriggers/AsyncListTriggersPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListTriggersPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       ListTriggersRequest request =
           ListTriggersRequest.newBuilder()
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listtriggers/SyncListTriggers.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listtriggers/SyncListTriggers.java
index 7a4d7a76d280..ab2ef8cb58b2 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listtriggers/SyncListTriggers.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listtriggers/SyncListTriggers.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListTriggers() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       ListTriggersRequest request =
           ListTriggersRequest.newBuilder()
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listtriggers/SyncListTriggersLocationname.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listtriggers/SyncListTriggersLocationname.java
index d5fc24a79964..9b2fa9acd1a8 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listtriggers/SyncListTriggersLocationname.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listtriggers/SyncListTriggersLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListTriggersLocationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       for (Trigger element : eventarcClient.listTriggers(parent).iterateAll()) {
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listtriggers/SyncListTriggersString.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listtriggers/SyncListTriggersString.java
index 9828d66d99ec..53d0572fed57 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listtriggers/SyncListTriggersString.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/listtriggers/SyncListTriggersString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListTriggersString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       for (Trigger element : eventarcClient.listTriggers(parent).iterateAll()) {
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/updatechannel/AsyncUpdateChannel.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/updatechannel/AsyncUpdateChannel.java
index 4755f2486217..0576018182d2 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/updatechannel/AsyncUpdateChannel.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/updatechannel/AsyncUpdateChannel.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateChannel() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       UpdateChannelRequest request =
           UpdateChannelRequest.newBuilder()
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/updatechannel/AsyncUpdateChannelLRO.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/updatechannel/AsyncUpdateChannelLRO.java
index c04019a544ae..bb4796cfc70f 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/updatechannel/AsyncUpdateChannelLRO.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/updatechannel/AsyncUpdateChannelLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateChannelLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       UpdateChannelRequest request =
           UpdateChannelRequest.newBuilder()
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/updatechannel/SyncUpdateChannel.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/updatechannel/SyncUpdateChannel.java
index 993fa0eab3a2..3dbd0903e66b 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/updatechannel/SyncUpdateChannel.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/updatechannel/SyncUpdateChannel.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateChannel() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       UpdateChannelRequest request =
           UpdateChannelRequest.newBuilder()
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/updatechannel/SyncUpdateChannelChannelFieldmask.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/updatechannel/SyncUpdateChannelChannelFieldmask.java
index 939ea572be1c..c9182b93c64a 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/updatechannel/SyncUpdateChannelChannelFieldmask.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/updatechannel/SyncUpdateChannelChannelFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateChannelChannelFieldmask() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       Channel channel = Channel.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/updatetrigger/AsyncUpdateTrigger.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/updatetrigger/AsyncUpdateTrigger.java
index 222d3fb78280..4898ca5a9035 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/updatetrigger/AsyncUpdateTrigger.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/updatetrigger/AsyncUpdateTrigger.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateTrigger() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       UpdateTriggerRequest request =
           UpdateTriggerRequest.newBuilder()
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/updatetrigger/AsyncUpdateTriggerLRO.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/updatetrigger/AsyncUpdateTriggerLRO.java
index c49341fedd2f..92b4f8f5c1f3 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/updatetrigger/AsyncUpdateTriggerLRO.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/updatetrigger/AsyncUpdateTriggerLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateTriggerLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       UpdateTriggerRequest request =
           UpdateTriggerRequest.newBuilder()
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/updatetrigger/SyncUpdateTrigger.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/updatetrigger/SyncUpdateTrigger.java
index a277b5f0d041..dac53dfa42a0 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/updatetrigger/SyncUpdateTrigger.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/updatetrigger/SyncUpdateTrigger.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateTrigger() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       UpdateTriggerRequest request =
           UpdateTriggerRequest.newBuilder()
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/updatetrigger/SyncUpdateTriggerTriggerFieldmaskBoolean.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/updatetrigger/SyncUpdateTriggerTriggerFieldmaskBoolean.java
index b550f72f0d41..a139de9377a4 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/updatetrigger/SyncUpdateTriggerTriggerFieldmaskBoolean.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcclient/updatetrigger/SyncUpdateTriggerTriggerFieldmaskBoolean.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateTriggerTriggerFieldmaskBoolean() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (EventarcClient eventarcClient = EventarcClient.create()) {
       Trigger trigger = Trigger.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcsettings/gettrigger/SyncGetTrigger.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcsettings/gettrigger/SyncGetTrigger.java
index 507552f686a7..1e902b75986d 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcsettings/gettrigger/SyncGetTrigger.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/eventarcsettings/gettrigger/SyncGetTrigger.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetTrigger() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     EventarcSettings.Builder eventarcSettingsBuilder = EventarcSettings.newBuilder();
     eventarcSettingsBuilder
         .getTriggerSettings()
         .setRetrySettings(
-            eventarcSettingsBuilder
-                .getTriggerSettings()
-                .getRetrySettings()
-                .toBuilder()
+            eventarcSettingsBuilder.getTriggerSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     EventarcSettings eventarcSettings = eventarcSettingsBuilder.build();
diff --git a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/stub/eventarcstubsettings/gettrigger/SyncGetTrigger.java b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/stub/eventarcstubsettings/gettrigger/SyncGetTrigger.java
index 965817d4dfee..b93f3f493a06 100644
--- a/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/stub/eventarcstubsettings/gettrigger/SyncGetTrigger.java
+++ b/java-eventarc/samples/snippets/generated/com/google/cloud/eventarc/v1/stub/eventarcstubsettings/gettrigger/SyncGetTrigger.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetTrigger() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     EventarcStubSettings.Builder eventarcSettingsBuilder = EventarcStubSettings.newBuilder();
     eventarcSettingsBuilder
         .getTriggerSettings()
         .setRetrySettings(
-            eventarcSettingsBuilder
-                .getTriggerSettings()
-                .getRetrySettings()
-                .toBuilder()
+            eventarcSettingsBuilder.getTriggerSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     EventarcStubSettings eventarcSettings = eventarcSettingsBuilder.build();