diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index f60d77493..a79f06271 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -13,5 +13,5 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:fc52b202aa298a50a12c64efd04fea3884d867947effe2fa85382a246c09e813 -# created: 2022-04-06T16:30:03.627422514Z + digest: sha256:2567a120ce90fadb6201999b87d649d9f67459de28815ad239bce9ebfaa18a74 +# created: 2022-05-19T15:12:45.278246753Z diff --git a/.kokoro/build.sh b/.kokoro/build.sh index 675c67668..de774b756 100755 --- a/.kokoro/build.sh +++ b/.kokoro/build.sh @@ -74,6 +74,11 @@ graalvm) mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative -Penable-integration-tests test RETURN_CODE=$? ;; +graalvm17) + # Run Unit and Integration Tests with Native Image + mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative -Penable-integration-tests test + RETURN_CODE=$? + ;; samples) SAMPLES_DIR=samples # only run ITs in snapshot/ on presubmit PRs. run ITs in all 3 samples/ subdirectories otherwise. diff --git a/.kokoro/nightly/integration.cfg b/.kokoro/nightly/integration.cfg index a2907a257..7393106c3 100644 --- a/.kokoro/nightly/integration.cfg +++ b/.kokoro/nightly/integration.cfg @@ -28,10 +28,10 @@ env_vars: { env_vars: { key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "secret_manager/java-it-service-account" + value: "secret_manager/java-docs-samples-service-account" } env_vars: { key: "SECRET_MANAGER_KEYS" - value: "java-it-service-account" + value: "java-docs-samples-service-account" } diff --git a/.kokoro/presubmit/graalvm-native-17.cfg b/.kokoro/presubmit/graalvm-native-17.cfg new file mode 100644 index 000000000..a3f7fb9d4 --- /dev/null +++ b/.kokoro/presubmit/graalvm-native-17.cfg @@ -0,0 +1,33 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/graalvm17" +} + +env_vars: { + key: "JOB_TYPE" + value: "graalvm17" +} + +# TODO: remove this after we've migrated all tests and scripts +env_vars: { + key: "GCLOUD_PROJECT" + value: "gcloud-devel" +} + +env_vars: { + key: "GOOGLE_CLOUD_PROJECT" + value: "gcloud-devel" +} + +env_vars: { + key: "GOOGLE_APPLICATION_CREDENTIALS" + value: "secret_manager/java-it-service-account" +} + +env_vars: { + key: "SECRET_MANAGER_KEYS" + value: "java-it-service-account" +} \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index ecf7d331e..9119ebe81 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## [2.1.0](https://github.com/googleapis/java-vision/compare/v2.0.29...v2.1.0) (2022-05-19) + + +### Features + +* add build scripts for native image testing in Java 17 ([#1440](https://github.com/googleapis/java-vision/issues/1440)) ([#909](https://github.com/googleapis/java-vision/issues/909)) ([0edc753](https://github.com/googleapis/java-vision/commit/0edc753f7bb7ace905faa8bb7409cbb902d33b76)) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-core to v2.7.1 ([#906](https://github.com/googleapis/java-vision/issues/906)) ([0f0912a](https://github.com/googleapis/java-vision/commit/0f0912a01fbf91ff8365e5a90af5833f478734e3)) +* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.12.0 ([#907](https://github.com/googleapis/java-vision/issues/907)) ([fe00f5e](https://github.com/googleapis/java-vision/commit/fe00f5e0220350c4881ca4451821f13b1b8a8d29)) +* update spring.version to v2.7.0 ([#908](https://github.com/googleapis/java-vision/issues/908)) ([9dfefec](https://github.com/googleapis/java-vision/commit/9dfefecb433760ba508303d56659a676dc1f44a2)) + ### [2.0.29](https://github.com/googleapis/java-vision/compare/v2.0.28...v2.0.29) (2022-05-05) diff --git a/README.md b/README.md index fd7582a32..4cee31cb7 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file com.google.cloud libraries-bom - 25.2.0 + 25.3.0 pom import @@ -42,7 +42,7 @@ If you are using Maven without BOM, add this to your dependencies: com.google.cloud google-cloud-vision - 2.0.28 + 2.0.29 ``` @@ -50,20 +50,20 @@ If you are using Maven without BOM, add this to your dependencies: If you are using Gradle 5.x or later, add this to your dependencies ```Groovy -implementation platform('com.google.cloud:libraries-bom:25.2.0') +implementation platform('com.google.cloud:libraries-bom:25.3.0') implementation 'com.google.cloud:google-cloud-vision' ``` If you are using Gradle without BOM, add this to your dependencies ```Groovy -implementation 'com.google.cloud:google-cloud-vision:2.0.28' +implementation 'com.google.cloud:google-cloud-vision:2.0.29' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-vision" % "2.0.28" +libraryDependencies += "com.google.cloud" % "google-cloud-vision" % "2.0.29" ``` ## Authentication diff --git a/google-cloud-vision-bom/pom.xml b/google-cloud-vision-bom/pom.xml index 06cf5aaa9..ed9da193a 100644 --- a/google-cloud-vision-bom/pom.xml +++ b/google-cloud-vision-bom/pom.xml @@ -3,12 +3,12 @@ 4.0.0 com.google.cloud google-cloud-vision-bom - 2.0.29 + 2.1.0 pom com.google.cloud google-cloud-shared-config - 1.3.3 + 1.4.0 Google Cloud Vision BOM @@ -53,57 +53,57 @@ com.google.cloud google-cloud-vision - 2.0.29 + 2.1.0 com.google.api.grpc grpc-google-cloud-vision-v1p3beta1 - 0.87.29 + 0.88.0 com.google.api.grpc grpc-google-cloud-vision-v1p1beta1 - 0.87.29 + 0.88.0 com.google.api.grpc grpc-google-cloud-vision-v1p4beta1 - 0.87.29 + 0.88.0 com.google.api.grpc grpc-google-cloud-vision-v1p2beta1 - 2.0.29 + 2.1.0 com.google.api.grpc grpc-google-cloud-vision-v1 - 2.0.29 + 2.1.0 com.google.api.grpc proto-google-cloud-vision-v1p4beta1 - 0.87.29 + 0.88.0 com.google.api.grpc proto-google-cloud-vision-v1 - 2.0.29 + 2.1.0 com.google.api.grpc proto-google-cloud-vision-v1p1beta1 - 0.87.29 + 0.88.0 com.google.api.grpc proto-google-cloud-vision-v1p3beta1 - 0.87.29 + 0.88.0 com.google.api.grpc proto-google-cloud-vision-v1p2beta1 - 2.0.29 + 2.1.0 diff --git a/google-cloud-vision/pom.xml b/google-cloud-vision/pom.xml index c206e4b99..fa13b3aa9 100644 --- a/google-cloud-vision/pom.xml +++ b/google-cloud-vision/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-vision - 2.0.29 + 2.1.0 jar Google Cloud Vision https://github.com/googleapis/java-vision @@ -11,7 +11,7 @@ com.google.cloud google-cloud-vision-parent - 2.0.29 + 2.1.0 google-cloud-vision diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/ImageAnnotatorClient.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/ImageAnnotatorClient.java index b8055a31d..f87d11fae 100644 --- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/ImageAnnotatorClient.java +++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/ImageAnnotatorClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2021 Google LLC + * Copyright 2022 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -40,6 +40,8 @@ * 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.
  * try (ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create()) {
  *   List requests = new ArrayList<>();
  *   BatchAnnotateImagesResponse response = imageAnnotatorClient.batchAnnotateImages(requests);
@@ -75,6 +77,8 @@
  * 

To customize credentials: * *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * ImageAnnotatorSettings imageAnnotatorSettings =
  *     ImageAnnotatorSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -85,6 +89,8 @@
  * 

To customize the endpoint: * *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * ImageAnnotatorSettings imageAnnotatorSettings =
  *     ImageAnnotatorSettings.newBuilder().setEndpoint(myEndpoint).build();
  * ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create(imageAnnotatorSettings);
@@ -163,6 +169,8 @@ public final OperationsClient getOperationsClient() {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create()) {
    *   List requests = new ArrayList<>();
    *   BatchAnnotateImagesResponse response = imageAnnotatorClient.batchAnnotateImages(requests);
@@ -186,6 +194,8 @@ public final BatchAnnotateImagesResponse batchAnnotateImages(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create()) {
    *   BatchAnnotateImagesRequest request =
    *       BatchAnnotateImagesRequest.newBuilder()
@@ -210,6 +220,8 @@ public final BatchAnnotateImagesResponse batchAnnotateImages(BatchAnnotateImages
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create()) {
    *   BatchAnnotateImagesRequest request =
    *       BatchAnnotateImagesRequest.newBuilder()
@@ -240,6 +252,8 @@ public final BatchAnnotateImagesResponse batchAnnotateImages(BatchAnnotateImages
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create()) {
    *   List requests = new ArrayList<>();
    *   BatchAnnotateFilesResponse response = imageAnnotatorClient.batchAnnotateFiles(requests);
@@ -268,6 +282,8 @@ public final BatchAnnotateFilesResponse batchAnnotateFiles(ListSample code:
    *
    * 
{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create()) {
    *   BatchAnnotateFilesRequest request =
    *       BatchAnnotateFilesRequest.newBuilder()
@@ -297,6 +313,8 @@ public final BatchAnnotateFilesResponse batchAnnotateFiles(BatchAnnotateFilesReq
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create()) {
    *   BatchAnnotateFilesRequest request =
    *       BatchAnnotateFilesRequest.newBuilder()
@@ -329,6 +347,8 @@ public final BatchAnnotateFilesResponse batchAnnotateFiles(BatchAnnotateFilesReq
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create()) {
    *   List requests = new ArrayList<>();
    *   OutputConfig outputConfig = OutputConfig.newBuilder().build();
@@ -366,6 +386,8 @@ public final BatchAnnotateFilesResponse batchAnnotateFiles(BatchAnnotateFilesReq
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create()) {
    *   AsyncBatchAnnotateImagesRequest request =
    *       AsyncBatchAnnotateImagesRequest.newBuilder()
@@ -400,6 +422,8 @@ public final BatchAnnotateFilesResponse batchAnnotateFiles(BatchAnnotateFilesReq
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create()) {
    *   AsyncBatchAnnotateImagesRequest request =
    *       AsyncBatchAnnotateImagesRequest.newBuilder()
@@ -434,6 +458,8 @@ public final BatchAnnotateFilesResponse batchAnnotateFiles(BatchAnnotateFilesReq
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create()) {
    *   AsyncBatchAnnotateImagesRequest request =
    *       AsyncBatchAnnotateImagesRequest.newBuilder()
@@ -464,6 +490,8 @@ public final BatchAnnotateFilesResponse batchAnnotateFiles(BatchAnnotateFilesReq
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create()) {
    *   List requests = new ArrayList<>();
    *   AsyncBatchAnnotateFilesResponse response =
@@ -492,6 +520,8 @@ public final BatchAnnotateFilesResponse batchAnnotateFiles(BatchAnnotateFilesReq
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create()) {
    *   AsyncBatchAnnotateFilesRequest request =
    *       AsyncBatchAnnotateFilesRequest.newBuilder()
@@ -522,6 +552,8 @@ public final BatchAnnotateFilesResponse batchAnnotateFiles(BatchAnnotateFilesReq
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create()) {
    *   AsyncBatchAnnotateFilesRequest request =
    *       AsyncBatchAnnotateFilesRequest.newBuilder()
@@ -552,6 +584,8 @@ public final BatchAnnotateFilesResponse batchAnnotateFiles(BatchAnnotateFilesReq
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create()) {
    *   AsyncBatchAnnotateFilesRequest request =
    *       AsyncBatchAnnotateFilesRequest.newBuilder()
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/ImageAnnotatorSettings.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/ImageAnnotatorSettings.java
index 17160ba9d..145c8b864 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/ImageAnnotatorSettings.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/ImageAnnotatorSettings.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -51,6 +51,8 @@
  * 

For example, to set the total timeout of batchAnnotateImages to 30 seconds: * *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * ImageAnnotatorSettings.Builder imageAnnotatorSettingsBuilder =
  *     ImageAnnotatorSettings.newBuilder();
  * imageAnnotatorSettingsBuilder
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/ProductSearchClient.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/ProductSearchClient.java
index 5ecec5677..5d709a259 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/ProductSearchClient.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/ProductSearchClient.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -62,6 +62,8 @@
  * 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.
  * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
  *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
  *   ProductSet productSet = ProductSet.newBuilder().build();
@@ -99,6 +101,8 @@
  * 

To customize credentials: * *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * ProductSearchSettings productSearchSettings =
  *     ProductSearchSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -109,6 +113,8 @@
  * 

To customize the endpoint: * *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * ProductSearchSettings productSearchSettings =
  *     ProductSearchSettings.newBuilder().setEndpoint(myEndpoint).build();
  * ProductSearchClient productSearchClient = ProductSearchClient.create(productSearchSettings);
@@ -388,6 +394,8 @@ public final OperationsClient getOperationsClient() {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   ProductSet productSet = ProductSet.newBuilder().build();
@@ -429,6 +437,8 @@ public final ProductSet createProductSet(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   ProductSet productSet = ProductSet.newBuilder().build();
@@ -470,6 +480,8 @@ public final ProductSet createProductSet(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   CreateProductSetRequest request =
    *       CreateProductSetRequest.newBuilder()
@@ -501,6 +513,8 @@ public final ProductSet createProductSet(CreateProductSetRequest request) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   CreateProductSetRequest request =
    *       CreateProductSetRequest.newBuilder()
@@ -532,6 +546,8 @@ public final UnaryCallable createProductSet
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (ProductSet element : productSearchClient.listProductSets(parent).iterateAll()) {
@@ -565,6 +581,8 @@ public final ListProductSetsPagedResponse listProductSets(LocationName parent) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   for (ProductSet element : productSearchClient.listProductSets(parent).iterateAll()) {
@@ -595,6 +613,8 @@ public final ListProductSetsPagedResponse listProductSets(String parent) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ListProductSetsRequest request =
    *       ListProductSetsRequest.newBuilder()
@@ -628,6 +648,8 @@ public final ListProductSetsPagedResponse listProductSets(ListProductSetsRequest
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ListProductSetsRequest request =
    *       ListProductSetsRequest.newBuilder()
@@ -662,6 +684,8 @@ public final ListProductSetsPagedResponse listProductSets(ListProductSetsRequest
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ListProductSetsRequest request =
    *       ListProductSetsRequest.newBuilder()
@@ -703,6 +727,8 @@ public final ListProductSetsPagedResponse listProductSets(ListProductSetsRequest
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ProductSetName name = ProductSetName.of("[PROJECT]", "[LOCATION]", "[PRODUCT_SET]");
    *   ProductSet response = productSearchClient.getProductSet(name);
@@ -732,6 +758,8 @@ public final ProductSet getProductSet(ProductSetName name) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   String name = ProductSetName.of("[PROJECT]", "[LOCATION]", "[PRODUCT_SET]").toString();
    *   ProductSet response = productSearchClient.getProductSet(name);
@@ -760,6 +788,8 @@ public final ProductSet getProductSet(String name) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   GetProductSetRequest request =
    *       GetProductSetRequest.newBuilder()
@@ -789,6 +819,8 @@ public final ProductSet getProductSet(GetProductSetRequest request) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   GetProductSetRequest request =
    *       GetProductSetRequest.newBuilder()
@@ -820,6 +852,8 @@ public final UnaryCallable getProductSetCallab
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ProductSet productSet = ProductSet.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -857,6 +891,8 @@ public final ProductSet updateProductSet(ProductSet productSet, FieldMask update
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   UpdateProductSetRequest request =
    *       UpdateProductSetRequest.newBuilder()
@@ -889,6 +925,8 @@ public final ProductSet updateProductSet(UpdateProductSetRequest request) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   UpdateProductSetRequest request =
    *       UpdateProductSetRequest.newBuilder()
@@ -916,6 +954,8 @@ public final UnaryCallable updateProductSet
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ProductSetName name = ProductSetName.of("[PROJECT]", "[LOCATION]", "[PRODUCT_SET]");
    *   productSearchClient.deleteProductSet(name);
@@ -942,6 +982,8 @@ public final void deleteProductSet(ProductSetName name) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   String name = ProductSetName.of("[PROJECT]", "[LOCATION]", "[PRODUCT_SET]").toString();
    *   productSearchClient.deleteProductSet(name);
@@ -967,6 +1009,8 @@ public final void deleteProductSet(String name) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   DeleteProductSetRequest request =
    *       DeleteProductSetRequest.newBuilder()
@@ -993,6 +1037,8 @@ public final void deleteProductSet(DeleteProductSetRequest request) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   DeleteProductSetRequest request =
    *       DeleteProductSetRequest.newBuilder()
@@ -1023,6 +1069,8 @@ public final UnaryCallable deleteProductSetCalla
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   Product product = Product.newBuilder().build();
@@ -1065,6 +1113,8 @@ public final Product createProduct(LocationName parent, Product product, String
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   Product product = Product.newBuilder().build();
@@ -1107,6 +1157,8 @@ public final Product createProduct(String parent, Product product, String produc
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   CreateProductRequest request =
    *       CreateProductRequest.newBuilder()
@@ -1140,6 +1192,8 @@ public final Product createProduct(CreateProductRequest request) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   CreateProductRequest request =
    *       CreateProductRequest.newBuilder()
@@ -1170,6 +1224,8 @@ public final UnaryCallable createProductCallable(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (Product element : productSearchClient.listProducts(parent).iterateAll()) {
@@ -1203,6 +1259,8 @@ public final ListProductsPagedResponse listProducts(LocationName parent) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   for (Product element : productSearchClient.listProducts(parent).iterateAll()) {
@@ -1233,6 +1291,8 @@ public final ListProductsPagedResponse listProducts(String parent) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ListProductsRequest request =
    *       ListProductsRequest.newBuilder()
@@ -1266,6 +1326,8 @@ public final ListProductsPagedResponse listProducts(ListProductsRequest request)
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ListProductsRequest request =
    *       ListProductsRequest.newBuilder()
@@ -1300,6 +1362,8 @@ public final ListProductsPagedResponse listProducts(ListProductsRequest request)
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ListProductsRequest request =
    *       ListProductsRequest.newBuilder()
@@ -1339,6 +1403,8 @@ public final UnaryCallable listProduc
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ProductName name = ProductName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]");
    *   Product response = productSearchClient.getProduct(name);
@@ -1368,6 +1434,8 @@ public final Product getProduct(ProductName name) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   String name = ProductName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]").toString();
    *   Product response = productSearchClient.getProduct(name);
@@ -1396,6 +1464,8 @@ public final Product getProduct(String name) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   GetProductRequest request =
    *       GetProductRequest.newBuilder()
@@ -1425,6 +1495,8 @@ public final Product getProduct(GetProductRequest request) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   GetProductRequest request =
    *       GetProductRequest.newBuilder()
@@ -1462,6 +1534,8 @@ public final UnaryCallable getProductCallable() {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   Product product = Product.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -1504,6 +1578,8 @@ public final Product updateProduct(Product product, FieldMask updateMask) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   UpdateProductRequest request =
    *       UpdateProductRequest.newBuilder()
@@ -1543,6 +1619,8 @@ public final Product updateProduct(UpdateProductRequest request) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   UpdateProductRequest request =
    *       UpdateProductRequest.newBuilder()
@@ -1570,6 +1648,8 @@ public final UnaryCallable updateProductCallable(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ProductName name = ProductName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]");
    *   productSearchClient.deleteProduct(name);
@@ -1597,6 +1677,8 @@ public final void deleteProduct(ProductName name) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   String name = ProductName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]").toString();
    *   productSearchClient.deleteProduct(name);
@@ -1623,6 +1705,8 @@ public final void deleteProduct(String name) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   DeleteProductRequest request =
    *       DeleteProductRequest.newBuilder()
@@ -1650,6 +1734,8 @@ public final void deleteProduct(DeleteProductRequest request) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   DeleteProductRequest request =
    *       DeleteProductRequest.newBuilder()
@@ -1690,6 +1776,8 @@ public final UnaryCallable deleteProductCallable()
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ProductName parent = ProductName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]");
    *   ReferenceImage referenceImage = ReferenceImage.newBuilder().build();
@@ -1745,6 +1833,8 @@ public final ReferenceImage createReferenceImage(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   String parent = ProductName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]").toString();
    *   ReferenceImage referenceImage = ReferenceImage.newBuilder().build();
@@ -1800,6 +1890,8 @@ public final ReferenceImage createReferenceImage(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   CreateReferenceImageRequest request =
    *       CreateReferenceImageRequest.newBuilder()
@@ -1843,6 +1935,8 @@ public final ReferenceImage createReferenceImage(CreateReferenceImageRequest req
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   CreateReferenceImageRequest request =
    *       CreateReferenceImageRequest.newBuilder()
@@ -1874,6 +1968,8 @@ public final ReferenceImage createReferenceImage(CreateReferenceImageRequest req
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ReferenceImageName name =
    *       ReferenceImageName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]", "[REFERENCE_IMAGE]");
@@ -1906,6 +2002,8 @@ public final void deleteReferenceImage(ReferenceImageName name) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   String name =
    *       ReferenceImageName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]", "[REFERENCE_IMAGE]")
@@ -1937,6 +2035,8 @@ public final void deleteReferenceImage(String name) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   DeleteReferenceImageRequest request =
    *       DeleteReferenceImageRequest.newBuilder()
@@ -1967,6 +2067,8 @@ public final void deleteReferenceImage(DeleteReferenceImageRequest request) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   DeleteReferenceImageRequest request =
    *       DeleteReferenceImageRequest.newBuilder()
@@ -1999,6 +2101,8 @@ public final UnaryCallable deleteReferenceIm
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ProductName parent = ProductName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]");
    *   for (ReferenceImage element : productSearchClient.listReferenceImages(parent).iterateAll()) {
@@ -2033,6 +2137,8 @@ public final ListReferenceImagesPagedResponse listReferenceImages(ProductName pa
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   String parent = ProductName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]").toString();
    *   for (ReferenceImage element : productSearchClient.listReferenceImages(parent).iterateAll()) {
@@ -2065,6 +2171,8 @@ public final ListReferenceImagesPagedResponse listReferenceImages(String parent)
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ListReferenceImagesRequest request =
    *       ListReferenceImagesRequest.newBuilder()
@@ -2100,6 +2208,8 @@ public final ListReferenceImagesPagedResponse listReferenceImages(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ListReferenceImagesRequest request =
    *       ListReferenceImagesRequest.newBuilder()
@@ -2135,6 +2245,8 @@ public final ListReferenceImagesPagedResponse listReferenceImages(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ListReferenceImagesRequest request =
    *       ListReferenceImagesRequest.newBuilder()
@@ -2176,6 +2288,8 @@ public final ListReferenceImagesPagedResponse listReferenceImages(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ReferenceImageName name =
    *       ReferenceImageName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]", "[REFERENCE_IMAGE]");
@@ -2209,6 +2323,8 @@ public final ReferenceImage getReferenceImage(ReferenceImageName name) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   String name =
    *       ReferenceImageName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]", "[REFERENCE_IMAGE]")
@@ -2240,6 +2356,8 @@ public final ReferenceImage getReferenceImage(String name) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   GetReferenceImageRequest request =
    *       GetReferenceImageRequest.newBuilder()
@@ -2271,6 +2389,8 @@ public final ReferenceImage getReferenceImage(GetReferenceImageRequest request)
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   GetReferenceImageRequest request =
    *       GetReferenceImageRequest.newBuilder()
@@ -2305,6 +2425,8 @@ public final UnaryCallable getReferenc
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ProductSetName name = ProductSetName.of("[PROJECT]", "[LOCATION]", "[PRODUCT_SET]");
    *   ProductName product = ProductName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]");
@@ -2343,6 +2465,8 @@ public final void addProductToProductSet(ProductSetName name, ProductName produc
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ProductSetName name = ProductSetName.of("[PROJECT]", "[LOCATION]", "[PRODUCT_SET]");
    *   String product = ProductName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]").toString();
@@ -2381,6 +2505,8 @@ public final void addProductToProductSet(ProductSetName name, String product) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   String name = ProductSetName.of("[PROJECT]", "[LOCATION]", "[PRODUCT_SET]").toString();
    *   ProductName product = ProductName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]");
@@ -2419,6 +2545,8 @@ public final void addProductToProductSet(String name, ProductName product) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   String name = ProductSetName.of("[PROJECT]", "[LOCATION]", "[PRODUCT_SET]").toString();
    *   String product = ProductName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]").toString();
@@ -2454,6 +2582,8 @@ public final void addProductToProductSet(String name, String product) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   AddProductToProductSetRequest request =
    *       AddProductToProductSetRequest.newBuilder()
@@ -2487,6 +2617,8 @@ public final void addProductToProductSet(AddProductToProductSetRequest request)
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   AddProductToProductSetRequest request =
    *       AddProductToProductSetRequest.newBuilder()
@@ -2512,6 +2644,8 @@ public final void addProductToProductSet(AddProductToProductSetRequest request)
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ProductSetName name = ProductSetName.of("[PROJECT]", "[LOCATION]", "[PRODUCT_SET]");
    *   ProductName product = ProductName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]");
@@ -2541,6 +2675,8 @@ public final void removeProductFromProductSet(ProductSetName name, ProductName p
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ProductSetName name = ProductSetName.of("[PROJECT]", "[LOCATION]", "[PRODUCT_SET]");
    *   String product = ProductName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]").toString();
@@ -2570,6 +2706,8 @@ public final void removeProductFromProductSet(ProductSetName name, String produc
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   String name = ProductSetName.of("[PROJECT]", "[LOCATION]", "[PRODUCT_SET]").toString();
    *   ProductName product = ProductName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]");
@@ -2599,6 +2737,8 @@ public final void removeProductFromProductSet(String name, ProductName product)
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   String name = ProductSetName.of("[PROJECT]", "[LOCATION]", "[PRODUCT_SET]").toString();
    *   String product = ProductName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]").toString();
@@ -2625,6 +2765,8 @@ public final void removeProductFromProductSet(String name, String product) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   RemoveProductFromProductSetRequest request =
    *       RemoveProductFromProductSetRequest.newBuilder()
@@ -2649,6 +2791,8 @@ public final void removeProductFromProductSet(RemoveProductFromProductSetRequest
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   RemoveProductFromProductSetRequest request =
    *       RemoveProductFromProductSetRequest.newBuilder()
@@ -2681,6 +2825,8 @@ public final void removeProductFromProductSet(RemoveProductFromProductSetRequest
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ProductSetName name = ProductSetName.of("[PROJECT]", "[LOCATION]", "[PRODUCT_SET]");
    *   for (Product element : productSearchClient.listProductsInProductSet(name).iterateAll()) {
@@ -2715,6 +2861,8 @@ public final ListProductsInProductSetPagedResponse listProductsInProductSet(Prod
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   String name = ProductSetName.of("[PROJECT]", "[LOCATION]", "[PRODUCT_SET]").toString();
    *   for (Product element : productSearchClient.listProductsInProductSet(name).iterateAll()) {
@@ -2747,6 +2895,8 @@ public final ListProductsInProductSetPagedResponse listProductsInProductSet(Stri
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ListProductsInProductSetRequest request =
    *       ListProductsInProductSetRequest.newBuilder()
@@ -2782,6 +2932,8 @@ public final ListProductsInProductSetPagedResponse listProductsInProductSet(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ListProductsInProductSetRequest request =
    *       ListProductsInProductSetRequest.newBuilder()
@@ -2817,6 +2969,8 @@ public final ListProductsInProductSetPagedResponse listProductsInProductSet(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ListProductsInProductSetRequest request =
    *       ListProductsInProductSetRequest.newBuilder()
@@ -2862,6 +3016,8 @@ public final ListProductsInProductSetPagedResponse listProductsInProductSet(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   ImportProductSetsInputConfig inputConfig = ImportProductSetsInputConfig.newBuilder().build();
@@ -2902,6 +3058,8 @@ public final ListProductsInProductSetPagedResponse listProductsInProductSet(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   ImportProductSetsInputConfig inputConfig = ImportProductSetsInputConfig.newBuilder().build();
@@ -2939,6 +3097,8 @@ public final ListProductsInProductSetPagedResponse listProductsInProductSet(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ImportProductSetsRequest request =
    *       ImportProductSetsRequest.newBuilder()
@@ -2975,6 +3135,8 @@ public final ListProductsInProductSetPagedResponse listProductsInProductSet(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ImportProductSetsRequest request =
    *       ImportProductSetsRequest.newBuilder()
@@ -3011,6 +3173,8 @@ public final ListProductsInProductSetPagedResponse listProductsInProductSet(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ImportProductSetsRequest request =
    *       ImportProductSetsRequest.newBuilder()
@@ -3056,6 +3220,8 @@ public final UnaryCallable importProductSet
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   productSearchClient.purgeProductsAsync(parent).get();
@@ -3103,6 +3269,8 @@ public final OperationFuture purgeProductsAsync(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   productSearchClient.purgeProductsAsync(parent).get();
@@ -3146,6 +3314,8 @@ public final OperationFuture purgeProductsAsync(S
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   PurgeProductsRequest request =
    *       PurgeProductsRequest.newBuilder()
@@ -3192,6 +3362,8 @@ public final OperationFuture purgeProductsAsync(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   PurgeProductsRequest request =
    *       PurgeProductsRequest.newBuilder()
@@ -3238,6 +3410,8 @@ public final OperationFuture purgeProductsAsync(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   PurgeProductsRequest request =
    *       PurgeProductsRequest.newBuilder()
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/ProductSearchSettings.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/ProductSearchSettings.java
index e6dc55fe6..4a84703f8 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/ProductSearchSettings.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/ProductSearchSettings.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -58,6 +58,8 @@
  * 

For example, to set the total timeout of createProductSet to 30 seconds: * *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * ProductSearchSettings.Builder productSearchSettingsBuilder = ProductSearchSettings.newBuilder();
  * productSearchSettingsBuilder
  *     .createProductSetSettings()
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/package-info.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/package-info.java
index d49f12be9..d747f3380 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/package-info.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/package-info.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -26,6 +26,8 @@
  * 

Sample for ImageAnnotatorClient: * *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * try (ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create()) {
  *   List requests = new ArrayList<>();
  *   BatchAnnotateImagesResponse response = imageAnnotatorClient.batchAnnotateImages(requests);
@@ -53,6 +55,8 @@
  * 

Sample for ProductSearchClient: * *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
  *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
  *   ProductSet productSet = ProductSet.newBuilder().build();
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/GrpcImageAnnotatorCallableFactory.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/GrpcImageAnnotatorCallableFactory.java
index dfaa56680..48312a70e 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/GrpcImageAnnotatorCallableFactory.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/GrpcImageAnnotatorCallableFactory.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/GrpcImageAnnotatorStub.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/GrpcImageAnnotatorStub.java
index 6eff5ee22..69708118b 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/GrpcImageAnnotatorStub.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/GrpcImageAnnotatorStub.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/GrpcProductSearchCallableFactory.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/GrpcProductSearchCallableFactory.java
index 7d9bfa3a1..85024d906 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/GrpcProductSearchCallableFactory.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/GrpcProductSearchCallableFactory.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/GrpcProductSearchStub.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/GrpcProductSearchStub.java
index 5eaac41fc..9305da9b5 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/GrpcProductSearchStub.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/GrpcProductSearchStub.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/ImageAnnotatorStub.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/ImageAnnotatorStub.java
index 45a86c90d..3dd0b2552 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/ImageAnnotatorStub.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/ImageAnnotatorStub.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/ImageAnnotatorStubSettings.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/ImageAnnotatorStubSettings.java
index a1a0c7bd3..31e695739 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/ImageAnnotatorStubSettings.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/ImageAnnotatorStubSettings.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -72,6 +72,8 @@
  * 

For example, to set the total timeout of batchAnnotateImages to 30 seconds: * *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * ImageAnnotatorStubSettings.Builder imageAnnotatorSettingsBuilder =
  *     ImageAnnotatorStubSettings.newBuilder();
  * imageAnnotatorSettingsBuilder
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/ProductSearchStub.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/ProductSearchStub.java
index 92eda19e3..0215af469 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/ProductSearchStub.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/ProductSearchStub.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/ProductSearchStubSettings.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/ProductSearchStubSettings.java
index 66ea508b5..e501b7526 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/ProductSearchStubSettings.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/ProductSearchStubSettings.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -104,6 +104,8 @@
  * 

For example, to set the total timeout of createProductSet to 30 seconds: * *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * ProductSearchStubSettings.Builder productSearchSettingsBuilder =
  *     ProductSearchStubSettings.newBuilder();
  * productSearchSettingsBuilder
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/ImageAnnotatorClient.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/ImageAnnotatorClient.java
index d52c2dc09..e345de6b7 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/ImageAnnotatorClient.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/ImageAnnotatorClient.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -36,6 +36,8 @@
  * 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.
  * try (ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create()) {
  *   List requests = new ArrayList<>();
  *   BatchAnnotateImagesResponse response = imageAnnotatorClient.batchAnnotateImages(requests);
@@ -71,6 +73,8 @@
  * 

To customize credentials: * *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * ImageAnnotatorSettings imageAnnotatorSettings =
  *     ImageAnnotatorSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -81,6 +85,8 @@
  * 

To customize the endpoint: * *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * ImageAnnotatorSettings imageAnnotatorSettings =
  *     ImageAnnotatorSettings.newBuilder().setEndpoint(myEndpoint).build();
  * ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create(imageAnnotatorSettings);
@@ -149,6 +155,8 @@ public ImageAnnotatorStub getStub() {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create()) {
    *   List requests = new ArrayList<>();
    *   BatchAnnotateImagesResponse response = imageAnnotatorClient.batchAnnotateImages(requests);
@@ -172,6 +180,8 @@ public final BatchAnnotateImagesResponse batchAnnotateImages(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create()) {
    *   BatchAnnotateImagesRequest request =
    *       BatchAnnotateImagesRequest.newBuilder()
@@ -195,6 +205,8 @@ public final BatchAnnotateImagesResponse batchAnnotateImages(BatchAnnotateImages
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create()) {
    *   BatchAnnotateImagesRequest request =
    *       BatchAnnotateImagesRequest.newBuilder()
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/ImageAnnotatorSettings.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/ImageAnnotatorSettings.java
index 167e721b9..b5a7050c0 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/ImageAnnotatorSettings.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/ImageAnnotatorSettings.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -49,6 +49,8 @@
  * 

For example, to set the total timeout of batchAnnotateImages to 30 seconds: * *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * ImageAnnotatorSettings.Builder imageAnnotatorSettingsBuilder =
  *     ImageAnnotatorSettings.newBuilder();
  * imageAnnotatorSettingsBuilder
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/package-info.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/package-info.java
index 0244fa375..b77de0aa9 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/package-info.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/package-info.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -26,6 +26,8 @@
  * 

Sample for ImageAnnotatorClient: * *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * try (ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create()) {
  *   List requests = new ArrayList<>();
  *   BatchAnnotateImagesResponse response = imageAnnotatorClient.batchAnnotateImages(requests);
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/stub/GrpcImageAnnotatorCallableFactory.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/stub/GrpcImageAnnotatorCallableFactory.java
index c2adc1ab9..c4c203ed5 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/stub/GrpcImageAnnotatorCallableFactory.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/stub/GrpcImageAnnotatorCallableFactory.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/stub/GrpcImageAnnotatorStub.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/stub/GrpcImageAnnotatorStub.java
index 251f45c95..439c6ccba 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/stub/GrpcImageAnnotatorStub.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/stub/GrpcImageAnnotatorStub.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/stub/ImageAnnotatorStub.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/stub/ImageAnnotatorStub.java
index d1fdb66a5..f7bffd2ca 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/stub/ImageAnnotatorStub.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/stub/ImageAnnotatorStub.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/stub/ImageAnnotatorStubSettings.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/stub/ImageAnnotatorStubSettings.java
index d7cba5845..6864f282a 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/stub/ImageAnnotatorStubSettings.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/stub/ImageAnnotatorStubSettings.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -60,6 +60,8 @@
  * 

For example, to set the total timeout of batchAnnotateImages to 30 seconds: * *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * ImageAnnotatorStubSettings.Builder imageAnnotatorSettingsBuilder =
  *     ImageAnnotatorStubSettings.newBuilder();
  * imageAnnotatorSettingsBuilder
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/ImageAnnotatorClient.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/ImageAnnotatorClient.java
index ae47b6230..88e2c161f 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/ImageAnnotatorClient.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/ImageAnnotatorClient.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -40,6 +40,8 @@
  * 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.
  * try (ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create()) {
  *   List requests = new ArrayList<>();
  *   BatchAnnotateImagesResponse response = imageAnnotatorClient.batchAnnotateImages(requests);
@@ -75,6 +77,8 @@
  * 

To customize credentials: * *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * ImageAnnotatorSettings imageAnnotatorSettings =
  *     ImageAnnotatorSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -85,6 +89,8 @@
  * 

To customize the endpoint: * *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * ImageAnnotatorSettings imageAnnotatorSettings =
  *     ImageAnnotatorSettings.newBuilder().setEndpoint(myEndpoint).build();
  * ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create(imageAnnotatorSettings);
@@ -164,6 +170,8 @@ public final OperationsClient getOperationsClient() {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create()) {
    *   List requests = new ArrayList<>();
    *   BatchAnnotateImagesResponse response = imageAnnotatorClient.batchAnnotateImages(requests);
@@ -187,6 +195,8 @@ public final BatchAnnotateImagesResponse batchAnnotateImages(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create()) {
    *   BatchAnnotateImagesRequest request =
    *       BatchAnnotateImagesRequest.newBuilder()
@@ -210,6 +220,8 @@ public final BatchAnnotateImagesResponse batchAnnotateImages(BatchAnnotateImages
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create()) {
    *   BatchAnnotateImagesRequest request =
    *       BatchAnnotateImagesRequest.newBuilder()
@@ -238,6 +250,8 @@ public final BatchAnnotateImagesResponse batchAnnotateImages(BatchAnnotateImages
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create()) {
    *   List requests = new ArrayList<>();
    *   AsyncBatchAnnotateFilesResponse response =
@@ -266,6 +280,8 @@ public final BatchAnnotateImagesResponse batchAnnotateImages(BatchAnnotateImages
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create()) {
    *   AsyncBatchAnnotateFilesRequest request =
    *       AsyncBatchAnnotateFilesRequest.newBuilder()
@@ -295,6 +311,8 @@ public final BatchAnnotateImagesResponse batchAnnotateImages(BatchAnnotateImages
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create()) {
    *   AsyncBatchAnnotateFilesRequest request =
    *       AsyncBatchAnnotateFilesRequest.newBuilder()
@@ -324,6 +342,8 @@ public final BatchAnnotateImagesResponse batchAnnotateImages(BatchAnnotateImages
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create()) {
    *   AsyncBatchAnnotateFilesRequest request =
    *       AsyncBatchAnnotateFilesRequest.newBuilder()
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/ImageAnnotatorSettings.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/ImageAnnotatorSettings.java
index 5a01dcec9..956be571d 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/ImageAnnotatorSettings.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/ImageAnnotatorSettings.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -51,6 +51,8 @@
  * 

For example, to set the total timeout of batchAnnotateImages to 30 seconds: * *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * ImageAnnotatorSettings.Builder imageAnnotatorSettingsBuilder =
  *     ImageAnnotatorSettings.newBuilder();
  * imageAnnotatorSettingsBuilder
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/package-info.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/package-info.java
index b411cf438..fdf5c84c7 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/package-info.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/package-info.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -26,6 +26,8 @@
  * 

Sample for ImageAnnotatorClient: * *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * try (ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create()) {
  *   List requests = new ArrayList<>();
  *   BatchAnnotateImagesResponse response = imageAnnotatorClient.batchAnnotateImages(requests);
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/stub/GrpcImageAnnotatorCallableFactory.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/stub/GrpcImageAnnotatorCallableFactory.java
index 3307d76e0..9a46dc820 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/stub/GrpcImageAnnotatorCallableFactory.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/stub/GrpcImageAnnotatorCallableFactory.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/stub/GrpcImageAnnotatorStub.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/stub/GrpcImageAnnotatorStub.java
index 7a2f78b4a..0efebe412 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/stub/GrpcImageAnnotatorStub.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/stub/GrpcImageAnnotatorStub.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/stub/ImageAnnotatorStub.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/stub/ImageAnnotatorStub.java
index 6430f4e1d..6fa20f7bc 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/stub/ImageAnnotatorStub.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/stub/ImageAnnotatorStub.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/stub/ImageAnnotatorStubSettings.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/stub/ImageAnnotatorStubSettings.java
index 0ed76ba4f..2232a90d5 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/stub/ImageAnnotatorStubSettings.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/stub/ImageAnnotatorStubSettings.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -68,6 +68,8 @@
  * 

For example, to set the total timeout of batchAnnotateImages to 30 seconds: * *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * ImageAnnotatorStubSettings.Builder imageAnnotatorSettingsBuilder =
  *     ImageAnnotatorStubSettings.newBuilder();
  * imageAnnotatorSettingsBuilder
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/ImageAnnotatorClient.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/ImageAnnotatorClient.java
index aabc4cf9b..f90b934b7 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/ImageAnnotatorClient.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/ImageAnnotatorClient.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -40,6 +40,8 @@
  * 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.
  * try (ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create()) {
  *   List requests = new ArrayList<>();
  *   BatchAnnotateImagesResponse response = imageAnnotatorClient.batchAnnotateImages(requests);
@@ -75,6 +77,8 @@
  * 

To customize credentials: * *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * ImageAnnotatorSettings imageAnnotatorSettings =
  *     ImageAnnotatorSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -85,6 +89,8 @@
  * 

To customize the endpoint: * *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * ImageAnnotatorSettings imageAnnotatorSettings =
  *     ImageAnnotatorSettings.newBuilder().setEndpoint(myEndpoint).build();
  * ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create(imageAnnotatorSettings);
@@ -164,6 +170,8 @@ public final OperationsClient getOperationsClient() {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create()) {
    *   List requests = new ArrayList<>();
    *   BatchAnnotateImagesResponse response = imageAnnotatorClient.batchAnnotateImages(requests);
@@ -187,6 +195,8 @@ public final BatchAnnotateImagesResponse batchAnnotateImages(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create()) {
    *   BatchAnnotateImagesRequest request =
    *       BatchAnnotateImagesRequest.newBuilder()
@@ -210,6 +220,8 @@ public final BatchAnnotateImagesResponse batchAnnotateImages(BatchAnnotateImages
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create()) {
    *   BatchAnnotateImagesRequest request =
    *       BatchAnnotateImagesRequest.newBuilder()
@@ -238,6 +250,8 @@ public final BatchAnnotateImagesResponse batchAnnotateImages(BatchAnnotateImages
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create()) {
    *   List requests = new ArrayList<>();
    *   AsyncBatchAnnotateFilesResponse response =
@@ -266,6 +280,8 @@ public final BatchAnnotateImagesResponse batchAnnotateImages(BatchAnnotateImages
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create()) {
    *   AsyncBatchAnnotateFilesRequest request =
    *       AsyncBatchAnnotateFilesRequest.newBuilder()
@@ -295,6 +311,8 @@ public final BatchAnnotateImagesResponse batchAnnotateImages(BatchAnnotateImages
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create()) {
    *   AsyncBatchAnnotateFilesRequest request =
    *       AsyncBatchAnnotateFilesRequest.newBuilder()
@@ -324,6 +342,8 @@ public final BatchAnnotateImagesResponse batchAnnotateImages(BatchAnnotateImages
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create()) {
    *   AsyncBatchAnnotateFilesRequest request =
    *       AsyncBatchAnnotateFilesRequest.newBuilder()
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/ImageAnnotatorSettings.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/ImageAnnotatorSettings.java
index 0d72ff62b..48256f899 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/ImageAnnotatorSettings.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/ImageAnnotatorSettings.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -51,6 +51,8 @@
  * 

For example, to set the total timeout of batchAnnotateImages to 30 seconds: * *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * ImageAnnotatorSettings.Builder imageAnnotatorSettingsBuilder =
  *     ImageAnnotatorSettings.newBuilder();
  * imageAnnotatorSettingsBuilder
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/ProductSearchClient.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/ProductSearchClient.java
index aa2c72308..b75c25911 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/ProductSearchClient.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/ProductSearchClient.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -61,6 +61,8 @@
  * 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.
  * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
  *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
  *   ProductSet productSet = ProductSet.newBuilder().build();
@@ -98,6 +100,8 @@
  * 

To customize credentials: * *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * ProductSearchSettings productSearchSettings =
  *     ProductSearchSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -108,6 +112,8 @@
  * 

To customize the endpoint: * *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * ProductSearchSettings productSearchSettings =
  *     ProductSearchSettings.newBuilder().setEndpoint(myEndpoint).build();
  * ProductSearchClient productSearchClient = ProductSearchClient.create(productSearchSettings);
@@ -193,6 +199,8 @@ public final OperationsClient getOperationsClient() {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   ProductSet productSet = ProductSet.newBuilder().build();
@@ -234,6 +242,8 @@ public final ProductSet createProductSet(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   ProductSet productSet = ProductSet.newBuilder().build();
@@ -275,6 +285,8 @@ public final ProductSet createProductSet(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   CreateProductSetRequest request =
    *       CreateProductSetRequest.newBuilder()
@@ -306,6 +318,8 @@ public final ProductSet createProductSet(CreateProductSetRequest request) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   CreateProductSetRequest request =
    *       CreateProductSetRequest.newBuilder()
@@ -337,6 +351,8 @@ public final UnaryCallable createProductSet
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (ProductSet element : productSearchClient.listProductSets(parent).iterateAll()) {
@@ -370,6 +386,8 @@ public final ListProductSetsPagedResponse listProductSets(LocationName parent) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   for (ProductSet element : productSearchClient.listProductSets(parent).iterateAll()) {
@@ -400,6 +418,8 @@ public final ListProductSetsPagedResponse listProductSets(String parent) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ListProductSetsRequest request =
    *       ListProductSetsRequest.newBuilder()
@@ -433,6 +453,8 @@ public final ListProductSetsPagedResponse listProductSets(ListProductSetsRequest
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ListProductSetsRequest request =
    *       ListProductSetsRequest.newBuilder()
@@ -467,6 +489,8 @@ public final ListProductSetsPagedResponse listProductSets(ListProductSetsRequest
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ListProductSetsRequest request =
    *       ListProductSetsRequest.newBuilder()
@@ -508,6 +532,8 @@ public final ListProductSetsPagedResponse listProductSets(ListProductSetsRequest
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ProductSetName name = ProductSetName.of("[PROJECT]", "[LOCATION]", "[PRODUCT_SET]");
    *   ProductSet response = productSearchClient.getProductSet(name);
@@ -537,6 +563,8 @@ public final ProductSet getProductSet(ProductSetName name) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   String name = ProductSetName.of("[PROJECT]", "[LOCATION]", "[PRODUCT_SET]").toString();
    *   ProductSet response = productSearchClient.getProductSet(name);
@@ -565,6 +593,8 @@ public final ProductSet getProductSet(String name) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   GetProductSetRequest request =
    *       GetProductSetRequest.newBuilder()
@@ -594,6 +624,8 @@ public final ProductSet getProductSet(GetProductSetRequest request) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   GetProductSetRequest request =
    *       GetProductSetRequest.newBuilder()
@@ -625,6 +657,8 @@ public final UnaryCallable getProductSetCallab
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ProductSet productSet = ProductSet.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -662,6 +696,8 @@ public final ProductSet updateProductSet(ProductSet productSet, FieldMask update
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   UpdateProductSetRequest request =
    *       UpdateProductSetRequest.newBuilder()
@@ -694,6 +730,8 @@ public final ProductSet updateProductSet(UpdateProductSetRequest request) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   UpdateProductSetRequest request =
    *       UpdateProductSetRequest.newBuilder()
@@ -727,6 +765,8 @@ public final UnaryCallable updateProductSet
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ProductSetName name = ProductSetName.of("[PROJECT]", "[LOCATION]", "[PRODUCT_SET]");
    *   productSearchClient.deleteProductSet(name);
@@ -759,6 +799,8 @@ public final void deleteProductSet(ProductSetName name) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   String name = ProductSetName.of("[PROJECT]", "[LOCATION]", "[PRODUCT_SET]").toString();
    *   productSearchClient.deleteProductSet(name);
@@ -790,6 +832,8 @@ public final void deleteProductSet(String name) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   DeleteProductSetRequest request =
    *       DeleteProductSetRequest.newBuilder()
@@ -822,6 +866,8 @@ public final void deleteProductSet(DeleteProductSetRequest request) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   DeleteProductSetRequest request =
    *       DeleteProductSetRequest.newBuilder()
@@ -852,6 +898,8 @@ public final UnaryCallable deleteProductSetCalla
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   Product product = Product.newBuilder().build();
@@ -894,6 +942,8 @@ public final Product createProduct(LocationName parent, Product product, String
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   Product product = Product.newBuilder().build();
@@ -936,6 +986,8 @@ public final Product createProduct(String parent, Product product, String produc
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   CreateProductRequest request =
    *       CreateProductRequest.newBuilder()
@@ -969,6 +1021,8 @@ public final Product createProduct(CreateProductRequest request) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   CreateProductRequest request =
    *       CreateProductRequest.newBuilder()
@@ -999,6 +1053,8 @@ public final UnaryCallable createProductCallable(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (Product element : productSearchClient.listProducts(parent).iterateAll()) {
@@ -1032,6 +1088,8 @@ public final ListProductsPagedResponse listProducts(LocationName parent) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   for (Product element : productSearchClient.listProducts(parent).iterateAll()) {
@@ -1062,6 +1120,8 @@ public final ListProductsPagedResponse listProducts(String parent) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ListProductsRequest request =
    *       ListProductsRequest.newBuilder()
@@ -1095,6 +1155,8 @@ public final ListProductsPagedResponse listProducts(ListProductsRequest request)
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ListProductsRequest request =
    *       ListProductsRequest.newBuilder()
@@ -1129,6 +1191,8 @@ public final ListProductsPagedResponse listProducts(ListProductsRequest request)
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ListProductsRequest request =
    *       ListProductsRequest.newBuilder()
@@ -1168,6 +1232,8 @@ public final UnaryCallable listProduc
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ProductName name = ProductName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]");
    *   Product response = productSearchClient.getProduct(name);
@@ -1197,6 +1263,8 @@ public final Product getProduct(ProductName name) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   String name = ProductName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]").toString();
    *   Product response = productSearchClient.getProduct(name);
@@ -1225,6 +1293,8 @@ public final Product getProduct(String name) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   GetProductRequest request =
    *       GetProductRequest.newBuilder()
@@ -1254,6 +1324,8 @@ public final Product getProduct(GetProductRequest request) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   GetProductRequest request =
    *       GetProductRequest.newBuilder()
@@ -1291,6 +1363,8 @@ public final UnaryCallable getProductCallable() {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   Product product = Product.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -1333,6 +1407,8 @@ public final Product updateProduct(Product product, FieldMask updateMask) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   UpdateProductRequest request =
    *       UpdateProductRequest.newBuilder()
@@ -1372,6 +1448,8 @@ public final Product updateProduct(UpdateProductRequest request) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   UpdateProductRequest request =
    *       UpdateProductRequest.newBuilder()
@@ -1405,6 +1483,8 @@ public final UnaryCallable updateProductCallable(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ProductName name = ProductName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]");
    *   productSearchClient.deleteProduct(name);
@@ -1438,6 +1518,8 @@ public final void deleteProduct(ProductName name) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   String name = ProductName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]").toString();
    *   productSearchClient.deleteProduct(name);
@@ -1470,6 +1552,8 @@ public final void deleteProduct(String name) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   DeleteProductRequest request =
    *       DeleteProductRequest.newBuilder()
@@ -1503,6 +1587,8 @@ public final void deleteProduct(DeleteProductRequest request) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   DeleteProductRequest request =
    *       DeleteProductRequest.newBuilder()
@@ -1543,6 +1629,8 @@ public final UnaryCallable deleteProductCallable()
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ProductName parent = ProductName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]");
    *   ReferenceImage referenceImage = ReferenceImage.newBuilder().build();
@@ -1598,6 +1686,8 @@ public final ReferenceImage createReferenceImage(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   String parent = ProductName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]").toString();
    *   ReferenceImage referenceImage = ReferenceImage.newBuilder().build();
@@ -1653,6 +1743,8 @@ public final ReferenceImage createReferenceImage(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   CreateReferenceImageRequest request =
    *       CreateReferenceImageRequest.newBuilder()
@@ -1696,6 +1788,8 @@ public final ReferenceImage createReferenceImage(CreateReferenceImageRequest req
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   CreateReferenceImageRequest request =
    *       CreateReferenceImageRequest.newBuilder()
@@ -1733,6 +1827,8 @@ public final ReferenceImage createReferenceImage(CreateReferenceImageRequest req
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ReferenceImageName name =
    *       ReferenceImageName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]", "[REFERENCE_IMAGE]");
@@ -1771,6 +1867,8 @@ public final void deleteReferenceImage(ReferenceImageName name) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   String name =
    *       ReferenceImageName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]", "[REFERENCE_IMAGE]")
@@ -1808,6 +1906,8 @@ public final void deleteReferenceImage(String name) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   DeleteReferenceImageRequest request =
    *       DeleteReferenceImageRequest.newBuilder()
@@ -1844,6 +1944,8 @@ public final void deleteReferenceImage(DeleteReferenceImageRequest request) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   DeleteReferenceImageRequest request =
    *       DeleteReferenceImageRequest.newBuilder()
@@ -1876,6 +1978,8 @@ public final UnaryCallable deleteReferenceIm
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ProductName parent = ProductName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]");
    *   for (ReferenceImage element : productSearchClient.listReferenceImages(parent).iterateAll()) {
@@ -1910,6 +2014,8 @@ public final ListReferenceImagesPagedResponse listReferenceImages(ProductName pa
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   String parent = ProductName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]").toString();
    *   for (ReferenceImage element : productSearchClient.listReferenceImages(parent).iterateAll()) {
@@ -1942,6 +2048,8 @@ public final ListReferenceImagesPagedResponse listReferenceImages(String parent)
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ListReferenceImagesRequest request =
    *       ListReferenceImagesRequest.newBuilder()
@@ -1977,6 +2085,8 @@ public final ListReferenceImagesPagedResponse listReferenceImages(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ListReferenceImagesRequest request =
    *       ListReferenceImagesRequest.newBuilder()
@@ -2012,6 +2122,8 @@ public final ListReferenceImagesPagedResponse listReferenceImages(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ListReferenceImagesRequest request =
    *       ListReferenceImagesRequest.newBuilder()
@@ -2053,6 +2165,8 @@ public final ListReferenceImagesPagedResponse listReferenceImages(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ReferenceImageName name =
    *       ReferenceImageName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]", "[REFERENCE_IMAGE]");
@@ -2086,6 +2200,8 @@ public final ReferenceImage getReferenceImage(ReferenceImageName name) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   String name =
    *       ReferenceImageName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]", "[REFERENCE_IMAGE]")
@@ -2117,6 +2233,8 @@ public final ReferenceImage getReferenceImage(String name) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   GetReferenceImageRequest request =
    *       GetReferenceImageRequest.newBuilder()
@@ -2148,6 +2266,8 @@ public final ReferenceImage getReferenceImage(GetReferenceImageRequest request)
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   GetReferenceImageRequest request =
    *       GetReferenceImageRequest.newBuilder()
@@ -2182,6 +2302,8 @@ public final UnaryCallable getReferenc
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ProductSetName name = ProductSetName.of("[PROJECT]", "[LOCATION]", "[PRODUCT_SET]");
    *   ProductName product = ProductName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]");
@@ -2220,6 +2342,8 @@ public final void addProductToProductSet(ProductSetName name, ProductName produc
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ProductSetName name = ProductSetName.of("[PROJECT]", "[LOCATION]", "[PRODUCT_SET]");
    *   String product = ProductName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]").toString();
@@ -2258,6 +2382,8 @@ public final void addProductToProductSet(ProductSetName name, String product) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   String name = ProductSetName.of("[PROJECT]", "[LOCATION]", "[PRODUCT_SET]").toString();
    *   ProductName product = ProductName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]");
@@ -2296,6 +2422,8 @@ public final void addProductToProductSet(String name, ProductName product) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   String name = ProductSetName.of("[PROJECT]", "[LOCATION]", "[PRODUCT_SET]").toString();
    *   String product = ProductName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]").toString();
@@ -2331,6 +2459,8 @@ public final void addProductToProductSet(String name, String product) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   AddProductToProductSetRequest request =
    *       AddProductToProductSetRequest.newBuilder()
@@ -2364,6 +2494,8 @@ public final void addProductToProductSet(AddProductToProductSetRequest request)
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   AddProductToProductSetRequest request =
    *       AddProductToProductSetRequest.newBuilder()
@@ -2395,6 +2527,8 @@ public final void addProductToProductSet(AddProductToProductSetRequest request)
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ProductSetName name = ProductSetName.of("[PROJECT]", "[LOCATION]", "[PRODUCT_SET]");
    *   ProductName product = ProductName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]");
@@ -2430,6 +2564,8 @@ public final void removeProductFromProductSet(ProductSetName name, ProductName p
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ProductSetName name = ProductSetName.of("[PROJECT]", "[LOCATION]", "[PRODUCT_SET]");
    *   String product = ProductName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]").toString();
@@ -2465,6 +2601,8 @@ public final void removeProductFromProductSet(ProductSetName name, String produc
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   String name = ProductSetName.of("[PROJECT]", "[LOCATION]", "[PRODUCT_SET]").toString();
    *   ProductName product = ProductName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]");
@@ -2500,6 +2638,8 @@ public final void removeProductFromProductSet(String name, ProductName product)
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   String name = ProductSetName.of("[PROJECT]", "[LOCATION]", "[PRODUCT_SET]").toString();
    *   String product = ProductName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]").toString();
@@ -2532,6 +2672,8 @@ public final void removeProductFromProductSet(String name, String product) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   RemoveProductFromProductSetRequest request =
    *       RemoveProductFromProductSetRequest.newBuilder()
@@ -2562,6 +2704,8 @@ public final void removeProductFromProductSet(RemoveProductFromProductSetRequest
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   RemoveProductFromProductSetRequest request =
    *       RemoveProductFromProductSetRequest.newBuilder()
@@ -2594,6 +2738,8 @@ public final void removeProductFromProductSet(RemoveProductFromProductSetRequest
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ProductSetName name = ProductSetName.of("[PROJECT]", "[LOCATION]", "[PRODUCT_SET]");
    *   for (Product element : productSearchClient.listProductsInProductSet(name).iterateAll()) {
@@ -2628,6 +2774,8 @@ public final ListProductsInProductSetPagedResponse listProductsInProductSet(Prod
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   String name = ProductSetName.of("[PROJECT]", "[LOCATION]", "[PRODUCT_SET]").toString();
    *   for (Product element : productSearchClient.listProductsInProductSet(name).iterateAll()) {
@@ -2660,6 +2808,8 @@ public final ListProductsInProductSetPagedResponse listProductsInProductSet(Stri
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ListProductsInProductSetRequest request =
    *       ListProductsInProductSetRequest.newBuilder()
@@ -2695,6 +2845,8 @@ public final ListProductsInProductSetPagedResponse listProductsInProductSet(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ListProductsInProductSetRequest request =
    *       ListProductsInProductSetRequest.newBuilder()
@@ -2730,6 +2882,8 @@ public final ListProductsInProductSetPagedResponse listProductsInProductSet(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ListProductsInProductSetRequest request =
    *       ListProductsInProductSetRequest.newBuilder()
@@ -2775,6 +2929,8 @@ public final ListProductsInProductSetPagedResponse listProductsInProductSet(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   ImportProductSetsInputConfig inputConfig = ImportProductSetsInputConfig.newBuilder().build();
@@ -2815,6 +2971,8 @@ public final ListProductsInProductSetPagedResponse listProductsInProductSet(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   ImportProductSetsInputConfig inputConfig = ImportProductSetsInputConfig.newBuilder().build();
@@ -2852,6 +3010,8 @@ public final ListProductsInProductSetPagedResponse listProductsInProductSet(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ImportProductSetsRequest request =
    *       ImportProductSetsRequest.newBuilder()
@@ -2888,6 +3048,8 @@ public final ListProductsInProductSetPagedResponse listProductsInProductSet(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ImportProductSetsRequest request =
    *       ImportProductSetsRequest.newBuilder()
@@ -2924,6 +3086,8 @@ public final ListProductsInProductSetPagedResponse listProductsInProductSet(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ImportProductSetsRequest request =
    *       ImportProductSetsRequest.newBuilder()
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/ProductSearchSettings.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/ProductSearchSettings.java
index 270cd78be..764e236f9 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/ProductSearchSettings.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/ProductSearchSettings.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -58,6 +58,8 @@
  * 

For example, to set the total timeout of createProductSet to 30 seconds: * *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * ProductSearchSettings.Builder productSearchSettingsBuilder = ProductSearchSettings.newBuilder();
  * productSearchSettingsBuilder
  *     .createProductSetSettings()
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/package-info.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/package-info.java
index 1c2e3e291..6d7851c9c 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/package-info.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/package-info.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -26,6 +26,8 @@
  * 

Sample for ImageAnnotatorClient: * *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * try (ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create()) {
  *   List requests = new ArrayList<>();
  *   BatchAnnotateImagesResponse response = imageAnnotatorClient.batchAnnotateImages(requests);
@@ -53,6 +55,8 @@
  * 

Sample for ProductSearchClient: * *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
  *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
  *   ProductSet productSet = ProductSet.newBuilder().build();
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/GrpcImageAnnotatorCallableFactory.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/GrpcImageAnnotatorCallableFactory.java
index 30edde225..2214e27dc 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/GrpcImageAnnotatorCallableFactory.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/GrpcImageAnnotatorCallableFactory.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/GrpcImageAnnotatorStub.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/GrpcImageAnnotatorStub.java
index b4044b61e..53337a430 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/GrpcImageAnnotatorStub.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/GrpcImageAnnotatorStub.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/GrpcProductSearchCallableFactory.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/GrpcProductSearchCallableFactory.java
index 6b66ea32b..decbc368d 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/GrpcProductSearchCallableFactory.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/GrpcProductSearchCallableFactory.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/GrpcProductSearchStub.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/GrpcProductSearchStub.java
index 7943bb7d5..39a9e1a8c 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/GrpcProductSearchStub.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/GrpcProductSearchStub.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/ImageAnnotatorStub.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/ImageAnnotatorStub.java
index 4104a7fd5..72d10aaf3 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/ImageAnnotatorStub.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/ImageAnnotatorStub.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/ImageAnnotatorStubSettings.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/ImageAnnotatorStubSettings.java
index e4dcdd7f1..6da68249a 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/ImageAnnotatorStubSettings.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/ImageAnnotatorStubSettings.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -68,6 +68,8 @@
  * 

For example, to set the total timeout of batchAnnotateImages to 30 seconds: * *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * ImageAnnotatorStubSettings.Builder imageAnnotatorSettingsBuilder =
  *     ImageAnnotatorStubSettings.newBuilder();
  * imageAnnotatorSettingsBuilder
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/ProductSearchStub.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/ProductSearchStub.java
index 45144f509..69750b5d6 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/ProductSearchStub.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/ProductSearchStub.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/ProductSearchStubSettings.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/ProductSearchStubSettings.java
index addfac81e..b9ef95c1c 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/ProductSearchStubSettings.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/ProductSearchStubSettings.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -103,6 +103,8 @@
  * 

For example, to set the total timeout of createProductSet to 30 seconds: * *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * ProductSearchStubSettings.Builder productSearchSettingsBuilder =
  *     ProductSearchStubSettings.newBuilder();
  * productSearchSettingsBuilder
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/ImageAnnotatorClient.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/ImageAnnotatorClient.java
index a6b7f12ee..1cbe52791 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/ImageAnnotatorClient.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/ImageAnnotatorClient.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -40,6 +40,8 @@
  * 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.
  * try (ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create()) {
  *   List requests = new ArrayList<>();
  *   BatchAnnotateImagesResponse response = imageAnnotatorClient.batchAnnotateImages(requests);
@@ -75,6 +77,8 @@
  * 

To customize credentials: * *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * ImageAnnotatorSettings imageAnnotatorSettings =
  *     ImageAnnotatorSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -85,6 +89,8 @@
  * 

To customize the endpoint: * *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * ImageAnnotatorSettings imageAnnotatorSettings =
  *     ImageAnnotatorSettings.newBuilder().setEndpoint(myEndpoint).build();
  * ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create(imageAnnotatorSettings);
@@ -164,6 +170,8 @@ public final OperationsClient getOperationsClient() {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create()) {
    *   List requests = new ArrayList<>();
    *   BatchAnnotateImagesResponse response = imageAnnotatorClient.batchAnnotateImages(requests);
@@ -187,6 +195,8 @@ public final BatchAnnotateImagesResponse batchAnnotateImages(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create()) {
    *   BatchAnnotateImagesRequest request =
    *       BatchAnnotateImagesRequest.newBuilder()
@@ -210,6 +220,8 @@ public final BatchAnnotateImagesResponse batchAnnotateImages(BatchAnnotateImages
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create()) {
    *   BatchAnnotateImagesRequest request =
    *       BatchAnnotateImagesRequest.newBuilder()
@@ -239,6 +251,8 @@ public final BatchAnnotateImagesResponse batchAnnotateImages(BatchAnnotateImages
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create()) {
    *   List requests = new ArrayList<>();
    *   BatchAnnotateFilesResponse response = imageAnnotatorClient.batchAnnotateFiles(requests);
@@ -267,6 +281,8 @@ public final BatchAnnotateFilesResponse batchAnnotateFiles(ListSample code:
    *
    * 
{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create()) {
    *   BatchAnnotateFilesRequest request =
    *       BatchAnnotateFilesRequest.newBuilder()
@@ -295,6 +311,8 @@ public final BatchAnnotateFilesResponse batchAnnotateFiles(BatchAnnotateFilesReq
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create()) {
    *   BatchAnnotateFilesRequest request =
    *       BatchAnnotateFilesRequest.newBuilder()
@@ -326,6 +344,8 @@ public final BatchAnnotateFilesResponse batchAnnotateFiles(BatchAnnotateFilesReq
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create()) {
    *   List requests = new ArrayList<>();
    *   OutputConfig outputConfig = OutputConfig.newBuilder().build();
@@ -363,6 +383,8 @@ public final BatchAnnotateFilesResponse batchAnnotateFiles(BatchAnnotateFilesReq
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create()) {
    *   AsyncBatchAnnotateImagesRequest request =
    *       AsyncBatchAnnotateImagesRequest.newBuilder()
@@ -396,6 +418,8 @@ public final BatchAnnotateFilesResponse batchAnnotateFiles(BatchAnnotateFilesReq
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create()) {
    *   AsyncBatchAnnotateImagesRequest request =
    *       AsyncBatchAnnotateImagesRequest.newBuilder()
@@ -429,6 +453,8 @@ public final BatchAnnotateFilesResponse batchAnnotateFiles(BatchAnnotateFilesReq
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create()) {
    *   AsyncBatchAnnotateImagesRequest request =
    *       AsyncBatchAnnotateImagesRequest.newBuilder()
@@ -458,6 +484,8 @@ public final BatchAnnotateFilesResponse batchAnnotateFiles(BatchAnnotateFilesReq
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create()) {
    *   List requests = new ArrayList<>();
    *   AsyncBatchAnnotateFilesResponse response =
@@ -486,6 +514,8 @@ public final BatchAnnotateFilesResponse batchAnnotateFiles(BatchAnnotateFilesReq
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create()) {
    *   AsyncBatchAnnotateFilesRequest request =
    *       AsyncBatchAnnotateFilesRequest.newBuilder()
@@ -515,6 +545,8 @@ public final BatchAnnotateFilesResponse batchAnnotateFiles(BatchAnnotateFilesReq
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create()) {
    *   AsyncBatchAnnotateFilesRequest request =
    *       AsyncBatchAnnotateFilesRequest.newBuilder()
@@ -544,6 +576,8 @@ public final BatchAnnotateFilesResponse batchAnnotateFiles(BatchAnnotateFilesReq
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create()) {
    *   AsyncBatchAnnotateFilesRequest request =
    *       AsyncBatchAnnotateFilesRequest.newBuilder()
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/ImageAnnotatorSettings.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/ImageAnnotatorSettings.java
index 97a284097..d8c3c3be4 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/ImageAnnotatorSettings.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/ImageAnnotatorSettings.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -51,6 +51,8 @@
  * 

For example, to set the total timeout of batchAnnotateImages to 30 seconds: * *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * ImageAnnotatorSettings.Builder imageAnnotatorSettingsBuilder =
  *     ImageAnnotatorSettings.newBuilder();
  * imageAnnotatorSettingsBuilder
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/ProductSearchClient.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/ProductSearchClient.java
index 3b0f6569e..338b7df34 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/ProductSearchClient.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/ProductSearchClient.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -61,6 +61,8 @@
  * 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.
  * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
  *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
  *   ProductSet productSet = ProductSet.newBuilder().build();
@@ -98,6 +100,8 @@
  * 

To customize credentials: * *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * ProductSearchSettings productSearchSettings =
  *     ProductSearchSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -108,6 +112,8 @@
  * 

To customize the endpoint: * *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * ProductSearchSettings productSearchSettings =
  *     ProductSearchSettings.newBuilder().setEndpoint(myEndpoint).build();
  * ProductSearchClient productSearchClient = ProductSearchClient.create(productSearchSettings);
@@ -193,6 +199,8 @@ public final OperationsClient getOperationsClient() {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   ProductSet productSet = ProductSet.newBuilder().build();
@@ -234,6 +242,8 @@ public final ProductSet createProductSet(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   ProductSet productSet = ProductSet.newBuilder().build();
@@ -275,6 +285,8 @@ public final ProductSet createProductSet(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   CreateProductSetRequest request =
    *       CreateProductSetRequest.newBuilder()
@@ -306,6 +318,8 @@ public final ProductSet createProductSet(CreateProductSetRequest request) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   CreateProductSetRequest request =
    *       CreateProductSetRequest.newBuilder()
@@ -337,6 +351,8 @@ public final UnaryCallable createProductSet
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (ProductSet element : productSearchClient.listProductSets(parent).iterateAll()) {
@@ -370,6 +386,8 @@ public final ListProductSetsPagedResponse listProductSets(LocationName parent) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   for (ProductSet element : productSearchClient.listProductSets(parent).iterateAll()) {
@@ -400,6 +418,8 @@ public final ListProductSetsPagedResponse listProductSets(String parent) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ListProductSetsRequest request =
    *       ListProductSetsRequest.newBuilder()
@@ -433,6 +453,8 @@ public final ListProductSetsPagedResponse listProductSets(ListProductSetsRequest
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ListProductSetsRequest request =
    *       ListProductSetsRequest.newBuilder()
@@ -467,6 +489,8 @@ public final ListProductSetsPagedResponse listProductSets(ListProductSetsRequest
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ListProductSetsRequest request =
    *       ListProductSetsRequest.newBuilder()
@@ -508,6 +532,8 @@ public final ListProductSetsPagedResponse listProductSets(ListProductSetsRequest
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ProductSetName name = ProductSetName.of("[PROJECT]", "[LOCATION]", "[PRODUCT_SET]");
    *   ProductSet response = productSearchClient.getProductSet(name);
@@ -537,6 +563,8 @@ public final ProductSet getProductSet(ProductSetName name) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   String name = ProductSetName.of("[PROJECT]", "[LOCATION]", "[PRODUCT_SET]").toString();
    *   ProductSet response = productSearchClient.getProductSet(name);
@@ -565,6 +593,8 @@ public final ProductSet getProductSet(String name) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   GetProductSetRequest request =
    *       GetProductSetRequest.newBuilder()
@@ -594,6 +624,8 @@ public final ProductSet getProductSet(GetProductSetRequest request) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   GetProductSetRequest request =
    *       GetProductSetRequest.newBuilder()
@@ -625,6 +657,8 @@ public final UnaryCallable getProductSetCallab
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ProductSet productSet = ProductSet.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -662,6 +696,8 @@ public final ProductSet updateProductSet(ProductSet productSet, FieldMask update
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   UpdateProductSetRequest request =
    *       UpdateProductSetRequest.newBuilder()
@@ -694,6 +730,8 @@ public final ProductSet updateProductSet(UpdateProductSetRequest request) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   UpdateProductSetRequest request =
    *       UpdateProductSetRequest.newBuilder()
@@ -721,6 +759,8 @@ public final UnaryCallable updateProductSet
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ProductSetName name = ProductSetName.of("[PROJECT]", "[LOCATION]", "[PRODUCT_SET]");
    *   productSearchClient.deleteProductSet(name);
@@ -747,6 +787,8 @@ public final void deleteProductSet(ProductSetName name) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   String name = ProductSetName.of("[PROJECT]", "[LOCATION]", "[PRODUCT_SET]").toString();
    *   productSearchClient.deleteProductSet(name);
@@ -772,6 +814,8 @@ public final void deleteProductSet(String name) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   DeleteProductSetRequest request =
    *       DeleteProductSetRequest.newBuilder()
@@ -798,6 +842,8 @@ public final void deleteProductSet(DeleteProductSetRequest request) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   DeleteProductSetRequest request =
    *       DeleteProductSetRequest.newBuilder()
@@ -828,6 +874,8 @@ public final UnaryCallable deleteProductSetCalla
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   Product product = Product.newBuilder().build();
@@ -870,6 +918,8 @@ public final Product createProduct(LocationName parent, Product product, String
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   Product product = Product.newBuilder().build();
@@ -912,6 +962,8 @@ public final Product createProduct(String parent, Product product, String produc
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   CreateProductRequest request =
    *       CreateProductRequest.newBuilder()
@@ -945,6 +997,8 @@ public final Product createProduct(CreateProductRequest request) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   CreateProductRequest request =
    *       CreateProductRequest.newBuilder()
@@ -975,6 +1029,8 @@ public final UnaryCallable createProductCallable(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (Product element : productSearchClient.listProducts(parent).iterateAll()) {
@@ -1008,6 +1064,8 @@ public final ListProductsPagedResponse listProducts(LocationName parent) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   for (Product element : productSearchClient.listProducts(parent).iterateAll()) {
@@ -1038,6 +1096,8 @@ public final ListProductsPagedResponse listProducts(String parent) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ListProductsRequest request =
    *       ListProductsRequest.newBuilder()
@@ -1071,6 +1131,8 @@ public final ListProductsPagedResponse listProducts(ListProductsRequest request)
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ListProductsRequest request =
    *       ListProductsRequest.newBuilder()
@@ -1105,6 +1167,8 @@ public final ListProductsPagedResponse listProducts(ListProductsRequest request)
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ListProductsRequest request =
    *       ListProductsRequest.newBuilder()
@@ -1144,6 +1208,8 @@ public final UnaryCallable listProduc
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ProductName name = ProductName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]");
    *   Product response = productSearchClient.getProduct(name);
@@ -1173,6 +1239,8 @@ public final Product getProduct(ProductName name) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   String name = ProductName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]").toString();
    *   Product response = productSearchClient.getProduct(name);
@@ -1201,6 +1269,8 @@ public final Product getProduct(String name) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   GetProductRequest request =
    *       GetProductRequest.newBuilder()
@@ -1230,6 +1300,8 @@ public final Product getProduct(GetProductRequest request) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   GetProductRequest request =
    *       GetProductRequest.newBuilder()
@@ -1267,6 +1339,8 @@ public final UnaryCallable getProductCallable() {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   Product product = Product.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -1309,6 +1383,8 @@ public final Product updateProduct(Product product, FieldMask updateMask) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   UpdateProductRequest request =
    *       UpdateProductRequest.newBuilder()
@@ -1348,6 +1424,8 @@ public final Product updateProduct(UpdateProductRequest request) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   UpdateProductRequest request =
    *       UpdateProductRequest.newBuilder()
@@ -1375,6 +1453,8 @@ public final UnaryCallable updateProductCallable(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ProductName name = ProductName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]");
    *   productSearchClient.deleteProduct(name);
@@ -1402,6 +1482,8 @@ public final void deleteProduct(ProductName name) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   String name = ProductName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]").toString();
    *   productSearchClient.deleteProduct(name);
@@ -1428,6 +1510,8 @@ public final void deleteProduct(String name) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   DeleteProductRequest request =
    *       DeleteProductRequest.newBuilder()
@@ -1455,6 +1539,8 @@ public final void deleteProduct(DeleteProductRequest request) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   DeleteProductRequest request =
    *       DeleteProductRequest.newBuilder()
@@ -1495,6 +1581,8 @@ public final UnaryCallable deleteProductCallable()
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ProductName parent = ProductName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]");
    *   ReferenceImage referenceImage = ReferenceImage.newBuilder().build();
@@ -1550,6 +1638,8 @@ public final ReferenceImage createReferenceImage(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   String parent = ProductName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]").toString();
    *   ReferenceImage referenceImage = ReferenceImage.newBuilder().build();
@@ -1605,6 +1695,8 @@ public final ReferenceImage createReferenceImage(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   CreateReferenceImageRequest request =
    *       CreateReferenceImageRequest.newBuilder()
@@ -1648,6 +1740,8 @@ public final ReferenceImage createReferenceImage(CreateReferenceImageRequest req
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   CreateReferenceImageRequest request =
    *       CreateReferenceImageRequest.newBuilder()
@@ -1679,6 +1773,8 @@ public final ReferenceImage createReferenceImage(CreateReferenceImageRequest req
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ReferenceImageName name =
    *       ReferenceImageName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]", "[REFERENCE_IMAGE]");
@@ -1711,6 +1807,8 @@ public final void deleteReferenceImage(ReferenceImageName name) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   String name =
    *       ReferenceImageName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]", "[REFERENCE_IMAGE]")
@@ -1742,6 +1840,8 @@ public final void deleteReferenceImage(String name) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   DeleteReferenceImageRequest request =
    *       DeleteReferenceImageRequest.newBuilder()
@@ -1772,6 +1872,8 @@ public final void deleteReferenceImage(DeleteReferenceImageRequest request) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   DeleteReferenceImageRequest request =
    *       DeleteReferenceImageRequest.newBuilder()
@@ -1804,6 +1906,8 @@ public final UnaryCallable deleteReferenceIm
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ProductName parent = ProductName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]");
    *   for (ReferenceImage element : productSearchClient.listReferenceImages(parent).iterateAll()) {
@@ -1838,6 +1942,8 @@ public final ListReferenceImagesPagedResponse listReferenceImages(ProductName pa
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   String parent = ProductName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]").toString();
    *   for (ReferenceImage element : productSearchClient.listReferenceImages(parent).iterateAll()) {
@@ -1870,6 +1976,8 @@ public final ListReferenceImagesPagedResponse listReferenceImages(String parent)
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ListReferenceImagesRequest request =
    *       ListReferenceImagesRequest.newBuilder()
@@ -1905,6 +2013,8 @@ public final ListReferenceImagesPagedResponse listReferenceImages(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ListReferenceImagesRequest request =
    *       ListReferenceImagesRequest.newBuilder()
@@ -1940,6 +2050,8 @@ public final ListReferenceImagesPagedResponse listReferenceImages(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ListReferenceImagesRequest request =
    *       ListReferenceImagesRequest.newBuilder()
@@ -1981,6 +2093,8 @@ public final ListReferenceImagesPagedResponse listReferenceImages(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ReferenceImageName name =
    *       ReferenceImageName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]", "[REFERENCE_IMAGE]");
@@ -2014,6 +2128,8 @@ public final ReferenceImage getReferenceImage(ReferenceImageName name) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   String name =
    *       ReferenceImageName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]", "[REFERENCE_IMAGE]")
@@ -2045,6 +2161,8 @@ public final ReferenceImage getReferenceImage(String name) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   GetReferenceImageRequest request =
    *       GetReferenceImageRequest.newBuilder()
@@ -2076,6 +2194,8 @@ public final ReferenceImage getReferenceImage(GetReferenceImageRequest request)
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   GetReferenceImageRequest request =
    *       GetReferenceImageRequest.newBuilder()
@@ -2110,6 +2230,8 @@ public final UnaryCallable getReferenc
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ProductSetName name = ProductSetName.of("[PROJECT]", "[LOCATION]", "[PRODUCT_SET]");
    *   ProductName product = ProductName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]");
@@ -2148,6 +2270,8 @@ public final void addProductToProductSet(ProductSetName name, ProductName produc
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ProductSetName name = ProductSetName.of("[PROJECT]", "[LOCATION]", "[PRODUCT_SET]");
    *   String product = ProductName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]").toString();
@@ -2186,6 +2310,8 @@ public final void addProductToProductSet(ProductSetName name, String product) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   String name = ProductSetName.of("[PROJECT]", "[LOCATION]", "[PRODUCT_SET]").toString();
    *   ProductName product = ProductName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]");
@@ -2224,6 +2350,8 @@ public final void addProductToProductSet(String name, ProductName product) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   String name = ProductSetName.of("[PROJECT]", "[LOCATION]", "[PRODUCT_SET]").toString();
    *   String product = ProductName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]").toString();
@@ -2259,6 +2387,8 @@ public final void addProductToProductSet(String name, String product) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   AddProductToProductSetRequest request =
    *       AddProductToProductSetRequest.newBuilder()
@@ -2292,6 +2422,8 @@ public final void addProductToProductSet(AddProductToProductSetRequest request)
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   AddProductToProductSetRequest request =
    *       AddProductToProductSetRequest.newBuilder()
@@ -2317,6 +2449,8 @@ public final void addProductToProductSet(AddProductToProductSetRequest request)
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ProductSetName name = ProductSetName.of("[PROJECT]", "[LOCATION]", "[PRODUCT_SET]");
    *   ProductName product = ProductName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]");
@@ -2346,6 +2480,8 @@ public final void removeProductFromProductSet(ProductSetName name, ProductName p
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ProductSetName name = ProductSetName.of("[PROJECT]", "[LOCATION]", "[PRODUCT_SET]");
    *   String product = ProductName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]").toString();
@@ -2375,6 +2511,8 @@ public final void removeProductFromProductSet(ProductSetName name, String produc
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   String name = ProductSetName.of("[PROJECT]", "[LOCATION]", "[PRODUCT_SET]").toString();
    *   ProductName product = ProductName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]");
@@ -2404,6 +2542,8 @@ public final void removeProductFromProductSet(String name, ProductName product)
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   String name = ProductSetName.of("[PROJECT]", "[LOCATION]", "[PRODUCT_SET]").toString();
    *   String product = ProductName.of("[PROJECT]", "[LOCATION]", "[PRODUCT]").toString();
@@ -2430,6 +2570,8 @@ public final void removeProductFromProductSet(String name, String product) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   RemoveProductFromProductSetRequest request =
    *       RemoveProductFromProductSetRequest.newBuilder()
@@ -2454,6 +2596,8 @@ public final void removeProductFromProductSet(RemoveProductFromProductSetRequest
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   RemoveProductFromProductSetRequest request =
    *       RemoveProductFromProductSetRequest.newBuilder()
@@ -2486,6 +2630,8 @@ public final void removeProductFromProductSet(RemoveProductFromProductSetRequest
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ProductSetName name = ProductSetName.of("[PROJECT]", "[LOCATION]", "[PRODUCT_SET]");
    *   for (Product element : productSearchClient.listProductsInProductSet(name).iterateAll()) {
@@ -2520,6 +2666,8 @@ public final ListProductsInProductSetPagedResponse listProductsInProductSet(Prod
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   String name = ProductSetName.of("[PROJECT]", "[LOCATION]", "[PRODUCT_SET]").toString();
    *   for (Product element : productSearchClient.listProductsInProductSet(name).iterateAll()) {
@@ -2552,6 +2700,8 @@ public final ListProductsInProductSetPagedResponse listProductsInProductSet(Stri
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ListProductsInProductSetRequest request =
    *       ListProductsInProductSetRequest.newBuilder()
@@ -2587,6 +2737,8 @@ public final ListProductsInProductSetPagedResponse listProductsInProductSet(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ListProductsInProductSetRequest request =
    *       ListProductsInProductSetRequest.newBuilder()
@@ -2622,6 +2774,8 @@ public final ListProductsInProductSetPagedResponse listProductsInProductSet(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ListProductsInProductSetRequest request =
    *       ListProductsInProductSetRequest.newBuilder()
@@ -2667,6 +2821,8 @@ public final ListProductsInProductSetPagedResponse listProductsInProductSet(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   ImportProductSetsInputConfig inputConfig = ImportProductSetsInputConfig.newBuilder().build();
@@ -2707,6 +2863,8 @@ public final ListProductsInProductSetPagedResponse listProductsInProductSet(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   ImportProductSetsInputConfig inputConfig = ImportProductSetsInputConfig.newBuilder().build();
@@ -2744,6 +2902,8 @@ public final ListProductsInProductSetPagedResponse listProductsInProductSet(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ImportProductSetsRequest request =
    *       ImportProductSetsRequest.newBuilder()
@@ -2780,6 +2940,8 @@ public final ListProductsInProductSetPagedResponse listProductsInProductSet(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ImportProductSetsRequest request =
    *       ImportProductSetsRequest.newBuilder()
@@ -2816,6 +2978,8 @@ public final ListProductsInProductSetPagedResponse listProductsInProductSet(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   ImportProductSetsRequest request =
    *       ImportProductSetsRequest.newBuilder()
@@ -2861,6 +3025,8 @@ public final UnaryCallable importProductSet
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   productSearchClient.purgeProductsAsync(parent).get();
@@ -2908,6 +3074,8 @@ public final OperationFuture purgeProductsAsync(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   productSearchClient.purgeProductsAsync(parent).get();
@@ -2951,6 +3119,8 @@ public final OperationFuture purgeProductsAsync(S
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   PurgeProductsRequest request =
    *       PurgeProductsRequest.newBuilder()
@@ -2997,6 +3167,8 @@ public final OperationFuture purgeProductsAsync(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   PurgeProductsRequest request =
    *       PurgeProductsRequest.newBuilder()
@@ -3043,6 +3215,8 @@ public final OperationFuture purgeProductsAsync(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
    *   PurgeProductsRequest request =
    *       PurgeProductsRequest.newBuilder()
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/ProductSearchSettings.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/ProductSearchSettings.java
index e0ec4a1cf..a10d1467d 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/ProductSearchSettings.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/ProductSearchSettings.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -58,6 +58,8 @@
  * 

For example, to set the total timeout of createProductSet to 30 seconds: * *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * ProductSearchSettings.Builder productSearchSettingsBuilder = ProductSearchSettings.newBuilder();
  * productSearchSettingsBuilder
  *     .createProductSetSettings()
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/package-info.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/package-info.java
index 812a58d89..a9710a497 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/package-info.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/package-info.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -26,6 +26,8 @@
  * 

Sample for ImageAnnotatorClient: * *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * try (ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create()) {
  *   List requests = new ArrayList<>();
  *   BatchAnnotateImagesResponse response = imageAnnotatorClient.batchAnnotateImages(requests);
@@ -53,6 +55,8 @@
  * 

Sample for ProductSearchClient: * *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
  *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
  *   ProductSet productSet = ProductSet.newBuilder().build();
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/GrpcImageAnnotatorCallableFactory.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/GrpcImageAnnotatorCallableFactory.java
index 98dd531db..26ba519ad 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/GrpcImageAnnotatorCallableFactory.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/GrpcImageAnnotatorCallableFactory.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/GrpcImageAnnotatorStub.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/GrpcImageAnnotatorStub.java
index 180a7ac35..9d45f0e21 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/GrpcImageAnnotatorStub.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/GrpcImageAnnotatorStub.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/GrpcProductSearchCallableFactory.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/GrpcProductSearchCallableFactory.java
index 0921c6c1d..5e932b470 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/GrpcProductSearchCallableFactory.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/GrpcProductSearchCallableFactory.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/GrpcProductSearchStub.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/GrpcProductSearchStub.java
index 6e85bd3b4..9a5a84155 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/GrpcProductSearchStub.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/GrpcProductSearchStub.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/ImageAnnotatorStub.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/ImageAnnotatorStub.java
index b859c65f2..80cadb04e 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/ImageAnnotatorStub.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/ImageAnnotatorStub.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/ImageAnnotatorStubSettings.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/ImageAnnotatorStubSettings.java
index 38ed9ba4b..25c2382d9 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/ImageAnnotatorStubSettings.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/ImageAnnotatorStubSettings.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -72,6 +72,8 @@
  * 

For example, to set the total timeout of batchAnnotateImages to 30 seconds: * *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * ImageAnnotatorStubSettings.Builder imageAnnotatorSettingsBuilder =
  *     ImageAnnotatorStubSettings.newBuilder();
  * imageAnnotatorSettingsBuilder
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/ProductSearchStub.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/ProductSearchStub.java
index 67f9e73ab..6ddf672e9 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/ProductSearchStub.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/ProductSearchStub.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/ProductSearchStubSettings.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/ProductSearchStubSettings.java
index d728d4dfc..df9a0200c 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/ProductSearchStubSettings.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/ProductSearchStubSettings.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -104,6 +104,8 @@
  * 

For example, to set the total timeout of createProductSet to 30 seconds: * *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * ProductSearchStubSettings.Builder productSearchSettingsBuilder =
  *     ProductSearchStubSettings.newBuilder();
  * productSearchSettingsBuilder
diff --git a/google-cloud-vision/src/test/java/com/google/cloud/vision/it/ITSystemTest.java b/google-cloud-vision/src/test/java/com/google/cloud/vision/it/ITSystemTest.java
index a192985fa..9ba1ee404 100644
--- a/google-cloud-vision/src/test/java/com/google/cloud/vision/it/ITSystemTest.java
+++ b/google-cloud-vision/src/test/java/com/google/cloud/vision/it/ITSystemTest.java
@@ -406,7 +406,8 @@ public void detectTextGcsTest() throws IOException {
         actual.add(annotation.getDescription());
       }
     }
-    assertThat(actual).contains("37%");
+    String joinedActual = String.join(" ", actual);
+    assertThat(joinedActual).contains("37%");
   }
 
   @Test
diff --git a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1/ImageAnnotatorClientTest.java b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1/ImageAnnotatorClientTest.java
index e864ef026..717684683 100644
--- a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1/ImageAnnotatorClientTest.java
+++ b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1/ImageAnnotatorClientTest.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1/MockImageAnnotator.java b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1/MockImageAnnotator.java
index 913aba5c0..2d54e6ee4 100644
--- a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1/MockImageAnnotator.java
+++ b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1/MockImageAnnotator.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1/MockImageAnnotatorImpl.java b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1/MockImageAnnotatorImpl.java
index e096e6c52..5499e1012 100644
--- a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1/MockImageAnnotatorImpl.java
+++ b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1/MockImageAnnotatorImpl.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1/MockProductSearch.java b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1/MockProductSearch.java
index fb6ab9b93..2afc19424 100644
--- a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1/MockProductSearch.java
+++ b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1/MockProductSearch.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1/MockProductSearchImpl.java b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1/MockProductSearchImpl.java
index b825ac50b..671446daf 100644
--- a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1/MockProductSearchImpl.java
+++ b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1/MockProductSearchImpl.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1/ProductSearchClientTest.java b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1/ProductSearchClientTest.java
index 2048c3242..aa5c5ef77 100644
--- a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1/ProductSearchClientTest.java
+++ b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1/ProductSearchClientTest.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p1beta1/ImageAnnotatorClientTest.java b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p1beta1/ImageAnnotatorClientTest.java
index 68df8730c..36cd957d5 100644
--- a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p1beta1/ImageAnnotatorClientTest.java
+++ b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p1beta1/ImageAnnotatorClientTest.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p1beta1/MockImageAnnotator.java b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p1beta1/MockImageAnnotator.java
index 67b7a8b70..36198f91c 100644
--- a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p1beta1/MockImageAnnotator.java
+++ b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p1beta1/MockImageAnnotator.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p1beta1/MockImageAnnotatorImpl.java b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p1beta1/MockImageAnnotatorImpl.java
index 0d7ff9d86..7fc0ebc2c 100644
--- a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p1beta1/MockImageAnnotatorImpl.java
+++ b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p1beta1/MockImageAnnotatorImpl.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p2beta1/ImageAnnotatorClientTest.java b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p2beta1/ImageAnnotatorClientTest.java
index 4f92f29ec..fccfdc12e 100644
--- a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p2beta1/ImageAnnotatorClientTest.java
+++ b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p2beta1/ImageAnnotatorClientTest.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p2beta1/MockImageAnnotator.java b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p2beta1/MockImageAnnotator.java
index d4102078c..6f72a4b50 100644
--- a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p2beta1/MockImageAnnotator.java
+++ b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p2beta1/MockImageAnnotator.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p2beta1/MockImageAnnotatorImpl.java b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p2beta1/MockImageAnnotatorImpl.java
index 77556fa83..cc30e9f33 100644
--- a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p2beta1/MockImageAnnotatorImpl.java
+++ b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p2beta1/MockImageAnnotatorImpl.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p3beta1/ImageAnnotatorClientTest.java b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p3beta1/ImageAnnotatorClientTest.java
index dc9dd9760..1e89677df 100644
--- a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p3beta1/ImageAnnotatorClientTest.java
+++ b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p3beta1/ImageAnnotatorClientTest.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p3beta1/MockImageAnnotator.java b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p3beta1/MockImageAnnotator.java
index b51f90776..acabae859 100644
--- a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p3beta1/MockImageAnnotator.java
+++ b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p3beta1/MockImageAnnotator.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p3beta1/MockImageAnnotatorImpl.java b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p3beta1/MockImageAnnotatorImpl.java
index 7d1fcc610..ba0aa26d8 100644
--- a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p3beta1/MockImageAnnotatorImpl.java
+++ b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p3beta1/MockImageAnnotatorImpl.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p3beta1/MockProductSearch.java b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p3beta1/MockProductSearch.java
index 5f832b231..8deddbde0 100644
--- a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p3beta1/MockProductSearch.java
+++ b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p3beta1/MockProductSearch.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p3beta1/MockProductSearchImpl.java b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p3beta1/MockProductSearchImpl.java
index 25116ad2c..bc2df0d7c 100644
--- a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p3beta1/MockProductSearchImpl.java
+++ b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p3beta1/MockProductSearchImpl.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p3beta1/ProductSearchClientTest.java b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p3beta1/ProductSearchClientTest.java
index 2bf37f5e5..193e7cdf6 100644
--- a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p3beta1/ProductSearchClientTest.java
+++ b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p3beta1/ProductSearchClientTest.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p4beta1/ImageAnnotatorClientTest.java b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p4beta1/ImageAnnotatorClientTest.java
index 0b2261d90..16f2ea5fe 100644
--- a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p4beta1/ImageAnnotatorClientTest.java
+++ b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p4beta1/ImageAnnotatorClientTest.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p4beta1/MockImageAnnotator.java b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p4beta1/MockImageAnnotator.java
index c412d081f..248837fa2 100644
--- a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p4beta1/MockImageAnnotator.java
+++ b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p4beta1/MockImageAnnotator.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p4beta1/MockImageAnnotatorImpl.java b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p4beta1/MockImageAnnotatorImpl.java
index 8014998b1..269328329 100644
--- a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p4beta1/MockImageAnnotatorImpl.java
+++ b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p4beta1/MockImageAnnotatorImpl.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p4beta1/MockProductSearch.java b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p4beta1/MockProductSearch.java
index 1c7667830..413b7f2e3 100644
--- a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p4beta1/MockProductSearch.java
+++ b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p4beta1/MockProductSearch.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p4beta1/MockProductSearchImpl.java b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p4beta1/MockProductSearchImpl.java
index 2e99a7bdc..0321f0f58 100644
--- a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p4beta1/MockProductSearchImpl.java
+++ b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p4beta1/MockProductSearchImpl.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p4beta1/ProductSearchClientTest.java b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p4beta1/ProductSearchClientTest.java
index 6984105d3..19e7c7c38 100644
--- a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p4beta1/ProductSearchClientTest.java
+++ b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p4beta1/ProductSearchClientTest.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/grpc-google-cloud-vision-v1/pom.xml b/grpc-google-cloud-vision-v1/pom.xml
index 0ce42988f..cfa260894 100644
--- a/grpc-google-cloud-vision-v1/pom.xml
+++ b/grpc-google-cloud-vision-v1/pom.xml
@@ -4,13 +4,13 @@
   4.0.0
   com.google.api.grpc
   grpc-google-cloud-vision-v1
-  2.0.29
+  2.1.0
   grpc-google-cloud-vision-v1
   GRPC library for grpc-google-cloud-vision-v1
   
     com.google.cloud
     google-cloud-vision-parent
-    2.0.29
+    2.1.0
   
   
     
diff --git a/grpc-google-cloud-vision-v1p1beta1/pom.xml b/grpc-google-cloud-vision-v1p1beta1/pom.xml
index f30a1b9c8..c76611005 100644
--- a/grpc-google-cloud-vision-v1p1beta1/pom.xml
+++ b/grpc-google-cloud-vision-v1p1beta1/pom.xml
@@ -4,13 +4,13 @@
   4.0.0
   com.google.api.grpc
   grpc-google-cloud-vision-v1p1beta1
-  0.87.29
+  0.88.0
   grpc-google-cloud-vision-v1p1beta1
   GRPC library for grpc-google-cloud-vision-v1p1beta1
   
     com.google.cloud
     google-cloud-vision-parent
-    2.0.29
+    2.1.0
   
   
     
diff --git a/grpc-google-cloud-vision-v1p2beta1/pom.xml b/grpc-google-cloud-vision-v1p2beta1/pom.xml
index 4d7255ecf..9faa755f4 100644
--- a/grpc-google-cloud-vision-v1p2beta1/pom.xml
+++ b/grpc-google-cloud-vision-v1p2beta1/pom.xml
@@ -4,13 +4,13 @@
   4.0.0
   com.google.api.grpc
   grpc-google-cloud-vision-v1p2beta1
-  2.0.29
+  2.1.0
   grpc-google-cloud-vision-v1p2beta1
   GRPC library for grpc-google-cloud-vision-v1p2beta1
   
     com.google.cloud
     google-cloud-vision-parent
-    2.0.29
+    2.1.0
   
   
     
diff --git a/grpc-google-cloud-vision-v1p3beta1/pom.xml b/grpc-google-cloud-vision-v1p3beta1/pom.xml
index 85190b91f..334deb7a0 100644
--- a/grpc-google-cloud-vision-v1p3beta1/pom.xml
+++ b/grpc-google-cloud-vision-v1p3beta1/pom.xml
@@ -4,13 +4,13 @@
   4.0.0
   com.google.api.grpc
   grpc-google-cloud-vision-v1p3beta1
-  0.87.29
+  0.88.0
   grpc-google-cloud-vision-v1p3beta1
   GRPC library for grpc-google-cloud-vision-v1p3beta1
   
     com.google.cloud
     google-cloud-vision-parent
-    2.0.29
+    2.1.0
   
   
     
diff --git a/grpc-google-cloud-vision-v1p4beta1/pom.xml b/grpc-google-cloud-vision-v1p4beta1/pom.xml
index faa240052..8febeeaee 100644
--- a/grpc-google-cloud-vision-v1p4beta1/pom.xml
+++ b/grpc-google-cloud-vision-v1p4beta1/pom.xml
@@ -4,13 +4,13 @@
   4.0.0
   com.google.api.grpc
   grpc-google-cloud-vision-v1p4beta1
-  0.87.29
+  0.88.0
   grpc-google-cloud-vision-v1p4beta1
   GRPC library for grpc-google-cloud-vision-v1p4beta1
   
     com.google.cloud
     google-cloud-vision-parent
-    2.0.29
+    2.1.0
   
   
     
diff --git a/owlbot.py b/owlbot.py
index 91cdc5eee..e1009a43a 100644
--- a/owlbot.py
+++ b/owlbot.py
@@ -231,4 +231,6 @@
     s.move(library)
 
 s.remove_staging_dirs()
-java.common_templates()
+java.common_templates(excludes=[
+    '.kokoro/nightly/integration.cfg'
+])
diff --git a/pom.xml b/pom.xml
index 7610b576e..8038b1345 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
   com.google.cloud
   google-cloud-vision-parent
   pom
-  2.0.29
+  2.1.0
   Google Cloud Vision Parent
   https://github.com/googleapis/java-vision
   
@@ -14,7 +14,7 @@
   
     com.google.cloud
     google-cloud-shared-config
-    1.3.3
+    1.4.0
   
 
   
@@ -61,63 +61,63 @@
       
         com.google.api.grpc
         proto-google-cloud-vision-v1p4beta1
-        0.87.29
+        0.88.0
       
       
         com.google.api.grpc
         proto-google-cloud-vision-v1
-        2.0.29
+        2.1.0
       
       
         com.google.api.grpc
         proto-google-cloud-vision-v1p1beta1
-        0.87.29
+        0.88.0
       
       
         com.google.api.grpc
         proto-google-cloud-vision-v1p3beta1
-        0.87.29
+        0.88.0
       
       
         com.google.api.grpc
         proto-google-cloud-vision-v1p2beta1
-        2.0.29
+        2.1.0
       
       
         com.google.api.grpc
         grpc-google-cloud-vision-v1p3beta1
-        0.87.29
+        0.88.0
       
       
         com.google.api.grpc
         grpc-google-cloud-vision-v1p1beta1
-        0.87.29
+        0.88.0
       
       
         com.google.api.grpc
         grpc-google-cloud-vision-v1p4beta1
-        0.87.29
+        0.88.0
       
       
         com.google.api.grpc
         grpc-google-cloud-vision-v1p2beta1
-        2.0.29
+        2.1.0
       
       
         com.google.api.grpc
         grpc-google-cloud-vision-v1
-        2.0.29
+        2.1.0
       
       
         com.google.cloud
         google-cloud-vision
-        2.0.29
+        2.1.0
       
 
       
         com.google.cloud
         google-cloud-shared-dependencies
-        2.10.0
+        2.12.0
         pom
         import
       
@@ -167,7 +167,7 @@
       
         org.apache.maven.plugins
         maven-project-info-reports-plugin
-        3.2.2
+        3.3.0
         
           
             
diff --git a/proto-google-cloud-vision-v1/pom.xml b/proto-google-cloud-vision-v1/pom.xml
index 815173ddd..98697bf5e 100644
--- a/proto-google-cloud-vision-v1/pom.xml
+++ b/proto-google-cloud-vision-v1/pom.xml
@@ -4,13 +4,13 @@
   4.0.0
   com.google.api.grpc
   proto-google-cloud-vision-v1
-  2.0.29
+  2.1.0
   proto-google-cloud-vision-v1
   PROTO library for proto-google-cloud-vision-v1
   
     com.google.cloud
     google-cloud-vision-parent
-    2.0.29
+    2.1.0
   
   
     
diff --git a/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/LocationName.java b/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/LocationName.java
index 754cb4eb3..9cfc157d8 100644
--- a/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/LocationName.java
+++ b/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/LocationName.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ProductName.java b/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ProductName.java
index 15c7a05ec..08d513840 100644
--- a/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ProductName.java
+++ b/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ProductName.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ProductSetName.java b/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ProductSetName.java
index a453c9424..50c2e485a 100644
--- a/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ProductSetName.java
+++ b/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ProductSetName.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ReferenceImageName.java b/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ReferenceImageName.java
index 7441563bd..de1c28eba 100644
--- a/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ReferenceImageName.java
+++ b/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ReferenceImageName.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-vision-v1p1beta1/pom.xml b/proto-google-cloud-vision-v1p1beta1/pom.xml
index cabcecf91..2984efee7 100644
--- a/proto-google-cloud-vision-v1p1beta1/pom.xml
+++ b/proto-google-cloud-vision-v1p1beta1/pom.xml
@@ -4,13 +4,13 @@
   4.0.0
   com.google.api.grpc
   proto-google-cloud-vision-v1p1beta1
-  0.87.29
+  0.88.0
   proto-google-cloud-vision-v1p1beta1
   PROTO library for proto-google-cloud-vision-v1p1beta1
   
     com.google.cloud
     google-cloud-vision-parent
-    2.0.29
+    2.1.0
   
   
     
diff --git a/proto-google-cloud-vision-v1p2beta1/pom.xml b/proto-google-cloud-vision-v1p2beta1/pom.xml
index de533f003..817850814 100644
--- a/proto-google-cloud-vision-v1p2beta1/pom.xml
+++ b/proto-google-cloud-vision-v1p2beta1/pom.xml
@@ -4,13 +4,13 @@
   4.0.0
   com.google.api.grpc
   proto-google-cloud-vision-v1p2beta1
-  2.0.29
+  2.1.0
   proto-google-cloud-vision-v1p2beta1
   PROTO library for proto-google-cloud-vision-v1p2beta1
   
     com.google.cloud
     google-cloud-vision-parent
-    2.0.29
+    2.1.0
   
   
     
diff --git a/proto-google-cloud-vision-v1p3beta1/pom.xml b/proto-google-cloud-vision-v1p3beta1/pom.xml
index ee5e93106..d510e1ccd 100644
--- a/proto-google-cloud-vision-v1p3beta1/pom.xml
+++ b/proto-google-cloud-vision-v1p3beta1/pom.xml
@@ -4,13 +4,13 @@
   4.0.0
   com.google.api.grpc
   proto-google-cloud-vision-v1p3beta1
-  0.87.29
+  0.88.0
   proto-google-cloud-vision-v1p3beta1
   PROTO library for proto-google-cloud-vision-v1p3beta1
   
     com.google.cloud
     google-cloud-vision-parent
-    2.0.29
+    2.1.0
   
   
     
diff --git a/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/LocationName.java b/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/LocationName.java
index 626ab809b..889a41418 100644
--- a/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/LocationName.java
+++ b/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/LocationName.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ProductName.java b/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ProductName.java
index 5493be79a..430d421ed 100644
--- a/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ProductName.java
+++ b/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ProductName.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ProductSetName.java b/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ProductSetName.java
index b971dd686..799c706cd 100644
--- a/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ProductSetName.java
+++ b/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ProductSetName.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ReferenceImageName.java b/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ReferenceImageName.java
index 496c67f46..564f1e0f1 100644
--- a/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ReferenceImageName.java
+++ b/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ReferenceImageName.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-vision-v1p4beta1/pom.xml b/proto-google-cloud-vision-v1p4beta1/pom.xml
index b96cd9373..35d06fb3a 100644
--- a/proto-google-cloud-vision-v1p4beta1/pom.xml
+++ b/proto-google-cloud-vision-v1p4beta1/pom.xml
@@ -4,13 +4,13 @@
   4.0.0
   com.google.api.grpc
   proto-google-cloud-vision-v1p4beta1
-  0.87.29
+  0.88.0
   proto-google-cloud-vision-v1p4beta1
   PROTO library for proto-google-cloud-vision-v1p4beta1
   
     com.google.cloud
     google-cloud-vision-parent
-    2.0.29
+    2.1.0
   
   
     
diff --git a/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/LocationName.java b/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/LocationName.java
index 98e184d90..be3765fca 100644
--- a/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/LocationName.java
+++ b/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/LocationName.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/ProductName.java b/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/ProductName.java
index 9e6901f97..d20b0dcba 100644
--- a/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/ProductName.java
+++ b/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/ProductName.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/ProductSetName.java b/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/ProductSetName.java
index 02c3696a4..0323799a1 100644
--- a/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/ProductSetName.java
+++ b/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/ProductSetName.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/ReferenceImageName.java b/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/ReferenceImageName.java
index e552c461d..23f38e21c 100644
--- a/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/ReferenceImageName.java
+++ b/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/ReferenceImageName.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml
index e016d943d..ef72216fd 100644
--- a/samples/install-without-bom/pom.xml
+++ b/samples/install-without-bom/pom.xml
@@ -29,7 +29,7 @@
     
       com.google.cloud
       google-cloud-vision
-      2.0.28
+      2.0.29
     
     
     
@@ -62,7 +62,7 @@
     
       com.google.cloud
       google-cloud-core
-      2.6.1
+      2.7.1
       test
       tests
     
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index 3540e78c5..c05131c20 100644
--- a/samples/snapshot/pom.xml
+++ b/samples/snapshot/pom.xml
@@ -29,7 +29,7 @@
     
       com.google.cloud
       google-cloud-vision
-      2.0.29
+      2.1.0
     
     
     
@@ -62,7 +62,7 @@
     
       com.google.cloud
       google-cloud-core
-      2.6.1
+      2.7.1
       test
       tests
     
diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml
index eefe00f68..553b977b0 100644
--- a/samples/snippets/pom.xml
+++ b/samples/snippets/pom.xml
@@ -30,7 +30,7 @@
       
         com.google.cloud
         libraries-bom
-        25.2.0
+        25.3.0
         pom
         import
       
@@ -66,7 +66,7 @@
     
       com.google.cloud
       google-cloud-core
-      2.6.1
+      2.7.1
       test
       tests
     
diff --git a/samples/spring-framework/pom.xml b/samples/spring-framework/pom.xml
index 4812af151..37c4cb6ab 100644
--- a/samples/spring-framework/pom.xml
+++ b/samples/spring-framework/pom.xml
@@ -19,7 +19,7 @@ limitations under the License.
   
     1.8
     1.8
-    2.6.7
+    2.7.0