From 928729d2f53bf9e92060a36712aee6f3a78f3ce7 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:44:30 +0000 Subject: [PATCH 1/5] chore(bazel): Update WORKSPACE files for rules_gapic, gax_java, generator_java versions (#460) - [ ] 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 --- .../v1/CloudFunctionsServiceClient.java | 273 +++++++++++----- .../v1/CloudFunctionsServiceSettings.java | 7 +- .../cloud/functions/v1/package-info.java | 7 +- .../CloudFunctionsServiceStubSettings.java | 7 +- .../HttpJsonCloudFunctionsServiceStub.java | 14 +- .../functions/v2/FunctionServiceClient.java | 308 +++++++++++++----- .../functions/v2/FunctionServiceSettings.java | 12 +- .../cloud/functions/v2/package-info.java | 7 +- .../v2/stub/FunctionServiceStubSettings.java | 12 +- .../v2/stub/HttpJsonFunctionServiceStub.java | 12 +- .../v2alpha/FunctionServiceClient.java | 308 +++++++++++++----- .../v2alpha/FunctionServiceSettings.java | 12 +- .../cloud/functions/v2alpha/package-info.java | 7 +- .../stub/FunctionServiceStubSettings.java | 12 +- .../stub/HttpJsonFunctionServiceStub.java | 12 +- .../v2beta/FunctionServiceClient.java | 308 +++++++++++++----- .../v2beta/FunctionServiceSettings.java | 12 +- .../cloud/functions/v2beta/package-info.java | 7 +- .../stub/FunctionServiceStubSettings.java | 12 +- .../stub/HttpJsonFunctionServiceStub.java | 12 +- .../callfunction/AsyncCallFunction.java | 7 +- .../callfunction/SyncCallFunction.java | 7 +- ...ncCallFunctionCloudfunctionnameString.java | 7 +- .../SyncCallFunctionStringString.java | 7 +- .../SyncCreateSetCredentialsProvider.java | 7 +- .../SyncCreateSetCredentialsProvider1.java | 7 +- .../create/SyncCreateSetEndpoint.java | 7 +- .../createfunction/AsyncCreateFunction.java | 7 +- .../AsyncCreateFunctionLRO.java | 7 +- .../createfunction/SyncCreateFunction.java | 7 +- ...eateFunctionLocationnameCloudfunction.java | 7 +- ...SyncCreateFunctionStringCloudfunction.java | 7 +- .../deletefunction/AsyncDeleteFunction.java | 7 +- .../AsyncDeleteFunctionLRO.java | 7 +- .../deletefunction/SyncDeleteFunction.java | 7 +- .../SyncDeleteFunctionCloudfunctionname.java | 7 +- .../SyncDeleteFunctionString.java | 7 +- .../AsyncGenerateDownloadUrl.java | 7 +- .../SyncGenerateDownloadUrl.java | 7 +- .../AsyncGenerateUploadUrl.java | 7 +- .../SyncGenerateUploadUrl.java | 7 +- .../getfunction/AsyncGetFunction.java | 7 +- .../getfunction/SyncGetFunction.java | 7 +- .../SyncGetFunctionCloudfunctionname.java | 7 +- .../getfunction/SyncGetFunctionString.java | 7 +- .../getiampolicy/AsyncGetIamPolicy.java | 7 +- .../getiampolicy/SyncGetIamPolicy.java | 7 +- .../listfunctions/AsyncListFunctions.java | 7 +- .../AsyncListFunctionsPaged.java | 7 +- .../listfunctions/SyncListFunctions.java | 7 +- .../setiampolicy/AsyncSetIamPolicy.java | 7 +- .../setiampolicy/SyncSetIamPolicy.java | 7 +- .../AsyncTestIamPermissions.java | 7 +- .../SyncTestIamPermissions.java | 7 +- .../updatefunction/AsyncUpdateFunction.java | 7 +- .../AsyncUpdateFunctionLRO.java | 7 +- .../updatefunction/SyncUpdateFunction.java | 7 +- .../SyncUpdateFunctionCloudfunction.java | 7 +- .../getfunction/SyncGetFunction.java | 7 +- .../getfunction/SyncGetFunction.java | 7 +- .../SyncCreateSetCredentialsProvider.java | 7 +- .../SyncCreateSetCredentialsProvider1.java | 7 +- .../create/SyncCreateSetEndpoint.java | 7 +- .../createfunction/AsyncCreateFunction.java | 7 +- .../AsyncCreateFunctionLRO.java | 7 +- .../createfunction/SyncCreateFunction.java | 7 +- ...ateFunctionLocationnameFunctionString.java | 7 +- ...yncCreateFunctionStringFunctionString.java | 7 +- .../deletefunction/AsyncDeleteFunction.java | 7 +- .../AsyncDeleteFunctionLRO.java | 7 +- .../deletefunction/SyncDeleteFunction.java | 7 +- .../SyncDeleteFunctionFunctionname.java | 7 +- .../SyncDeleteFunctionString.java | 7 +- .../AsyncGenerateDownloadUrl.java | 7 +- .../SyncGenerateDownloadUrl.java | 7 +- .../AsyncGenerateUploadUrl.java | 7 +- .../SyncGenerateUploadUrl.java | 7 +- .../getfunction/AsyncGetFunction.java | 7 +- .../getfunction/SyncGetFunction.java | 7 +- .../SyncGetFunctionFunctionname.java | 7 +- .../getfunction/SyncGetFunctionString.java | 7 +- .../getiampolicy/AsyncGetIamPolicy.java | 7 +- .../getiampolicy/SyncGetIamPolicy.java | 7 +- .../listfunctions/AsyncListFunctions.java | 7 +- .../AsyncListFunctionsPaged.java | 7 +- .../listfunctions/SyncListFunctions.java | 7 +- .../SyncListFunctionsLocationname.java | 7 +- .../SyncListFunctionsString.java | 7 +- .../listlocations/AsyncListLocations.java | 7 +- .../AsyncListLocationsPaged.java | 7 +- .../listlocations/SyncListLocations.java | 7 +- .../listruntimes/AsyncListRuntimes.java | 7 +- .../listruntimes/SyncListRuntimes.java | 7 +- .../SyncListRuntimesLocationname.java | 7 +- .../listruntimes/SyncListRuntimesString.java | 7 +- .../setiampolicy/AsyncSetIamPolicy.java | 7 +- .../setiampolicy/SyncSetIamPolicy.java | 7 +- .../AsyncTestIamPermissions.java | 7 +- .../SyncTestIamPermissions.java | 7 +- .../updatefunction/AsyncUpdateFunction.java | 7 +- .../AsyncUpdateFunctionLRO.java | 7 +- .../updatefunction/SyncUpdateFunction.java | 7 +- .../SyncUpdateFunctionFunctionFieldmask.java | 7 +- .../getfunction/SyncGetFunction.java | 12 +- .../getfunction/SyncGetFunction.java | 12 +- 105 files changed, 1373 insertions(+), 593 deletions(-) diff --git a/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/CloudFunctionsServiceClient.java b/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/CloudFunctionsServiceClient.java index 89cb411e..46af423f 100644 --- a/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/CloudFunctionsServiceClient.java +++ b/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/CloudFunctionsServiceClient.java @@ -51,8 +51,11 @@ * calls that map to API methods. Sample code to get started: * *
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (CloudFunctionsServiceClient cloudFunctionsServiceClient =
  *     CloudFunctionsServiceClient.create()) {
  *   CloudFunctionName name = CloudFunctionName.of("[PROJECT]", "[LOCATION]", "[FUNCTION]");
@@ -90,8 +93,11 @@
  * 

To customize credentials: * *

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

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * CloudFunctionsServiceSettings cloudFunctionsServiceSettings =
  *     CloudFunctionsServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
  * CloudFunctionsServiceClient cloudFunctionsServiceClient =
@@ -115,8 +124,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
  * CloudFunctionsServiceSettings cloudFunctionsServiceSettings =
  *     CloudFunctionsServiceSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -210,8 +222,11 @@ public final OperationsClient getHttpJsonOperationsClient() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (CloudFunctionsServiceClient cloudFunctionsServiceClient =
    *     CloudFunctionsServiceClient.create()) {
    *   ListFunctionsRequest request =
@@ -241,8 +256,11 @@ public final ListFunctionsPagedResponse listFunctions(ListFunctionsRequest 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 (CloudFunctionsServiceClient cloudFunctionsServiceClient =
    *     CloudFunctionsServiceClient.create()) {
    *   ListFunctionsRequest request =
@@ -272,8 +290,11 @@ public final ListFunctionsPagedResponse listFunctions(ListFunctionsRequest 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 (CloudFunctionsServiceClient cloudFunctionsServiceClient =
    *     CloudFunctionsServiceClient.create()) {
    *   ListFunctionsRequest request =
@@ -309,8 +330,11 @@ public final UnaryCallable listFunc
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (CloudFunctionsServiceClient cloudFunctionsServiceClient =
    *     CloudFunctionsServiceClient.create()) {
    *   CloudFunctionName name = CloudFunctionName.of("[PROJECT]", "[LOCATION]", "[FUNCTION]");
@@ -334,8 +358,11 @@ public final CloudFunction getFunction(CloudFunctionName 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 (CloudFunctionsServiceClient cloudFunctionsServiceClient =
    *     CloudFunctionsServiceClient.create()) {
    *   String name = CloudFunctionName.of("[PROJECT]", "[LOCATION]", "[FUNCTION]").toString();
@@ -358,8 +385,11 @@ public final CloudFunction getFunction(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 (CloudFunctionsServiceClient cloudFunctionsServiceClient =
    *     CloudFunctionsServiceClient.create()) {
    *   GetFunctionRequest request =
@@ -384,8 +414,11 @@ public final CloudFunction getFunction(GetFunctionRequest 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 (CloudFunctionsServiceClient cloudFunctionsServiceClient =
    *     CloudFunctionsServiceClient.create()) {
    *   GetFunctionRequest request =
@@ -411,8 +444,11 @@ public final UnaryCallable getFunctionCallabl
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (CloudFunctionsServiceClient cloudFunctionsServiceClient =
    *     CloudFunctionsServiceClient.create()) {
    *   CallFunctionRequest request =
@@ -897,8 +981,11 @@ public final CallFunctionResponse callFunction(CallFunctionRequest 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 (CloudFunctionsServiceClient cloudFunctionsServiceClient =
    *     CloudFunctionsServiceClient.create()) {
    *   CallFunctionRequest request =
@@ -951,8 +1038,11 @@ public final UnaryCallable callFuncti
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (CloudFunctionsServiceClient cloudFunctionsServiceClient =
    *     CloudFunctionsServiceClient.create()) {
    *   SetIamPolicyRequest request =
@@ -1125,8 +1227,11 @@ public final Policy setIamPolicy(SetIamPolicyRequest 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 (CloudFunctionsServiceClient cloudFunctionsServiceClient =
    *     CloudFunctionsServiceClient.create()) {
    *   SetIamPolicyRequest request =
@@ -1154,8 +1259,11 @@ public final UnaryCallable setIamPolicyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (CloudFunctionsServiceClient cloudFunctionsServiceClient =
    *     CloudFunctionsServiceClient.create()) {
    *   GetIamPolicyRequest request =
@@ -1182,8 +1290,11 @@ public final Policy getIamPolicy(GetIamPolicyRequest 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 (CloudFunctionsServiceClient cloudFunctionsServiceClient =
    *     CloudFunctionsServiceClient.create()) {
    *   GetIamPolicyRequest request =
@@ -1210,8 +1321,11 @@ public final UnaryCallable getIamPolicyCallable() {
    * 

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (CloudFunctionsServiceClient cloudFunctionsServiceClient =
    *     CloudFunctionsServiceClient.create()) {
    *   TestIamPermissionsRequest request =
diff --git a/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/CloudFunctionsServiceSettings.java b/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/CloudFunctionsServiceSettings.java
index b7b948fe..977121e2 100644
--- a/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/CloudFunctionsServiceSettings.java
+++ b/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/CloudFunctionsServiceSettings.java
@@ -62,8 +62,11 @@
  * 

For example, to set the total timeout of getFunction 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
  * CloudFunctionsServiceSettings.Builder cloudFunctionsServiceSettingsBuilder =
  *     CloudFunctionsServiceSettings.newBuilder();
  * cloudFunctionsServiceSettingsBuilder
diff --git a/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/package-info.java b/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/package-info.java
index 2f0560c1..b51d7ba3 100644
--- a/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/package-info.java
+++ b/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/package-info.java
@@ -26,8 +26,11 @@
  * 

Sample for CloudFunctionsServiceClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (CloudFunctionsServiceClient cloudFunctionsServiceClient =
  *     CloudFunctionsServiceClient.create()) {
  *   CloudFunctionName name = CloudFunctionName.of("[PROJECT]", "[LOCATION]", "[FUNCTION]");
diff --git a/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/stub/CloudFunctionsServiceStubSettings.java b/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/stub/CloudFunctionsServiceStubSettings.java
index b7280156..432ebcaa 100644
--- a/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/stub/CloudFunctionsServiceStubSettings.java
+++ b/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/stub/CloudFunctionsServiceStubSettings.java
@@ -96,8 +96,11 @@
  * 

For example, to set the total timeout of getFunction 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
  * CloudFunctionsServiceStubSettings.Builder cloudFunctionsServiceSettingsBuilder =
  *     CloudFunctionsServiceStubSettings.newBuilder();
  * cloudFunctionsServiceSettingsBuilder
diff --git a/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/stub/HttpJsonCloudFunctionsServiceStub.java b/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/stub/HttpJsonCloudFunctionsServiceStub.java
index 2b76d736..581e734f 100644
--- a/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/stub/HttpJsonCloudFunctionsServiceStub.java
+++ b/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/stub/HttpJsonCloudFunctionsServiceStub.java
@@ -174,7 +174,7 @@ public class HttpJsonCloudFunctionsServiceStub extends CloudFunctionsServiceStub
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("function", request.getFunction()))
+                                  .toBody("function", request.getFunction(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -215,7 +215,7 @@ public class HttpJsonCloudFunctionsServiceStub extends CloudFunctionsServiceStub
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("function", request.getFunction()))
+                                  .toBody("function", request.getFunction(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -290,7 +290,7 @@ public class HttpJsonCloudFunctionsServiceStub extends CloudFunctionsServiceStub
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearName().build()))
+                                  .toBody("*", request.toBuilder().clearName().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -327,7 +327,7 @@ public class HttpJsonCloudFunctionsServiceStub extends CloudFunctionsServiceStub
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -364,7 +364,7 @@ public class HttpJsonCloudFunctionsServiceStub extends CloudFunctionsServiceStub
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearName().build()))
+                                  .toBody("*", request.toBuilder().clearName().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -400,7 +400,7 @@ public class HttpJsonCloudFunctionsServiceStub extends CloudFunctionsServiceStub
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearResource().build()))
+                                  .toBody("*", request.toBuilder().clearResource().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -471,7 +471,7 @@ public class HttpJsonCloudFunctionsServiceStub extends CloudFunctionsServiceStub
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearResource().build()))
+                                  .toBody("*", request.toBuilder().clearResource().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/google-cloud-functions/src/main/java/com/google/cloud/functions/v2/FunctionServiceClient.java b/google-cloud-functions/src/main/java/com/google/cloud/functions/v2/FunctionServiceClient.java
index 5140d636..67c7ef4a 100644
--- a/google-cloud-functions/src/main/java/com/google/cloud/functions/v2/FunctionServiceClient.java
+++ b/google-cloud-functions/src/main/java/com/google/cloud/functions/v2/FunctionServiceClient.java
@@ -60,8 +60,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 (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
  *   FunctionName name = FunctionName.of("[PROJECT]", "[LOCATION]", "[FUNCTION]");
  *   Function response = functionServiceClient.getFunction(name);
@@ -98,8 +101,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
  * FunctionServiceSettings functionServiceSettings =
  *     FunctionServiceSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -111,8 +117,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
  * FunctionServiceSettings functionServiceSettings =
  *     FunctionServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
  * FunctionServiceClient functionServiceClient =
@@ -123,8 +132,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
  * FunctionServiceSettings functionServiceSettings =
  *     FunctionServiceSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -218,8 +230,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 (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
    *   FunctionName name = FunctionName.of("[PROJECT]", "[LOCATION]", "[FUNCTION]");
    *   Function response = functionServiceClient.getFunction(name);
@@ -242,8 +257,11 @@ public final Function getFunction(FunctionName 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 (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
    *   String name = FunctionName.of("[PROJECT]", "[LOCATION]", "[FUNCTION]").toString();
    *   Function response = functionServiceClient.getFunction(name);
@@ -265,8 +283,11 @@ public final Function getFunction(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 (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
    *   GetFunctionRequest request =
    *       GetFunctionRequest.newBuilder()
@@ -290,8 +311,11 @@ public final Function getFunction(GetFunctionRequest 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 (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
    *   GetFunctionRequest request =
    *       GetFunctionRequest.newBuilder()
@@ -314,8 +338,11 @@ public final UnaryCallable getFunctionCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (Function element : functionServiceClient.listFunctions(parent).iterateAll()) {
@@ -346,8 +373,11 @@ public final ListFunctionsPagedResponse listFunctions(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 (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   for (Function element : functionServiceClient.listFunctions(parent).iterateAll()) {
@@ -375,8 +405,11 @@ public final ListFunctionsPagedResponse listFunctions(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 (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
    *   ListFunctionsRequest request =
    *       ListFunctionsRequest.newBuilder()
@@ -406,8 +439,11 @@ public final ListFunctionsPagedResponse listFunctions(ListFunctionsRequest 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 (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
    *   ListFunctionsRequest request =
    *       ListFunctionsRequest.newBuilder()
@@ -438,8 +474,11 @@ public final ListFunctionsPagedResponse listFunctions(ListFunctionsRequest 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 (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
    *   ListFunctionsRequest request =
    *       ListFunctionsRequest.newBuilder()
@@ -477,8 +516,11 @@ public final UnaryCallable listFunc
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   ListRuntimesResponse response = functionServiceClient.listRuntimes(parent);
@@ -1058,8 +1154,11 @@ public final ListRuntimesResponse listRuntimes(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 (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   ListRuntimesResponse response = functionServiceClient.listRuntimes(parent);
@@ -1082,8 +1181,11 @@ public final ListRuntimesResponse listRuntimes(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 (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
    *   ListRuntimesRequest request =
    *       ListRuntimesRequest.newBuilder()
@@ -1108,8 +1210,11 @@ public final ListRuntimesResponse listRuntimes(ListRuntimesRequest 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 (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
    *   ListRuntimesRequest request =
    *       ListRuntimesRequest.newBuilder()
@@ -1134,8 +1239,11 @@ public final UnaryCallable listRuntim
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
diff --git a/google-cloud-functions/src/main/java/com/google/cloud/functions/v2/FunctionServiceSettings.java b/google-cloud-functions/src/main/java/com/google/cloud/functions/v2/FunctionServiceSettings.java
index af930bf9..f8a60518 100644
--- a/google-cloud-functions/src/main/java/com/google/cloud/functions/v2/FunctionServiceSettings.java
+++ b/google-cloud-functions/src/main/java/com/google/cloud/functions/v2/FunctionServiceSettings.java
@@ -65,17 +65,17 @@
  * 

For example, to set the total timeout of getFunction 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
  * FunctionServiceSettings.Builder functionServiceSettingsBuilder =
  *     FunctionServiceSettings.newBuilder();
  * functionServiceSettingsBuilder
  *     .getFunctionSettings()
  *     .setRetrySettings(
- *         functionServiceSettingsBuilder
- *             .getFunctionSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         functionServiceSettingsBuilder.getFunctionSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * FunctionServiceSettings functionServiceSettings = functionServiceSettingsBuilder.build();
diff --git a/google-cloud-functions/src/main/java/com/google/cloud/functions/v2/package-info.java b/google-cloud-functions/src/main/java/com/google/cloud/functions/v2/package-info.java
index 5fa55e94..2cce1d34 100644
--- a/google-cloud-functions/src/main/java/com/google/cloud/functions/v2/package-info.java
+++ b/google-cloud-functions/src/main/java/com/google/cloud/functions/v2/package-info.java
@@ -31,8 +31,11 @@
  * 

Sample for FunctionServiceClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
  *   FunctionName name = FunctionName.of("[PROJECT]", "[LOCATION]", "[FUNCTION]");
  *   Function response = functionServiceClient.getFunction(name);
diff --git a/google-cloud-functions/src/main/java/com/google/cloud/functions/v2/stub/FunctionServiceStubSettings.java b/google-cloud-functions/src/main/java/com/google/cloud/functions/v2/stub/FunctionServiceStubSettings.java
index 14d9b30d..6a7a58c8 100644
--- a/google-cloud-functions/src/main/java/com/google/cloud/functions/v2/stub/FunctionServiceStubSettings.java
+++ b/google-cloud-functions/src/main/java/com/google/cloud/functions/v2/stub/FunctionServiceStubSettings.java
@@ -100,17 +100,17 @@
  * 

For example, to set the total timeout of getFunction 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
  * FunctionServiceStubSettings.Builder functionServiceSettingsBuilder =
  *     FunctionServiceStubSettings.newBuilder();
  * functionServiceSettingsBuilder
  *     .getFunctionSettings()
  *     .setRetrySettings(
- *         functionServiceSettingsBuilder
- *             .getFunctionSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         functionServiceSettingsBuilder.getFunctionSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * FunctionServiceStubSettings functionServiceSettings = functionServiceSettingsBuilder.build();
diff --git a/google-cloud-functions/src/main/java/com/google/cloud/functions/v2/stub/HttpJsonFunctionServiceStub.java b/google-cloud-functions/src/main/java/com/google/cloud/functions/v2/stub/HttpJsonFunctionServiceStub.java
index f96e4318..f9675163 100644
--- a/google-cloud-functions/src/main/java/com/google/cloud/functions/v2/stub/HttpJsonFunctionServiceStub.java
+++ b/google-cloud-functions/src/main/java/com/google/cloud/functions/v2/stub/HttpJsonFunctionServiceStub.java
@@ -180,7 +180,7 @@ public class HttpJsonFunctionServiceStub extends FunctionServiceStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("function", request.getFunction()))
+                                  .toBody("function", request.getFunction(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -221,7 +221,7 @@ public class HttpJsonFunctionServiceStub extends FunctionServiceStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("function", request.getFunction()))
+                                  .toBody("function", request.getFunction(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -296,7 +296,7 @@ public class HttpJsonFunctionServiceStub extends FunctionServiceStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -332,7 +332,7 @@ public class HttpJsonFunctionServiceStub extends FunctionServiceStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearName().build()))
+                                  .toBody("*", request.toBuilder().clearName().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -435,7 +435,7 @@ public class HttpJsonFunctionServiceStub extends FunctionServiceStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearResource().build()))
+                                  .toBody("*", request.toBuilder().clearResource().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -504,7 +504,7 @@ public class HttpJsonFunctionServiceStub extends FunctionServiceStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearResource().build()))
+                                  .toBody("*", request.toBuilder().clearResource().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/google-cloud-functions/src/main/java/com/google/cloud/functions/v2alpha/FunctionServiceClient.java b/google-cloud-functions/src/main/java/com/google/cloud/functions/v2alpha/FunctionServiceClient.java
index c4e4823a..06453d88 100644
--- a/google-cloud-functions/src/main/java/com/google/cloud/functions/v2alpha/FunctionServiceClient.java
+++ b/google-cloud-functions/src/main/java/com/google/cloud/functions/v2alpha/FunctionServiceClient.java
@@ -60,8 +60,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 (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
  *   FunctionName name = FunctionName.of("[PROJECT]", "[LOCATION]", "[FUNCTION]");
  *   Function response = functionServiceClient.getFunction(name);
@@ -98,8 +101,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
  * FunctionServiceSettings functionServiceSettings =
  *     FunctionServiceSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -111,8 +117,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
  * FunctionServiceSettings functionServiceSettings =
  *     FunctionServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
  * FunctionServiceClient functionServiceClient =
@@ -123,8 +132,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
  * FunctionServiceSettings functionServiceSettings =
  *     FunctionServiceSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -219,8 +231,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 (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
    *   FunctionName name = FunctionName.of("[PROJECT]", "[LOCATION]", "[FUNCTION]");
    *   Function response = functionServiceClient.getFunction(name);
@@ -243,8 +258,11 @@ public final Function getFunction(FunctionName 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 (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
    *   String name = FunctionName.of("[PROJECT]", "[LOCATION]", "[FUNCTION]").toString();
    *   Function response = functionServiceClient.getFunction(name);
@@ -266,8 +284,11 @@ public final Function getFunction(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 (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
    *   GetFunctionRequest request =
    *       GetFunctionRequest.newBuilder()
@@ -291,8 +312,11 @@ public final Function getFunction(GetFunctionRequest 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 (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
    *   GetFunctionRequest request =
    *       GetFunctionRequest.newBuilder()
@@ -315,8 +339,11 @@ public final UnaryCallable getFunctionCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (Function element : functionServiceClient.listFunctions(parent).iterateAll()) {
@@ -347,8 +374,11 @@ public final ListFunctionsPagedResponse listFunctions(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 (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   for (Function element : functionServiceClient.listFunctions(parent).iterateAll()) {
@@ -376,8 +406,11 @@ public final ListFunctionsPagedResponse listFunctions(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 (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
    *   ListFunctionsRequest request =
    *       ListFunctionsRequest.newBuilder()
@@ -407,8 +440,11 @@ public final ListFunctionsPagedResponse listFunctions(ListFunctionsRequest 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 (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
    *   ListFunctionsRequest request =
    *       ListFunctionsRequest.newBuilder()
@@ -439,8 +475,11 @@ public final ListFunctionsPagedResponse listFunctions(ListFunctionsRequest 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 (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
    *   ListFunctionsRequest request =
    *       ListFunctionsRequest.newBuilder()
@@ -478,8 +517,11 @@ public final UnaryCallable listFunc
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   ListRuntimesResponse response = functionServiceClient.listRuntimes(parent);
@@ -1059,8 +1155,11 @@ public final ListRuntimesResponse listRuntimes(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 (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   ListRuntimesResponse response = functionServiceClient.listRuntimes(parent);
@@ -1083,8 +1182,11 @@ public final ListRuntimesResponse listRuntimes(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 (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
    *   ListRuntimesRequest request =
    *       ListRuntimesRequest.newBuilder()
@@ -1109,8 +1211,11 @@ public final ListRuntimesResponse listRuntimes(ListRuntimesRequest 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 (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
    *   ListRuntimesRequest request =
    *       ListRuntimesRequest.newBuilder()
@@ -1135,8 +1240,11 @@ public final UnaryCallable listRuntim
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
diff --git a/google-cloud-functions/src/main/java/com/google/cloud/functions/v2alpha/FunctionServiceSettings.java b/google-cloud-functions/src/main/java/com/google/cloud/functions/v2alpha/FunctionServiceSettings.java
index e7cb6d98..aae713ae 100644
--- a/google-cloud-functions/src/main/java/com/google/cloud/functions/v2alpha/FunctionServiceSettings.java
+++ b/google-cloud-functions/src/main/java/com/google/cloud/functions/v2alpha/FunctionServiceSettings.java
@@ -65,17 +65,17 @@
  * 

For example, to set the total timeout of getFunction 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
  * FunctionServiceSettings.Builder functionServiceSettingsBuilder =
  *     FunctionServiceSettings.newBuilder();
  * functionServiceSettingsBuilder
  *     .getFunctionSettings()
  *     .setRetrySettings(
- *         functionServiceSettingsBuilder
- *             .getFunctionSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         functionServiceSettingsBuilder.getFunctionSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * FunctionServiceSettings functionServiceSettings = functionServiceSettingsBuilder.build();
diff --git a/google-cloud-functions/src/main/java/com/google/cloud/functions/v2alpha/package-info.java b/google-cloud-functions/src/main/java/com/google/cloud/functions/v2alpha/package-info.java
index 212cdf5b..182ac31b 100644
--- a/google-cloud-functions/src/main/java/com/google/cloud/functions/v2alpha/package-info.java
+++ b/google-cloud-functions/src/main/java/com/google/cloud/functions/v2alpha/package-info.java
@@ -31,8 +31,11 @@
  * 

Sample for FunctionServiceClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
  *   FunctionName name = FunctionName.of("[PROJECT]", "[LOCATION]", "[FUNCTION]");
  *   Function response = functionServiceClient.getFunction(name);
diff --git a/google-cloud-functions/src/main/java/com/google/cloud/functions/v2alpha/stub/FunctionServiceStubSettings.java b/google-cloud-functions/src/main/java/com/google/cloud/functions/v2alpha/stub/FunctionServiceStubSettings.java
index 55f82c08..f18fea98 100644
--- a/google-cloud-functions/src/main/java/com/google/cloud/functions/v2alpha/stub/FunctionServiceStubSettings.java
+++ b/google-cloud-functions/src/main/java/com/google/cloud/functions/v2alpha/stub/FunctionServiceStubSettings.java
@@ -100,17 +100,17 @@
  * 

For example, to set the total timeout of getFunction 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
  * FunctionServiceStubSettings.Builder functionServiceSettingsBuilder =
  *     FunctionServiceStubSettings.newBuilder();
  * functionServiceSettingsBuilder
  *     .getFunctionSettings()
  *     .setRetrySettings(
- *         functionServiceSettingsBuilder
- *             .getFunctionSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         functionServiceSettingsBuilder.getFunctionSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * FunctionServiceStubSettings functionServiceSettings = functionServiceSettingsBuilder.build();
diff --git a/google-cloud-functions/src/main/java/com/google/cloud/functions/v2alpha/stub/HttpJsonFunctionServiceStub.java b/google-cloud-functions/src/main/java/com/google/cloud/functions/v2alpha/stub/HttpJsonFunctionServiceStub.java
index cbd0c128..a0b062bf 100644
--- a/google-cloud-functions/src/main/java/com/google/cloud/functions/v2alpha/stub/HttpJsonFunctionServiceStub.java
+++ b/google-cloud-functions/src/main/java/com/google/cloud/functions/v2alpha/stub/HttpJsonFunctionServiceStub.java
@@ -180,7 +180,7 @@ public class HttpJsonFunctionServiceStub extends FunctionServiceStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("function", request.getFunction()))
+                                  .toBody("function", request.getFunction(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -221,7 +221,7 @@ public class HttpJsonFunctionServiceStub extends FunctionServiceStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("function", request.getFunction()))
+                                  .toBody("function", request.getFunction(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -296,7 +296,7 @@ public class HttpJsonFunctionServiceStub extends FunctionServiceStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -333,7 +333,7 @@ public class HttpJsonFunctionServiceStub extends FunctionServiceStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearName().build()))
+                                  .toBody("*", request.toBuilder().clearName().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -436,7 +436,7 @@ public class HttpJsonFunctionServiceStub extends FunctionServiceStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearResource().build()))
+                                  .toBody("*", request.toBuilder().clearResource().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -505,7 +505,7 @@ public class HttpJsonFunctionServiceStub extends FunctionServiceStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearResource().build()))
+                                  .toBody("*", request.toBuilder().clearResource().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/google-cloud-functions/src/main/java/com/google/cloud/functions/v2beta/FunctionServiceClient.java b/google-cloud-functions/src/main/java/com/google/cloud/functions/v2beta/FunctionServiceClient.java
index dc8cc17d..5b3ee0f0 100644
--- a/google-cloud-functions/src/main/java/com/google/cloud/functions/v2beta/FunctionServiceClient.java
+++ b/google-cloud-functions/src/main/java/com/google/cloud/functions/v2beta/FunctionServiceClient.java
@@ -60,8 +60,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 (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
  *   FunctionName name = FunctionName.of("[PROJECT]", "[LOCATION]", "[FUNCTION]");
  *   Function response = functionServiceClient.getFunction(name);
@@ -98,8 +101,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
  * FunctionServiceSettings functionServiceSettings =
  *     FunctionServiceSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -111,8 +117,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
  * FunctionServiceSettings functionServiceSettings =
  *     FunctionServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
  * FunctionServiceClient functionServiceClient =
@@ -123,8 +132,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
  * FunctionServiceSettings functionServiceSettings =
  *     FunctionServiceSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -219,8 +231,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 (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
    *   FunctionName name = FunctionName.of("[PROJECT]", "[LOCATION]", "[FUNCTION]");
    *   Function response = functionServiceClient.getFunction(name);
@@ -243,8 +258,11 @@ public final Function getFunction(FunctionName 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 (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
    *   String name = FunctionName.of("[PROJECT]", "[LOCATION]", "[FUNCTION]").toString();
    *   Function response = functionServiceClient.getFunction(name);
@@ -266,8 +284,11 @@ public final Function getFunction(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 (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
    *   GetFunctionRequest request =
    *       GetFunctionRequest.newBuilder()
@@ -291,8 +312,11 @@ public final Function getFunction(GetFunctionRequest 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 (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
    *   GetFunctionRequest request =
    *       GetFunctionRequest.newBuilder()
@@ -315,8 +339,11 @@ public final UnaryCallable getFunctionCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (Function element : functionServiceClient.listFunctions(parent).iterateAll()) {
@@ -347,8 +374,11 @@ public final ListFunctionsPagedResponse listFunctions(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 (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   for (Function element : functionServiceClient.listFunctions(parent).iterateAll()) {
@@ -376,8 +406,11 @@ public final ListFunctionsPagedResponse listFunctions(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 (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
    *   ListFunctionsRequest request =
    *       ListFunctionsRequest.newBuilder()
@@ -407,8 +440,11 @@ public final ListFunctionsPagedResponse listFunctions(ListFunctionsRequest 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 (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
    *   ListFunctionsRequest request =
    *       ListFunctionsRequest.newBuilder()
@@ -439,8 +475,11 @@ public final ListFunctionsPagedResponse listFunctions(ListFunctionsRequest 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 (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
    *   ListFunctionsRequest request =
    *       ListFunctionsRequest.newBuilder()
@@ -478,8 +517,11 @@ public final UnaryCallable listFunc
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   ListRuntimesResponse response = functionServiceClient.listRuntimes(parent);
@@ -1059,8 +1155,11 @@ public final ListRuntimesResponse listRuntimes(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 (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   ListRuntimesResponse response = functionServiceClient.listRuntimes(parent);
@@ -1083,8 +1182,11 @@ public final ListRuntimesResponse listRuntimes(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 (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
    *   ListRuntimesRequest request =
    *       ListRuntimesRequest.newBuilder()
@@ -1109,8 +1211,11 @@ public final ListRuntimesResponse listRuntimes(ListRuntimesRequest 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 (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
    *   ListRuntimesRequest request =
    *       ListRuntimesRequest.newBuilder()
@@ -1135,8 +1240,11 @@ public final UnaryCallable listRuntim
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
diff --git a/google-cloud-functions/src/main/java/com/google/cloud/functions/v2beta/FunctionServiceSettings.java b/google-cloud-functions/src/main/java/com/google/cloud/functions/v2beta/FunctionServiceSettings.java
index 0a20e92f..2e58c47c 100644
--- a/google-cloud-functions/src/main/java/com/google/cloud/functions/v2beta/FunctionServiceSettings.java
+++ b/google-cloud-functions/src/main/java/com/google/cloud/functions/v2beta/FunctionServiceSettings.java
@@ -65,17 +65,17 @@
  * 

For example, to set the total timeout of getFunction 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
  * FunctionServiceSettings.Builder functionServiceSettingsBuilder =
  *     FunctionServiceSettings.newBuilder();
  * functionServiceSettingsBuilder
  *     .getFunctionSettings()
  *     .setRetrySettings(
- *         functionServiceSettingsBuilder
- *             .getFunctionSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         functionServiceSettingsBuilder.getFunctionSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * FunctionServiceSettings functionServiceSettings = functionServiceSettingsBuilder.build();
diff --git a/google-cloud-functions/src/main/java/com/google/cloud/functions/v2beta/package-info.java b/google-cloud-functions/src/main/java/com/google/cloud/functions/v2beta/package-info.java
index 0513e119..f43ae806 100644
--- a/google-cloud-functions/src/main/java/com/google/cloud/functions/v2beta/package-info.java
+++ b/google-cloud-functions/src/main/java/com/google/cloud/functions/v2beta/package-info.java
@@ -31,8 +31,11 @@
  * 

Sample for FunctionServiceClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
  *   FunctionName name = FunctionName.of("[PROJECT]", "[LOCATION]", "[FUNCTION]");
  *   Function response = functionServiceClient.getFunction(name);
diff --git a/google-cloud-functions/src/main/java/com/google/cloud/functions/v2beta/stub/FunctionServiceStubSettings.java b/google-cloud-functions/src/main/java/com/google/cloud/functions/v2beta/stub/FunctionServiceStubSettings.java
index 838580f6..11743089 100644
--- a/google-cloud-functions/src/main/java/com/google/cloud/functions/v2beta/stub/FunctionServiceStubSettings.java
+++ b/google-cloud-functions/src/main/java/com/google/cloud/functions/v2beta/stub/FunctionServiceStubSettings.java
@@ -100,17 +100,17 @@
  * 

For example, to set the total timeout of getFunction 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
  * FunctionServiceStubSettings.Builder functionServiceSettingsBuilder =
  *     FunctionServiceStubSettings.newBuilder();
  * functionServiceSettingsBuilder
  *     .getFunctionSettings()
  *     .setRetrySettings(
- *         functionServiceSettingsBuilder
- *             .getFunctionSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         functionServiceSettingsBuilder.getFunctionSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * FunctionServiceStubSettings functionServiceSettings = functionServiceSettingsBuilder.build();
diff --git a/google-cloud-functions/src/main/java/com/google/cloud/functions/v2beta/stub/HttpJsonFunctionServiceStub.java b/google-cloud-functions/src/main/java/com/google/cloud/functions/v2beta/stub/HttpJsonFunctionServiceStub.java
index 82e0d1f3..bf65c5c0 100644
--- a/google-cloud-functions/src/main/java/com/google/cloud/functions/v2beta/stub/HttpJsonFunctionServiceStub.java
+++ b/google-cloud-functions/src/main/java/com/google/cloud/functions/v2beta/stub/HttpJsonFunctionServiceStub.java
@@ -180,7 +180,7 @@ public class HttpJsonFunctionServiceStub extends FunctionServiceStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("function", request.getFunction()))
+                                  .toBody("function", request.getFunction(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -221,7 +221,7 @@ public class HttpJsonFunctionServiceStub extends FunctionServiceStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("function", request.getFunction()))
+                                  .toBody("function", request.getFunction(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -296,7 +296,7 @@ public class HttpJsonFunctionServiceStub extends FunctionServiceStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -333,7 +333,7 @@ public class HttpJsonFunctionServiceStub extends FunctionServiceStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearName().build()))
+                                  .toBody("*", request.toBuilder().clearName().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -436,7 +436,7 @@ public class HttpJsonFunctionServiceStub extends FunctionServiceStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearResource().build()))
+                                  .toBody("*", request.toBuilder().clearResource().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -505,7 +505,7 @@ public class HttpJsonFunctionServiceStub extends FunctionServiceStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearResource().build()))
+                                  .toBody("*", request.toBuilder().clearResource().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/callfunction/AsyncCallFunction.java b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/callfunction/AsyncCallFunction.java
index 8a2faafa..8de4167c 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/callfunction/AsyncCallFunction.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/callfunction/AsyncCallFunction.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCallFunction() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CloudFunctionsServiceClient cloudFunctionsServiceClient =
         CloudFunctionsServiceClient.create()) {
       CallFunctionRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/callfunction/SyncCallFunction.java b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/callfunction/SyncCallFunction.java
index e95ae545..2b751ca6 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/callfunction/SyncCallFunction.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/callfunction/SyncCallFunction.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCallFunction() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CloudFunctionsServiceClient cloudFunctionsServiceClient =
         CloudFunctionsServiceClient.create()) {
       CallFunctionRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/callfunction/SyncCallFunctionCloudfunctionnameString.java b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/callfunction/SyncCallFunctionCloudfunctionnameString.java
index 9b0ec755..408016d3 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/callfunction/SyncCallFunctionCloudfunctionnameString.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/callfunction/SyncCallFunctionCloudfunctionnameString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCallFunctionCloudfunctionnameString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CloudFunctionsServiceClient cloudFunctionsServiceClient =
         CloudFunctionsServiceClient.create()) {
       CloudFunctionName name = CloudFunctionName.of("[PROJECT]", "[LOCATION]", "[FUNCTION]");
diff --git a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/callfunction/SyncCallFunctionStringString.java b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/callfunction/SyncCallFunctionStringString.java
index f873a2fe..f9ceb22f 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/callfunction/SyncCallFunctionStringString.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/callfunction/SyncCallFunctionStringString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCallFunctionStringString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CloudFunctionsServiceClient cloudFunctionsServiceClient =
         CloudFunctionsServiceClient.create()) {
       String name = CloudFunctionName.of("[PROJECT]", "[LOCATION]", "[FUNCTION]").toString();
diff --git a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/create/SyncCreateSetCredentialsProvider.java
index 112bbc48..2e6f550b 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/create/SyncCreateSetCredentialsProvider.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/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
     CloudFunctionsServiceSettings cloudFunctionsServiceSettings =
         CloudFunctionsServiceSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/create/SyncCreateSetCredentialsProvider1.java
index c1bdc146..694b7bae 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/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
     CloudFunctionsServiceSettings cloudFunctionsServiceSettings =
         CloudFunctionsServiceSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/create/SyncCreateSetEndpoint.java
index 4fc21fbd..34b60205 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/create/SyncCreateSetEndpoint.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/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
     CloudFunctionsServiceSettings cloudFunctionsServiceSettings =
         CloudFunctionsServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
     CloudFunctionsServiceClient cloudFunctionsServiceClient =
diff --git a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/createfunction/AsyncCreateFunction.java b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/createfunction/AsyncCreateFunction.java
index e8835fc6..d1334da0 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/createfunction/AsyncCreateFunction.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/createfunction/AsyncCreateFunction.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateFunction() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CloudFunctionsServiceClient cloudFunctionsServiceClient =
         CloudFunctionsServiceClient.create()) {
       CreateFunctionRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/createfunction/AsyncCreateFunctionLRO.java b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/createfunction/AsyncCreateFunctionLRO.java
index 2abe1b69..aebe2a2b 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/createfunction/AsyncCreateFunctionLRO.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/createfunction/AsyncCreateFunctionLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateFunctionLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CloudFunctionsServiceClient cloudFunctionsServiceClient =
         CloudFunctionsServiceClient.create()) {
       CreateFunctionRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/createfunction/SyncCreateFunction.java b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/createfunction/SyncCreateFunction.java
index 612c4a60..d5ac6b94 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/createfunction/SyncCreateFunction.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/createfunction/SyncCreateFunction.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateFunction() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CloudFunctionsServiceClient cloudFunctionsServiceClient =
         CloudFunctionsServiceClient.create()) {
       CreateFunctionRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/createfunction/SyncCreateFunctionLocationnameCloudfunction.java b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/createfunction/SyncCreateFunctionLocationnameCloudfunction.java
index e6bf3251..93843ef4 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/createfunction/SyncCreateFunctionLocationnameCloudfunction.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/createfunction/SyncCreateFunctionLocationnameCloudfunction.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateFunctionLocationnameCloudfunction() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CloudFunctionsServiceClient cloudFunctionsServiceClient =
         CloudFunctionsServiceClient.create()) {
       LocationName location = LocationName.of("[PROJECT]", "[LOCATION]");
diff --git a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/createfunction/SyncCreateFunctionStringCloudfunction.java b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/createfunction/SyncCreateFunctionStringCloudfunction.java
index 378bbb1f..49b69377 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/createfunction/SyncCreateFunctionStringCloudfunction.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/createfunction/SyncCreateFunctionStringCloudfunction.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateFunctionStringCloudfunction() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CloudFunctionsServiceClient cloudFunctionsServiceClient =
         CloudFunctionsServiceClient.create()) {
       String location = LocationName.of("[PROJECT]", "[LOCATION]").toString();
diff --git a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/deletefunction/AsyncDeleteFunction.java b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/deletefunction/AsyncDeleteFunction.java
index 82f1f4cd..d31e59ca 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/deletefunction/AsyncDeleteFunction.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/deletefunction/AsyncDeleteFunction.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteFunction() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CloudFunctionsServiceClient cloudFunctionsServiceClient =
         CloudFunctionsServiceClient.create()) {
       DeleteFunctionRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/deletefunction/AsyncDeleteFunctionLRO.java b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/deletefunction/AsyncDeleteFunctionLRO.java
index bb95e01c..598b3e3e 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/deletefunction/AsyncDeleteFunctionLRO.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/deletefunction/AsyncDeleteFunctionLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteFunctionLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CloudFunctionsServiceClient cloudFunctionsServiceClient =
         CloudFunctionsServiceClient.create()) {
       DeleteFunctionRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/deletefunction/SyncDeleteFunction.java b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/deletefunction/SyncDeleteFunction.java
index 28a1076b..c440f048 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/deletefunction/SyncDeleteFunction.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/deletefunction/SyncDeleteFunction.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteFunction() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CloudFunctionsServiceClient cloudFunctionsServiceClient =
         CloudFunctionsServiceClient.create()) {
       DeleteFunctionRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/deletefunction/SyncDeleteFunctionCloudfunctionname.java b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/deletefunction/SyncDeleteFunctionCloudfunctionname.java
index 4cbd62fd..4f76c2ab 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/deletefunction/SyncDeleteFunctionCloudfunctionname.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/deletefunction/SyncDeleteFunctionCloudfunctionname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteFunctionCloudfunctionname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CloudFunctionsServiceClient cloudFunctionsServiceClient =
         CloudFunctionsServiceClient.create()) {
       CloudFunctionName name = CloudFunctionName.of("[PROJECT]", "[LOCATION]", "[FUNCTION]");
diff --git a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/deletefunction/SyncDeleteFunctionString.java b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/deletefunction/SyncDeleteFunctionString.java
index 96c8d12c..82aa719d 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/deletefunction/SyncDeleteFunctionString.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/deletefunction/SyncDeleteFunctionString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteFunctionString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CloudFunctionsServiceClient cloudFunctionsServiceClient =
         CloudFunctionsServiceClient.create()) {
       String name = CloudFunctionName.of("[PROJECT]", "[LOCATION]", "[FUNCTION]").toString();
diff --git a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/generatedownloadurl/AsyncGenerateDownloadUrl.java b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/generatedownloadurl/AsyncGenerateDownloadUrl.java
index f6a2b3b0..0f49cc81 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/generatedownloadurl/AsyncGenerateDownloadUrl.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/generatedownloadurl/AsyncGenerateDownloadUrl.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGenerateDownloadUrl() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CloudFunctionsServiceClient cloudFunctionsServiceClient =
         CloudFunctionsServiceClient.create()) {
       GenerateDownloadUrlRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/generatedownloadurl/SyncGenerateDownloadUrl.java b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/generatedownloadurl/SyncGenerateDownloadUrl.java
index 966420d2..5b12cf9d 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/generatedownloadurl/SyncGenerateDownloadUrl.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/generatedownloadurl/SyncGenerateDownloadUrl.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGenerateDownloadUrl() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CloudFunctionsServiceClient cloudFunctionsServiceClient =
         CloudFunctionsServiceClient.create()) {
       GenerateDownloadUrlRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/generateuploadurl/AsyncGenerateUploadUrl.java b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/generateuploadurl/AsyncGenerateUploadUrl.java
index ed1eb857..85a1253e 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/generateuploadurl/AsyncGenerateUploadUrl.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/generateuploadurl/AsyncGenerateUploadUrl.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGenerateUploadUrl() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CloudFunctionsServiceClient cloudFunctionsServiceClient =
         CloudFunctionsServiceClient.create()) {
       GenerateUploadUrlRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/generateuploadurl/SyncGenerateUploadUrl.java b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/generateuploadurl/SyncGenerateUploadUrl.java
index f6bf1a58..4c9b3b5a 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/generateuploadurl/SyncGenerateUploadUrl.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/generateuploadurl/SyncGenerateUploadUrl.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGenerateUploadUrl() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CloudFunctionsServiceClient cloudFunctionsServiceClient =
         CloudFunctionsServiceClient.create()) {
       GenerateUploadUrlRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/getfunction/AsyncGetFunction.java b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/getfunction/AsyncGetFunction.java
index ccd7519a..a00094c2 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/getfunction/AsyncGetFunction.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/getfunction/AsyncGetFunction.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetFunction() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CloudFunctionsServiceClient cloudFunctionsServiceClient =
         CloudFunctionsServiceClient.create()) {
       GetFunctionRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/getfunction/SyncGetFunction.java b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/getfunction/SyncGetFunction.java
index 8eb801ec..8418c024 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/getfunction/SyncGetFunction.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/getfunction/SyncGetFunction.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetFunction() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CloudFunctionsServiceClient cloudFunctionsServiceClient =
         CloudFunctionsServiceClient.create()) {
       GetFunctionRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/getfunction/SyncGetFunctionCloudfunctionname.java b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/getfunction/SyncGetFunctionCloudfunctionname.java
index d9ab0ba9..41405637 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/getfunction/SyncGetFunctionCloudfunctionname.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/getfunction/SyncGetFunctionCloudfunctionname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetFunctionCloudfunctionname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CloudFunctionsServiceClient cloudFunctionsServiceClient =
         CloudFunctionsServiceClient.create()) {
       CloudFunctionName name = CloudFunctionName.of("[PROJECT]", "[LOCATION]", "[FUNCTION]");
diff --git a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/getfunction/SyncGetFunctionString.java b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/getfunction/SyncGetFunctionString.java
index 76eabfe0..ba372cce 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/getfunction/SyncGetFunctionString.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/getfunction/SyncGetFunctionString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetFunctionString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CloudFunctionsServiceClient cloudFunctionsServiceClient =
         CloudFunctionsServiceClient.create()) {
       String name = CloudFunctionName.of("[PROJECT]", "[LOCATION]", "[FUNCTION]").toString();
diff --git a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/getiampolicy/AsyncGetIamPolicy.java b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/getiampolicy/AsyncGetIamPolicy.java
index cdd00f2f..2a362e82 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/getiampolicy/AsyncGetIamPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/getiampolicy/AsyncGetIamPolicy.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetIamPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CloudFunctionsServiceClient cloudFunctionsServiceClient =
         CloudFunctionsServiceClient.create()) {
       GetIamPolicyRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/getiampolicy/SyncGetIamPolicy.java b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/getiampolicy/SyncGetIamPolicy.java
index aaadb6c2..73953593 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/getiampolicy/SyncGetIamPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/getiampolicy/SyncGetIamPolicy.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetIamPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CloudFunctionsServiceClient cloudFunctionsServiceClient =
         CloudFunctionsServiceClient.create()) {
       GetIamPolicyRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/listfunctions/AsyncListFunctions.java b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/listfunctions/AsyncListFunctions.java
index 390a9c77..bde64269 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/listfunctions/AsyncListFunctions.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/listfunctions/AsyncListFunctions.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListFunctions() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CloudFunctionsServiceClient cloudFunctionsServiceClient =
         CloudFunctionsServiceClient.create()) {
       ListFunctionsRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/listfunctions/AsyncListFunctionsPaged.java b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/listfunctions/AsyncListFunctionsPaged.java
index 7aff89f9..eb92ddb5 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/listfunctions/AsyncListFunctionsPaged.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/listfunctions/AsyncListFunctionsPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListFunctionsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CloudFunctionsServiceClient cloudFunctionsServiceClient =
         CloudFunctionsServiceClient.create()) {
       ListFunctionsRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/listfunctions/SyncListFunctions.java b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/listfunctions/SyncListFunctions.java
index d2953fdb..dcd858ed 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/listfunctions/SyncListFunctions.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/listfunctions/SyncListFunctions.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListFunctions() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CloudFunctionsServiceClient cloudFunctionsServiceClient =
         CloudFunctionsServiceClient.create()) {
       ListFunctionsRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/setiampolicy/AsyncSetIamPolicy.java b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/setiampolicy/AsyncSetIamPolicy.java
index e268b3f3..d735c6f0 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/setiampolicy/AsyncSetIamPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/setiampolicy/AsyncSetIamPolicy.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncSetIamPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CloudFunctionsServiceClient cloudFunctionsServiceClient =
         CloudFunctionsServiceClient.create()) {
       SetIamPolicyRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/setiampolicy/SyncSetIamPolicy.java b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/setiampolicy/SyncSetIamPolicy.java
index 026ca914..d9a26dee 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/setiampolicy/SyncSetIamPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/setiampolicy/SyncSetIamPolicy.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSetIamPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CloudFunctionsServiceClient cloudFunctionsServiceClient =
         CloudFunctionsServiceClient.create()) {
       SetIamPolicyRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/testiampermissions/AsyncTestIamPermissions.java b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/testiampermissions/AsyncTestIamPermissions.java
index 00693874..8b7cf974 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/testiampermissions/AsyncTestIamPermissions.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/testiampermissions/AsyncTestIamPermissions.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncTestIamPermissions() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CloudFunctionsServiceClient cloudFunctionsServiceClient =
         CloudFunctionsServiceClient.create()) {
       TestIamPermissionsRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/testiampermissions/SyncTestIamPermissions.java b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/testiampermissions/SyncTestIamPermissions.java
index 2ba11f3a..e42a84f0 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/testiampermissions/SyncTestIamPermissions.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/testiampermissions/SyncTestIamPermissions.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncTestIamPermissions() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CloudFunctionsServiceClient cloudFunctionsServiceClient =
         CloudFunctionsServiceClient.create()) {
       TestIamPermissionsRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/updatefunction/AsyncUpdateFunction.java b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/updatefunction/AsyncUpdateFunction.java
index eeffd877..30944917 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/updatefunction/AsyncUpdateFunction.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/updatefunction/AsyncUpdateFunction.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateFunction() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CloudFunctionsServiceClient cloudFunctionsServiceClient =
         CloudFunctionsServiceClient.create()) {
       UpdateFunctionRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/updatefunction/AsyncUpdateFunctionLRO.java b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/updatefunction/AsyncUpdateFunctionLRO.java
index 3512869a..e0834334 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/updatefunction/AsyncUpdateFunctionLRO.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/updatefunction/AsyncUpdateFunctionLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateFunctionLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CloudFunctionsServiceClient cloudFunctionsServiceClient =
         CloudFunctionsServiceClient.create()) {
       UpdateFunctionRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/updatefunction/SyncUpdateFunction.java b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/updatefunction/SyncUpdateFunction.java
index 52e64c6a..c79e6df9 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/updatefunction/SyncUpdateFunction.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/updatefunction/SyncUpdateFunction.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateFunction() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CloudFunctionsServiceClient cloudFunctionsServiceClient =
         CloudFunctionsServiceClient.create()) {
       UpdateFunctionRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/updatefunction/SyncUpdateFunctionCloudfunction.java b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/updatefunction/SyncUpdateFunctionCloudfunction.java
index 6affbdc0..17b78a35 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/updatefunction/SyncUpdateFunctionCloudfunction.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsserviceclient/updatefunction/SyncUpdateFunctionCloudfunction.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateFunctionCloudfunction() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (CloudFunctionsServiceClient cloudFunctionsServiceClient =
         CloudFunctionsServiceClient.create()) {
       CloudFunction function = CloudFunction.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsservicesettings/getfunction/SyncGetFunction.java b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsservicesettings/getfunction/SyncGetFunction.java
index a68f82ea..6dbbb6c2 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsservicesettings/getfunction/SyncGetFunction.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsservicesettings/getfunction/SyncGetFunction.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetFunction() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     CloudFunctionsServiceSettings.Builder cloudFunctionsServiceSettingsBuilder =
         CloudFunctionsServiceSettings.newBuilder();
     cloudFunctionsServiceSettingsBuilder
diff --git a/samples/snippets/generated/com/google/cloud/functions/v1/stub/cloudfunctionsservicestubsettings/getfunction/SyncGetFunction.java b/samples/snippets/generated/com/google/cloud/functions/v1/stub/cloudfunctionsservicestubsettings/getfunction/SyncGetFunction.java
index ce1ef95c..424a430e 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v1/stub/cloudfunctionsservicestubsettings/getfunction/SyncGetFunction.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v1/stub/cloudfunctionsservicestubsettings/getfunction/SyncGetFunction.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetFunction() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     CloudFunctionsServiceStubSettings.Builder cloudFunctionsServiceSettingsBuilder =
         CloudFunctionsServiceStubSettings.newBuilder();
     cloudFunctionsServiceSettingsBuilder
diff --git a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/create/SyncCreateSetCredentialsProvider.java
index d369d758..8a4aac5e 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/create/SyncCreateSetCredentialsProvider.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/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
     FunctionServiceSettings functionServiceSettings =
         FunctionServiceSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/create/SyncCreateSetCredentialsProvider1.java
index d3a21931..adad3b7b 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/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
     FunctionServiceSettings functionServiceSettings =
         FunctionServiceSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/create/SyncCreateSetEndpoint.java
index 9b4c7413..d07e519a 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/create/SyncCreateSetEndpoint.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/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
     FunctionServiceSettings functionServiceSettings =
         FunctionServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
     FunctionServiceClient functionServiceClient =
diff --git a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/createfunction/AsyncCreateFunction.java b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/createfunction/AsyncCreateFunction.java
index dfa81da4..4fad9dde 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/createfunction/AsyncCreateFunction.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/createfunction/AsyncCreateFunction.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateFunction() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
       CreateFunctionRequest request =
           CreateFunctionRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/createfunction/AsyncCreateFunctionLRO.java b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/createfunction/AsyncCreateFunctionLRO.java
index 946631eb..2253a979 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/createfunction/AsyncCreateFunctionLRO.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/createfunction/AsyncCreateFunctionLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateFunctionLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
       CreateFunctionRequest request =
           CreateFunctionRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/createfunction/SyncCreateFunction.java b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/createfunction/SyncCreateFunction.java
index 71951fad..e8a95f88 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/createfunction/SyncCreateFunction.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/createfunction/SyncCreateFunction.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateFunction() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
       CreateFunctionRequest request =
           CreateFunctionRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/createfunction/SyncCreateFunctionLocationnameFunctionString.java b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/createfunction/SyncCreateFunctionLocationnameFunctionString.java
index 5920d62e..65c98afe 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/createfunction/SyncCreateFunctionLocationnameFunctionString.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/createfunction/SyncCreateFunctionLocationnameFunctionString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateFunctionLocationnameFunctionString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       Function function = Function.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/createfunction/SyncCreateFunctionStringFunctionString.java b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/createfunction/SyncCreateFunctionStringFunctionString.java
index a24b81c5..3d0131df 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/createfunction/SyncCreateFunctionStringFunctionString.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/createfunction/SyncCreateFunctionStringFunctionString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateFunctionStringFunctionString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       Function function = Function.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/deletefunction/AsyncDeleteFunction.java b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/deletefunction/AsyncDeleteFunction.java
index 975df2e4..1833dfb8 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/deletefunction/AsyncDeleteFunction.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/deletefunction/AsyncDeleteFunction.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteFunction() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
       DeleteFunctionRequest request =
           DeleteFunctionRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/deletefunction/AsyncDeleteFunctionLRO.java b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/deletefunction/AsyncDeleteFunctionLRO.java
index 75795c32..48bb46c9 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/deletefunction/AsyncDeleteFunctionLRO.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/deletefunction/AsyncDeleteFunctionLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteFunctionLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
       DeleteFunctionRequest request =
           DeleteFunctionRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/deletefunction/SyncDeleteFunction.java b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/deletefunction/SyncDeleteFunction.java
index 3ec0efb0..55ac6b86 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/deletefunction/SyncDeleteFunction.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/deletefunction/SyncDeleteFunction.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteFunction() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
       DeleteFunctionRequest request =
           DeleteFunctionRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/deletefunction/SyncDeleteFunctionFunctionname.java b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/deletefunction/SyncDeleteFunctionFunctionname.java
index 0f5abcbb..fdc2d9fb 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/deletefunction/SyncDeleteFunctionFunctionname.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/deletefunction/SyncDeleteFunctionFunctionname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteFunctionFunctionname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
       FunctionName name = FunctionName.of("[PROJECT]", "[LOCATION]", "[FUNCTION]");
       functionServiceClient.deleteFunctionAsync(name).get();
diff --git a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/deletefunction/SyncDeleteFunctionString.java b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/deletefunction/SyncDeleteFunctionString.java
index fa9dc4bf..0884dc8c 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/deletefunction/SyncDeleteFunctionString.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/deletefunction/SyncDeleteFunctionString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteFunctionString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
       String name = FunctionName.of("[PROJECT]", "[LOCATION]", "[FUNCTION]").toString();
       functionServiceClient.deleteFunctionAsync(name).get();
diff --git a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/generatedownloadurl/AsyncGenerateDownloadUrl.java b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/generatedownloadurl/AsyncGenerateDownloadUrl.java
index c6a19a34..3e36f871 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/generatedownloadurl/AsyncGenerateDownloadUrl.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/generatedownloadurl/AsyncGenerateDownloadUrl.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGenerateDownloadUrl() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
       GenerateDownloadUrlRequest request =
           GenerateDownloadUrlRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/generatedownloadurl/SyncGenerateDownloadUrl.java b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/generatedownloadurl/SyncGenerateDownloadUrl.java
index af3159ee..7c80fac2 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/generatedownloadurl/SyncGenerateDownloadUrl.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/generatedownloadurl/SyncGenerateDownloadUrl.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGenerateDownloadUrl() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
       GenerateDownloadUrlRequest request =
           GenerateDownloadUrlRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/generateuploadurl/AsyncGenerateUploadUrl.java b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/generateuploadurl/AsyncGenerateUploadUrl.java
index 13ff09cd..7db13f97 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/generateuploadurl/AsyncGenerateUploadUrl.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/generateuploadurl/AsyncGenerateUploadUrl.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGenerateUploadUrl() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
       GenerateUploadUrlRequest request =
           GenerateUploadUrlRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/generateuploadurl/SyncGenerateUploadUrl.java b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/generateuploadurl/SyncGenerateUploadUrl.java
index 2a668364..2c055988 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/generateuploadurl/SyncGenerateUploadUrl.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/generateuploadurl/SyncGenerateUploadUrl.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGenerateUploadUrl() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
       GenerateUploadUrlRequest request =
           GenerateUploadUrlRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/getfunction/AsyncGetFunction.java b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/getfunction/AsyncGetFunction.java
index 2bf58306..c09c9179 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/getfunction/AsyncGetFunction.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/getfunction/AsyncGetFunction.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetFunction() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
       GetFunctionRequest request =
           GetFunctionRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/getfunction/SyncGetFunction.java b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/getfunction/SyncGetFunction.java
index 1ca01831..22fc17bf 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/getfunction/SyncGetFunction.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/getfunction/SyncGetFunction.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetFunction() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
       GetFunctionRequest request =
           GetFunctionRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/getfunction/SyncGetFunctionFunctionname.java b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/getfunction/SyncGetFunctionFunctionname.java
index 28dd7989..aa13fd41 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/getfunction/SyncGetFunctionFunctionname.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/getfunction/SyncGetFunctionFunctionname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetFunctionFunctionname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
       FunctionName name = FunctionName.of("[PROJECT]", "[LOCATION]", "[FUNCTION]");
       Function response = functionServiceClient.getFunction(name);
diff --git a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/getfunction/SyncGetFunctionString.java b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/getfunction/SyncGetFunctionString.java
index d5b89540..0b3db8f7 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/getfunction/SyncGetFunctionString.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/getfunction/SyncGetFunctionString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetFunctionString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
       String name = FunctionName.of("[PROJECT]", "[LOCATION]", "[FUNCTION]").toString();
       Function response = functionServiceClient.getFunction(name);
diff --git a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/getiampolicy/AsyncGetIamPolicy.java b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/getiampolicy/AsyncGetIamPolicy.java
index c6e76912..9ce0eeab 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/getiampolicy/AsyncGetIamPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/getiampolicy/AsyncGetIamPolicy.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetIamPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
       GetIamPolicyRequest request =
           GetIamPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/getiampolicy/SyncGetIamPolicy.java b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/getiampolicy/SyncGetIamPolicy.java
index 9d768ecd..38ab44c9 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/getiampolicy/SyncGetIamPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/getiampolicy/SyncGetIamPolicy.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetIamPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
       GetIamPolicyRequest request =
           GetIamPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/listfunctions/AsyncListFunctions.java b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/listfunctions/AsyncListFunctions.java
index d10b57e7..d3e38fa5 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/listfunctions/AsyncListFunctions.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/listfunctions/AsyncListFunctions.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListFunctions() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
       ListFunctionsRequest request =
           ListFunctionsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/listfunctions/AsyncListFunctionsPaged.java b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/listfunctions/AsyncListFunctionsPaged.java
index 586d7782..9a3efa5f 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/listfunctions/AsyncListFunctionsPaged.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/listfunctions/AsyncListFunctionsPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListFunctionsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
       ListFunctionsRequest request =
           ListFunctionsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/listfunctions/SyncListFunctions.java b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/listfunctions/SyncListFunctions.java
index aeb6bae5..9d61d124 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/listfunctions/SyncListFunctions.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/listfunctions/SyncListFunctions.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListFunctions() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
       ListFunctionsRequest request =
           ListFunctionsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/listfunctions/SyncListFunctionsLocationname.java b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/listfunctions/SyncListFunctionsLocationname.java
index 2fc7bf5b..d3c91dc7 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/listfunctions/SyncListFunctionsLocationname.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/listfunctions/SyncListFunctionsLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListFunctionsLocationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       for (Function element : functionServiceClient.listFunctions(parent).iterateAll()) {
diff --git a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/listfunctions/SyncListFunctionsString.java b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/listfunctions/SyncListFunctionsString.java
index da749b6c..4341e300 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/listfunctions/SyncListFunctionsString.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/listfunctions/SyncListFunctionsString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListFunctionsString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       for (Function element : functionServiceClient.listFunctions(parent).iterateAll()) {
diff --git a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/listlocations/AsyncListLocations.java b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/listlocations/AsyncListLocations.java
index 10907211..2bdb7867 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/listlocations/AsyncListLocations.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/listlocations/AsyncListLocations.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/listlocations/AsyncListLocationsPaged.java b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/listlocations/AsyncListLocationsPaged.java
index efaa47c4..5db9fbeb 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/listlocations/AsyncListLocationsPaged.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/listlocations/AsyncListLocationsPaged.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocationsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/listlocations/SyncListLocations.java b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/listlocations/SyncListLocations.java
index 6a3417e2..2e92b6ff 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/listlocations/SyncListLocations.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/listlocations/SyncListLocations.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/listruntimes/AsyncListRuntimes.java b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/listruntimes/AsyncListRuntimes.java
index 359a58a2..e8231371 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/listruntimes/AsyncListRuntimes.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/listruntimes/AsyncListRuntimes.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListRuntimes() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
       ListRuntimesRequest request =
           ListRuntimesRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/listruntimes/SyncListRuntimes.java b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/listruntimes/SyncListRuntimes.java
index e5421610..a13af467 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/listruntimes/SyncListRuntimes.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/listruntimes/SyncListRuntimes.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListRuntimes() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
       ListRuntimesRequest request =
           ListRuntimesRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/listruntimes/SyncListRuntimesLocationname.java b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/listruntimes/SyncListRuntimesLocationname.java
index 6811da07..f4e91787 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/listruntimes/SyncListRuntimesLocationname.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/listruntimes/SyncListRuntimesLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListRuntimesLocationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       ListRuntimesResponse response = functionServiceClient.listRuntimes(parent);
diff --git a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/listruntimes/SyncListRuntimesString.java b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/listruntimes/SyncListRuntimesString.java
index 5414645f..0976a594 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/listruntimes/SyncListRuntimesString.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/listruntimes/SyncListRuntimesString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListRuntimesString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       ListRuntimesResponse response = functionServiceClient.listRuntimes(parent);
diff --git a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/setiampolicy/AsyncSetIamPolicy.java b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/setiampolicy/AsyncSetIamPolicy.java
index 6afb7817..4acbccda 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/setiampolicy/AsyncSetIamPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/setiampolicy/AsyncSetIamPolicy.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncSetIamPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
       SetIamPolicyRequest request =
           SetIamPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/setiampolicy/SyncSetIamPolicy.java b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/setiampolicy/SyncSetIamPolicy.java
index b86eb9ba..bd5e8da3 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/setiampolicy/SyncSetIamPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/setiampolicy/SyncSetIamPolicy.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSetIamPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
       SetIamPolicyRequest request =
           SetIamPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/testiampermissions/AsyncTestIamPermissions.java b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/testiampermissions/AsyncTestIamPermissions.java
index 0d99a64c..35e92d57 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/testiampermissions/AsyncTestIamPermissions.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/testiampermissions/AsyncTestIamPermissions.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncTestIamPermissions() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
       TestIamPermissionsRequest request =
           TestIamPermissionsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/testiampermissions/SyncTestIamPermissions.java b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/testiampermissions/SyncTestIamPermissions.java
index dd3e04b4..dad31a63 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/testiampermissions/SyncTestIamPermissions.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/testiampermissions/SyncTestIamPermissions.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncTestIamPermissions() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
       TestIamPermissionsRequest request =
           TestIamPermissionsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/updatefunction/AsyncUpdateFunction.java b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/updatefunction/AsyncUpdateFunction.java
index f346b080..845683e9 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/updatefunction/AsyncUpdateFunction.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/updatefunction/AsyncUpdateFunction.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateFunction() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
       UpdateFunctionRequest request =
           UpdateFunctionRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/updatefunction/AsyncUpdateFunctionLRO.java b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/updatefunction/AsyncUpdateFunctionLRO.java
index 35b8ff41..1199e1d0 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/updatefunction/AsyncUpdateFunctionLRO.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/updatefunction/AsyncUpdateFunctionLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateFunctionLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
       UpdateFunctionRequest request =
           UpdateFunctionRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/updatefunction/SyncUpdateFunction.java b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/updatefunction/SyncUpdateFunction.java
index 4081efd1..97fb1d3d 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/updatefunction/SyncUpdateFunction.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/updatefunction/SyncUpdateFunction.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateFunction() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
       UpdateFunctionRequest request =
           UpdateFunctionRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/updatefunction/SyncUpdateFunctionFunctionFieldmask.java b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/updatefunction/SyncUpdateFunctionFunctionFieldmask.java
index 4b2474b0..df248c3e 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/updatefunction/SyncUpdateFunctionFunctionFieldmask.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v2/functionserviceclient/updatefunction/SyncUpdateFunctionFunctionFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateFunctionFunctionFieldmask() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
       Function function = Function.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/functions/v2/functionservicesettings/getfunction/SyncGetFunction.java b/samples/snippets/generated/com/google/cloud/functions/v2/functionservicesettings/getfunction/SyncGetFunction.java
index 63f588b5..e8579841 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v2/functionservicesettings/getfunction/SyncGetFunction.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v2/functionservicesettings/getfunction/SyncGetFunction.java
@@ -27,17 +27,17 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetFunction() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     FunctionServiceSettings.Builder functionServiceSettingsBuilder =
         FunctionServiceSettings.newBuilder();
     functionServiceSettingsBuilder
         .getFunctionSettings()
         .setRetrySettings(
-            functionServiceSettingsBuilder
-                .getFunctionSettings()
-                .getRetrySettings()
-                .toBuilder()
+            functionServiceSettingsBuilder.getFunctionSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     FunctionServiceSettings functionServiceSettings = functionServiceSettingsBuilder.build();
diff --git a/samples/snippets/generated/com/google/cloud/functions/v2/stub/functionservicestubsettings/getfunction/SyncGetFunction.java b/samples/snippets/generated/com/google/cloud/functions/v2/stub/functionservicestubsettings/getfunction/SyncGetFunction.java
index d4098147..1a25ebde 100644
--- a/samples/snippets/generated/com/google/cloud/functions/v2/stub/functionservicestubsettings/getfunction/SyncGetFunction.java
+++ b/samples/snippets/generated/com/google/cloud/functions/v2/stub/functionservicestubsettings/getfunction/SyncGetFunction.java
@@ -27,17 +27,17 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetFunction() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     FunctionServiceStubSettings.Builder functionServiceSettingsBuilder =
         FunctionServiceStubSettings.newBuilder();
     functionServiceSettingsBuilder
         .getFunctionSettings()
         .setRetrySettings(
-            functionServiceSettingsBuilder
-                .getFunctionSettings()
-                .getRetrySettings()
-                .toBuilder()
+            functionServiceSettingsBuilder.getFunctionSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     FunctionServiceStubSettings functionServiceSettings = functionServiceSettingsBuilder.build();

From ce7effc22d692f6668bbc85e440ec2f948bdb14f Mon Sep 17 00:00:00 2001
From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com>
Date: Sat, 10 Sep 2022 02:16:24 +0000
Subject: [PATCH 2/5] chore: Generated snippets should not be owned by samples
 reviewers (#1575) (#465)

Source-Link: https://github.com/googleapis/synthtool/commit/2e9ac19d5b8181af77cdc5337cf922517813cc49
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:8175681a918181d306d9c370d3262f16b4c724cc73d74111b7d42fc985ca7f93
---
 .github/.OwlBot.lock.yaml | 3 +--
 .github/CODEOWNERS        | 3 +++
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml
index f8b912ad..62592923 100644
--- a/.github/.OwlBot.lock.yaml
+++ b/.github/.OwlBot.lock.yaml
@@ -13,5 +13,4 @@
 # limitations under the License.
 docker:
   image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest
-  digest: sha256:b47e411068ffc6e6990cb4e0802fbac9a4488dec7f5f424553518ba21abea208
-# created: 2022-07-26T16:25:31.033836225Z
+  digest: sha256:8175681a918181d306d9c370d3262f16b4c724cc73d74111b7d42fc985ca7f93
diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
index 1578dc2f..5232f38f 100644
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@ -10,3 +10,6 @@
 
 # The java-samples-reviewers team is the default owner for samples changes
 samples/**/*.java       @googleapis/java-samples-reviewers
+
+# Generated snippets should not be owned by samples reviewers
+samples/snippets/generated/       @googleapis/yoshi-java

From 62b72b46473bb587b7a461effa795a029f2cdcdd Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate 
Date: Thu, 15 Sep 2022 14:14:12 +0200
Subject: [PATCH 3/5] deps: update dependency
 com.google.cloud:google-cloud-shared-dependencies to v3.0.3 (#466)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | `3.0.2` -> `3.0.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.3/compatibility-slim/3.0.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.3/confidence-slim/3.0.2)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

googleapis/java-shared-dependencies ### [`v3.0.3`](https://togithub.com/googleapis/java-shared-dependencies/blob/HEAD/CHANGELOG.md#​303-httpsgithubcomgoogleapisjava-shared-dependenciescomparev302v303-2022-09-14) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v3.0.2...v3.0.3) ##### Dependencies - Google-cloud-core 2.8.12 ([#​799](https://togithub.com/googleapis/java-shared-dependencies/issues/799)) ([1b3db8d](https://togithub.com/googleapis/java-shared-dependencies/commit/1b3db8d1e17c49ebae79fc96164fa9058e1df6e3)) - Moving gson to first-party-dependencies ([#​800](https://togithub.com/googleapis/java-shared-dependencies/issues/800)) ([a41fcc1](https://togithub.com/googleapis/java-shared-dependencies/commit/a41fcc11d32e02e5af2837561792e3919f6d4b3f)) - Update dependency com.google.protobuf:protobuf-bom to v3.21.6 ([#​797](https://togithub.com/googleapis/java-shared-dependencies/issues/797)) ([bc5fdc9](https://togithub.com/googleapis/java-shared-dependencies/commit/bc5fdc9b3af7973c28f063a9ac156fe2af562814)) - Update gax.version to v2.19.1 ([#​798](https://togithub.com/googleapis/java-shared-dependencies/issues/798)) ([84e5487](https://togithub.com/googleapis/java-shared-dependencies/commit/84e5487b2e3dce4bb60badecebde788c3cb702b8)) - Update google.core.version to v2.8.11 ([#​793](https://togithub.com/googleapis/java-shared-dependencies/issues/793)) ([63c1297](https://togithub.com/googleapis/java-shared-dependencies/commit/63c129722aa0b821031ff5b4c11004adf7b12044))
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-functions). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index af44615e..77fbdbf8 100644 --- a/pom.xml +++ b/pom.xml @@ -107,7 +107,7 @@ com.google.cloud google-cloud-shared-dependencies - 3.0.2 + 3.0.3 pom import From 1981dc3fa01480bc3a982485524c1d7134db82ad Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 16 Sep 2022 16:20:15 +0000 Subject: [PATCH 4/5] chore(main): release 2.5.2-SNAPSHOT (#463) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- google-cloud-functions-bom/pom.xml | 20 ++++++++++---------- google-cloud-functions/pom.xml | 4 ++-- grpc-google-cloud-functions-v1/pom.xml | 4 ++-- grpc-google-cloud-functions-v2/pom.xml | 4 ++-- grpc-google-cloud-functions-v2alpha/pom.xml | 4 ++-- grpc-google-cloud-functions-v2beta/pom.xml | 4 ++-- pom.xml | 20 ++++++++++---------- proto-google-cloud-functions-v1/pom.xml | 4 ++-- proto-google-cloud-functions-v2/pom.xml | 4 ++-- proto-google-cloud-functions-v2alpha/pom.xml | 4 ++-- proto-google-cloud-functions-v2beta/pom.xml | 4 ++-- versions.txt | 18 +++++++++--------- 12 files changed, 47 insertions(+), 47 deletions(-) diff --git a/google-cloud-functions-bom/pom.xml b/google-cloud-functions-bom/pom.xml index 618026f8..57ce262d 100644 --- a/google-cloud-functions-bom/pom.xml +++ b/google-cloud-functions-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-functions-bom - 2.5.1 + 2.5.2-SNAPSHOT pom com.google.cloud @@ -56,47 +56,47 @@ com.google.cloud google-cloud-functions - 2.5.1 + 2.5.2-SNAPSHOT com.google.api.grpc grpc-google-cloud-functions-v1 - 2.5.1 + 2.5.2-SNAPSHOT com.google.api.grpc grpc-google-cloud-functions-v2beta - 2.5.1 + 2.5.2-SNAPSHOT com.google.api.grpc grpc-google-cloud-functions-v2alpha - 2.5.1 + 2.5.2-SNAPSHOT com.google.api.grpc grpc-google-cloud-functions-v2 - 2.5.1 + 2.5.2-SNAPSHOT com.google.api.grpc proto-google-cloud-functions-v1 - 2.5.1 + 2.5.2-SNAPSHOT com.google.api.grpc proto-google-cloud-functions-v2beta - 2.5.1 + 2.5.2-SNAPSHOT com.google.api.grpc proto-google-cloud-functions-v2alpha - 2.5.1 + 2.5.2-SNAPSHOT com.google.api.grpc proto-google-cloud-functions-v2 - 2.5.1 + 2.5.2-SNAPSHOT diff --git a/google-cloud-functions/pom.xml b/google-cloud-functions/pom.xml index e1f024c3..b2302b05 100644 --- a/google-cloud-functions/pom.xml +++ b/google-cloud-functions/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-functions - 2.5.1 + 2.5.2-SNAPSHOT jar Google Cloud Functions https://github.com/googleapis/java-functions @@ -11,7 +11,7 @@ com.google.cloud google-cloud-functions-parent - 2.5.1 + 2.5.2-SNAPSHOT google-cloud-functions diff --git a/grpc-google-cloud-functions-v1/pom.xml b/grpc-google-cloud-functions-v1/pom.xml index e76bfe66..80936c06 100644 --- a/grpc-google-cloud-functions-v1/pom.xml +++ b/grpc-google-cloud-functions-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-functions-v1 - 2.5.1 + 2.5.2-SNAPSHOT grpc-google-cloud-functions-v1 GRPC library for grpc-google-cloud-functions-v1 com.google.cloud google-cloud-functions-parent - 2.5.1 + 2.5.2-SNAPSHOT diff --git a/grpc-google-cloud-functions-v2/pom.xml b/grpc-google-cloud-functions-v2/pom.xml index d9526b93..92b1314f 100644 --- a/grpc-google-cloud-functions-v2/pom.xml +++ b/grpc-google-cloud-functions-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-functions-v2 - 2.5.1 + 2.5.2-SNAPSHOT grpc-google-cloud-functions-v2 GRPC library for google-cloud-functions com.google.cloud google-cloud-functions-parent - 2.5.1 + 2.5.2-SNAPSHOT diff --git a/grpc-google-cloud-functions-v2alpha/pom.xml b/grpc-google-cloud-functions-v2alpha/pom.xml index 2972168a..01084807 100644 --- a/grpc-google-cloud-functions-v2alpha/pom.xml +++ b/grpc-google-cloud-functions-v2alpha/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-functions-v2alpha - 2.5.1 + 2.5.2-SNAPSHOT grpc-google-cloud-functions-v2alpha GRPC library for google-cloud-functions com.google.cloud google-cloud-functions-parent - 2.5.1 + 2.5.2-SNAPSHOT diff --git a/grpc-google-cloud-functions-v2beta/pom.xml b/grpc-google-cloud-functions-v2beta/pom.xml index 2e4abfb8..826dae79 100644 --- a/grpc-google-cloud-functions-v2beta/pom.xml +++ b/grpc-google-cloud-functions-v2beta/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-functions-v2beta - 2.5.1 + 2.5.2-SNAPSHOT grpc-google-cloud-functions-v2beta GRPC library for google-cloud-functions com.google.cloud google-cloud-functions-parent - 2.5.1 + 2.5.2-SNAPSHOT diff --git a/pom.xml b/pom.xml index 77fbdbf8..06eac28f 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-functions-parent pom - 2.5.1 + 2.5.2-SNAPSHOT Google Cloud Functions Parent https://github.com/googleapis/java-functions @@ -61,47 +61,47 @@ com.google.cloud google-cloud-functions - 2.5.1 + 2.5.2-SNAPSHOT com.google.api.grpc proto-google-cloud-functions-v2 - 2.5.1 + 2.5.2-SNAPSHOT com.google.api.grpc grpc-google-cloud-functions-v2 - 2.5.1 + 2.5.2-SNAPSHOT com.google.api.grpc proto-google-cloud-functions-v2alpha - 2.5.1 + 2.5.2-SNAPSHOT com.google.api.grpc proto-google-cloud-functions-v2beta - 2.5.1 + 2.5.2-SNAPSHOT com.google.api.grpc grpc-google-cloud-functions-v2alpha - 2.5.1 + 2.5.2-SNAPSHOT com.google.api.grpc grpc-google-cloud-functions-v2beta - 2.5.1 + 2.5.2-SNAPSHOT com.google.api.grpc proto-google-cloud-functions-v1 - 2.5.1 + 2.5.2-SNAPSHOT com.google.api.grpc grpc-google-cloud-functions-v1 - 2.5.1 + 2.5.2-SNAPSHOT diff --git a/proto-google-cloud-functions-v1/pom.xml b/proto-google-cloud-functions-v1/pom.xml index 6c050c79..d9f238a4 100644 --- a/proto-google-cloud-functions-v1/pom.xml +++ b/proto-google-cloud-functions-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-functions-v1 - 2.5.1 + 2.5.2-SNAPSHOT proto-google-cloud-functions-v1 PROTO library for proto-google-cloud-functions-v1 com.google.cloud google-cloud-functions-parent - 2.5.1 + 2.5.2-SNAPSHOT diff --git a/proto-google-cloud-functions-v2/pom.xml b/proto-google-cloud-functions-v2/pom.xml index 60feed70..81ddb86f 100644 --- a/proto-google-cloud-functions-v2/pom.xml +++ b/proto-google-cloud-functions-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-functions-v2 - 2.5.1 + 2.5.2-SNAPSHOT proto-google-cloud-functions-v2 Proto library for google-cloud-functions com.google.cloud google-cloud-functions-parent - 2.5.1 + 2.5.2-SNAPSHOT diff --git a/proto-google-cloud-functions-v2alpha/pom.xml b/proto-google-cloud-functions-v2alpha/pom.xml index c9bd5af8..44c6fe8f 100644 --- a/proto-google-cloud-functions-v2alpha/pom.xml +++ b/proto-google-cloud-functions-v2alpha/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-functions-v2alpha - 2.5.1 + 2.5.2-SNAPSHOT proto-google-cloud-functions-v2alpha Proto library for google-cloud-functions com.google.cloud google-cloud-functions-parent - 2.5.1 + 2.5.2-SNAPSHOT diff --git a/proto-google-cloud-functions-v2beta/pom.xml b/proto-google-cloud-functions-v2beta/pom.xml index b278e87e..7396d367 100644 --- a/proto-google-cloud-functions-v2beta/pom.xml +++ b/proto-google-cloud-functions-v2beta/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-functions-v2beta - 2.5.1 + 2.5.2-SNAPSHOT proto-google-cloud-functions-v2beta Proto library for google-cloud-functions com.google.cloud google-cloud-functions-parent - 2.5.1 + 2.5.2-SNAPSHOT diff --git a/versions.txt b/versions.txt index 4f02be81..e061bacf 100644 --- a/versions.txt +++ b/versions.txt @@ -1,12 +1,12 @@ # Format: # module:released-version:current-version -google-cloud-functions:2.5.1:2.5.1 -grpc-google-cloud-functions-v1:2.5.1:2.5.1 -proto-google-cloud-functions-v1:2.5.1:2.5.1 -proto-google-cloud-functions-v2beta:2.5.1:2.5.1 -proto-google-cloud-functions-v2alpha:2.5.1:2.5.1 -grpc-google-cloud-functions-v2beta:2.5.1:2.5.1 -grpc-google-cloud-functions-v2alpha:2.5.1:2.5.1 -proto-google-cloud-functions-v2:2.5.1:2.5.1 -grpc-google-cloud-functions-v2:2.5.1:2.5.1 +google-cloud-functions:2.5.1:2.5.2-SNAPSHOT +grpc-google-cloud-functions-v1:2.5.1:2.5.2-SNAPSHOT +proto-google-cloud-functions-v1:2.5.1:2.5.2-SNAPSHOT +proto-google-cloud-functions-v2beta:2.5.1:2.5.2-SNAPSHOT +proto-google-cloud-functions-v2alpha:2.5.1:2.5.2-SNAPSHOT +grpc-google-cloud-functions-v2beta:2.5.1:2.5.2-SNAPSHOT +grpc-google-cloud-functions-v2alpha:2.5.1:2.5.2-SNAPSHOT +proto-google-cloud-functions-v2:2.5.1:2.5.2-SNAPSHOT +grpc-google-cloud-functions-v2:2.5.1:2.5.2-SNAPSHOT From 7462aae91bcc0b08fc8c08204103d07652f4b83c Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 16 Sep 2022 16:36:13 +0000 Subject: [PATCH 5/5] chore(main): release 2.5.2 (#467) :robot: I have created a release *beep* *boop* --- ## [2.5.2](https://github.com/googleapis/java-functions/compare/v2.5.1...v2.5.2) (2022-09-16) ### Dependencies * Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.3 ([#466](https://github.com/googleapis/java-functions/issues/466)) ([62b72b4](https://github.com/googleapis/java-functions/commit/62b72b46473bb587b7a461effa795a029f2cdcdd)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- CHANGELOG.md | 7 +++++++ google-cloud-functions-bom/pom.xml | 20 ++++++++++---------- google-cloud-functions/pom.xml | 4 ++-- grpc-google-cloud-functions-v1/pom.xml | 4 ++-- grpc-google-cloud-functions-v2/pom.xml | 4 ++-- grpc-google-cloud-functions-v2alpha/pom.xml | 4 ++-- grpc-google-cloud-functions-v2beta/pom.xml | 4 ++-- pom.xml | 20 ++++++++++---------- proto-google-cloud-functions-v1/pom.xml | 4 ++-- proto-google-cloud-functions-v2/pom.xml | 4 ++-- proto-google-cloud-functions-v2alpha/pom.xml | 4 ++-- proto-google-cloud-functions-v2beta/pom.xml | 4 ++-- versions.txt | 18 +++++++++--------- 13 files changed, 54 insertions(+), 47 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f8006a10..fb5313f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [2.5.2](https://github.com/googleapis/java-functions/compare/v2.5.1...v2.5.2) (2022-09-16) + + +### Dependencies + +* Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.3 ([#466](https://github.com/googleapis/java-functions/issues/466)) ([62b72b4](https://github.com/googleapis/java-functions/commit/62b72b46473bb587b7a461effa795a029f2cdcdd)) + ## [2.5.1](https://github.com/googleapis/java-functions/compare/v2.5.0...v2.5.1) (2022-09-09) diff --git a/google-cloud-functions-bom/pom.xml b/google-cloud-functions-bom/pom.xml index 57ce262d..07a194e8 100644 --- a/google-cloud-functions-bom/pom.xml +++ b/google-cloud-functions-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-functions-bom - 2.5.2-SNAPSHOT + 2.5.2 pom com.google.cloud @@ -56,47 +56,47 @@ com.google.cloud google-cloud-functions - 2.5.2-SNAPSHOT + 2.5.2 com.google.api.grpc grpc-google-cloud-functions-v1 - 2.5.2-SNAPSHOT + 2.5.2 com.google.api.grpc grpc-google-cloud-functions-v2beta - 2.5.2-SNAPSHOT + 2.5.2 com.google.api.grpc grpc-google-cloud-functions-v2alpha - 2.5.2-SNAPSHOT + 2.5.2 com.google.api.grpc grpc-google-cloud-functions-v2 - 2.5.2-SNAPSHOT + 2.5.2 com.google.api.grpc proto-google-cloud-functions-v1 - 2.5.2-SNAPSHOT + 2.5.2 com.google.api.grpc proto-google-cloud-functions-v2beta - 2.5.2-SNAPSHOT + 2.5.2 com.google.api.grpc proto-google-cloud-functions-v2alpha - 2.5.2-SNAPSHOT + 2.5.2 com.google.api.grpc proto-google-cloud-functions-v2 - 2.5.2-SNAPSHOT + 2.5.2 diff --git a/google-cloud-functions/pom.xml b/google-cloud-functions/pom.xml index b2302b05..d613711b 100644 --- a/google-cloud-functions/pom.xml +++ b/google-cloud-functions/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-functions - 2.5.2-SNAPSHOT + 2.5.2 jar Google Cloud Functions https://github.com/googleapis/java-functions @@ -11,7 +11,7 @@ com.google.cloud google-cloud-functions-parent - 2.5.2-SNAPSHOT + 2.5.2 google-cloud-functions diff --git a/grpc-google-cloud-functions-v1/pom.xml b/grpc-google-cloud-functions-v1/pom.xml index 80936c06..960fd85a 100644 --- a/grpc-google-cloud-functions-v1/pom.xml +++ b/grpc-google-cloud-functions-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-functions-v1 - 2.5.2-SNAPSHOT + 2.5.2 grpc-google-cloud-functions-v1 GRPC library for grpc-google-cloud-functions-v1 com.google.cloud google-cloud-functions-parent - 2.5.2-SNAPSHOT + 2.5.2 diff --git a/grpc-google-cloud-functions-v2/pom.xml b/grpc-google-cloud-functions-v2/pom.xml index 92b1314f..74ca2ca6 100644 --- a/grpc-google-cloud-functions-v2/pom.xml +++ b/grpc-google-cloud-functions-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-functions-v2 - 2.5.2-SNAPSHOT + 2.5.2 grpc-google-cloud-functions-v2 GRPC library for google-cloud-functions com.google.cloud google-cloud-functions-parent - 2.5.2-SNAPSHOT + 2.5.2 diff --git a/grpc-google-cloud-functions-v2alpha/pom.xml b/grpc-google-cloud-functions-v2alpha/pom.xml index 01084807..3d0680bb 100644 --- a/grpc-google-cloud-functions-v2alpha/pom.xml +++ b/grpc-google-cloud-functions-v2alpha/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-functions-v2alpha - 2.5.2-SNAPSHOT + 2.5.2 grpc-google-cloud-functions-v2alpha GRPC library for google-cloud-functions com.google.cloud google-cloud-functions-parent - 2.5.2-SNAPSHOT + 2.5.2 diff --git a/grpc-google-cloud-functions-v2beta/pom.xml b/grpc-google-cloud-functions-v2beta/pom.xml index 826dae79..cbff9010 100644 --- a/grpc-google-cloud-functions-v2beta/pom.xml +++ b/grpc-google-cloud-functions-v2beta/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-functions-v2beta - 2.5.2-SNAPSHOT + 2.5.2 grpc-google-cloud-functions-v2beta GRPC library for google-cloud-functions com.google.cloud google-cloud-functions-parent - 2.5.2-SNAPSHOT + 2.5.2 diff --git a/pom.xml b/pom.xml index 06eac28f..ce78a617 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-functions-parent pom - 2.5.2-SNAPSHOT + 2.5.2 Google Cloud Functions Parent https://github.com/googleapis/java-functions @@ -61,47 +61,47 @@ com.google.cloud google-cloud-functions - 2.5.2-SNAPSHOT + 2.5.2 com.google.api.grpc proto-google-cloud-functions-v2 - 2.5.2-SNAPSHOT + 2.5.2 com.google.api.grpc grpc-google-cloud-functions-v2 - 2.5.2-SNAPSHOT + 2.5.2 com.google.api.grpc proto-google-cloud-functions-v2alpha - 2.5.2-SNAPSHOT + 2.5.2 com.google.api.grpc proto-google-cloud-functions-v2beta - 2.5.2-SNAPSHOT + 2.5.2 com.google.api.grpc grpc-google-cloud-functions-v2alpha - 2.5.2-SNAPSHOT + 2.5.2 com.google.api.grpc grpc-google-cloud-functions-v2beta - 2.5.2-SNAPSHOT + 2.5.2 com.google.api.grpc proto-google-cloud-functions-v1 - 2.5.2-SNAPSHOT + 2.5.2 com.google.api.grpc grpc-google-cloud-functions-v1 - 2.5.2-SNAPSHOT + 2.5.2 diff --git a/proto-google-cloud-functions-v1/pom.xml b/proto-google-cloud-functions-v1/pom.xml index d9f238a4..8719d55a 100644 --- a/proto-google-cloud-functions-v1/pom.xml +++ b/proto-google-cloud-functions-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-functions-v1 - 2.5.2-SNAPSHOT + 2.5.2 proto-google-cloud-functions-v1 PROTO library for proto-google-cloud-functions-v1 com.google.cloud google-cloud-functions-parent - 2.5.2-SNAPSHOT + 2.5.2 diff --git a/proto-google-cloud-functions-v2/pom.xml b/proto-google-cloud-functions-v2/pom.xml index 81ddb86f..004ca717 100644 --- a/proto-google-cloud-functions-v2/pom.xml +++ b/proto-google-cloud-functions-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-functions-v2 - 2.5.2-SNAPSHOT + 2.5.2 proto-google-cloud-functions-v2 Proto library for google-cloud-functions com.google.cloud google-cloud-functions-parent - 2.5.2-SNAPSHOT + 2.5.2 diff --git a/proto-google-cloud-functions-v2alpha/pom.xml b/proto-google-cloud-functions-v2alpha/pom.xml index 44c6fe8f..a90467c0 100644 --- a/proto-google-cloud-functions-v2alpha/pom.xml +++ b/proto-google-cloud-functions-v2alpha/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-functions-v2alpha - 2.5.2-SNAPSHOT + 2.5.2 proto-google-cloud-functions-v2alpha Proto library for google-cloud-functions com.google.cloud google-cloud-functions-parent - 2.5.2-SNAPSHOT + 2.5.2 diff --git a/proto-google-cloud-functions-v2beta/pom.xml b/proto-google-cloud-functions-v2beta/pom.xml index 7396d367..0ede3ba3 100644 --- a/proto-google-cloud-functions-v2beta/pom.xml +++ b/proto-google-cloud-functions-v2beta/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-functions-v2beta - 2.5.2-SNAPSHOT + 2.5.2 proto-google-cloud-functions-v2beta Proto library for google-cloud-functions com.google.cloud google-cloud-functions-parent - 2.5.2-SNAPSHOT + 2.5.2 diff --git a/versions.txt b/versions.txt index e061bacf..72e1de2e 100644 --- a/versions.txt +++ b/versions.txt @@ -1,12 +1,12 @@ # Format: # module:released-version:current-version -google-cloud-functions:2.5.1:2.5.2-SNAPSHOT -grpc-google-cloud-functions-v1:2.5.1:2.5.2-SNAPSHOT -proto-google-cloud-functions-v1:2.5.1:2.5.2-SNAPSHOT -proto-google-cloud-functions-v2beta:2.5.1:2.5.2-SNAPSHOT -proto-google-cloud-functions-v2alpha:2.5.1:2.5.2-SNAPSHOT -grpc-google-cloud-functions-v2beta:2.5.1:2.5.2-SNAPSHOT -grpc-google-cloud-functions-v2alpha:2.5.1:2.5.2-SNAPSHOT -proto-google-cloud-functions-v2:2.5.1:2.5.2-SNAPSHOT -grpc-google-cloud-functions-v2:2.5.1:2.5.2-SNAPSHOT +google-cloud-functions:2.5.2:2.5.2 +grpc-google-cloud-functions-v1:2.5.2:2.5.2 +proto-google-cloud-functions-v1:2.5.2:2.5.2 +proto-google-cloud-functions-v2beta:2.5.2:2.5.2 +proto-google-cloud-functions-v2alpha:2.5.2:2.5.2 +grpc-google-cloud-functions-v2beta:2.5.2:2.5.2 +grpc-google-cloud-functions-v2alpha:2.5.2:2.5.2 +proto-google-cloud-functions-v2:2.5.2:2.5.2 +grpc-google-cloud-functions-v2:2.5.2:2.5.2